Hi I am running the following code to remove indexes, if there is no index
with the specified pattern, a shield enabled cluster throws an exception.
To my opinion I have marked the options in a way that this should not
happen. If I use the same code on a cluster without shield enabled,
everything works fine.
Indeed with shield the behaviour of the cluster when it comes to wildcards
is a bit different. While with vanilla elasticsearch, we expand wildcards
based on the index options, with shield we take the security context into
account and only expand to those indices the user has privileges on. see:
and
On Thursday, March 5, 2015 at 12:41:50 PM UTC+1, Jettro Coenradie wrote:
Hi I am running the following code to remove indexes, if there is no index
with the specified pattern, a shield enabled cluster throws an exception.
To my opinion I have marked the options in a way that this should not
happen. If I use the same code on a cluster without shield enabled,
everything works fine.
Elasticsearch clusters with the Shield security plugin installed do not
honor the ignore_unavailable option.
Op donderdag 5 maart 2015 13:18:37 UTC+1 schreef uboness:
Hey Jettro,
Indeed with shield the behaviour of the cluster when it comes to wildcards
is a bit different. While with vanilla elasticsearch, we expand wildcards
based on the index options, with shield we take the security context into
account and only expand to those indices the user has privileges on. see:
On Thursday, March 5, 2015 at 12:41:50 PM UTC+1, Jettro Coenradie wrote:
Hi I am running the following code to remove indexes, if there is no
index with the specified pattern, a shield enabled cluster throws an
exception. To my opinion I have marked the options in a way that this
should not happen. If I use the same code on a cluster without shield
enabled, everything works fine.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.