Reallocating unassigned shards might solve the following situations:
...
Code Block |
---|
/app/scripts/realloc_shards.sh MonTieMonTier-es-raw-trans-Node-2 |
This operation may take a while, depending on your installation and the amount of data. Refreshing the screen in "head" application (available from Store page) will show up-to-date state of the assigned and unassigned shards.
...
Code Block |
---|
Reallocation node: MonTier-es-raw-trans-Node-2 Testing index 0;wdp-wsm_i2 About to reallocate. index=wdp-wsm_i2, shard=0, node=MonTier-es-raw-trans-Node-2 Reallocation http response status is: 200, output={"acknowledged":true,"state":{"version": Testing index 1;wdp-syslog-sys-errorauth_i14i1 About to reallocate. index=wdp-syslog-sys-errorauth_i14i1, shard=1, node=MonTier-es-raw-trans-Node-2 Reallocation returnhttp response codestatus is : 0200, output={"acknowledged":true,"state":{"version":882,"state Testing index 12;wdpsystem-sysloghealth_i260i1 About to reallocate. index=wdpsystem-sysloghealth_i260i1, shard=12, node=MonTier-es-raw-trans-Node-2 Reallocation http returnresponse codestatus is : 0200, output={"acknowledged":true,"state":{"version":884,"state Testing index 10;wdpsystem-service-resourceshealth_i5i1 About to reallocate. index=wdpsystem-service-resourceshealth_i5i1, shard=10, node=MonTier-es-raw-trans-Node-2 Reallocation returnhttp response codestatus is : 0200, output={"acknowledged":true,"state":{"version":886,"state: ... |
Below is an example of a unsuccessful execution:
Code Block |
---|
Reallocation node: MonTier-es-raw-trans-Node-5 Testing index 1;internal-operations0;wdp-syslog-sys-auth_i6 About to reallocate. index=internal-operationswdp-syslog-sys-auth_i6, shard=10, node=MonTier-es-raw-trans-Node-25 Reallocation http returnresponse codestatus is: 400, output={"error":{"root_cause":[{"type":"remote_ Testing index 0;wdp-syslog-sys-auth_i3 About to reallocate. index=wdp-syslog-sys-auth_i3, shard=0, node=MonTier-es-raw-trans-Node-5 Reallocation http response status is: 400, output={"acknowledgederror":true,"state{"root_cause":[{"versiontype":888,"stateremote_ Testing index 1;logical-tran-compactfull_i16i1 About to reallocate. index=logical-tran-compact_i16full_i1, shard=1, node=MonTier-es-raw-trans-Node-5 Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_ Testing index 1;wdp-config-service_i1 About to reallocate. index=wdp-config-service_i1, shard=1, node=MonTier-es-raw-trans-Node-25 Reallocation http response status is: 400, output={"error":{"root_cause":[{"type":"remote_ ... |