Java.lang.IllegalStateExceptionのエラーがでます


(HG) #1

mac 10.10.5
yosemite

java version "1.8.0_66"

にてコンソール上から
elasticsearchを起動したところ、以下のようなログが大量に出力されます。

エラー内容でググッてみたりしたのですが解決しなかったため、質問させて頂きます。

また、これが原因かどうかわかりませんが以下のサイトを参照し、インストールしたMarvelのローカルサーバーにアクセスできませんでした。

お手数ですが、宜しくお願いします。

$ elasticsearch
[2016-01-14 01:03:11,286][INFO ][node                     ] [Aragorn] version[2.0.0], pid[33527], build[de54438/2015-10-22T08:09:48Z]
[2016-01-14 01:03:11,287][INFO ][node                     ] [Aragorn] initializing ...
[2016-01-14 01:03:11,569][INFO ][plugins                  ] [Aragorn] loaded [license, marvel], sites []
[2016-01-14 01:03:11,613][INFO ][env                      ] [Aragorn] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [37.4gb], net total_space [111.8gb], spins? [unknown], types [hfs]
[2016-01-14 01:03:13,916][INFO ][node                     ] [Aragorn] initialized
[2016-01-14 01:03:13,916][INFO ][node                     ] [Aragorn] starting ...
[2016-01-14 01:03:14,009][INFO ][transport                ] [Aragorn] publish_address {127.0.0.1:9302}, bound_addresses {127.0.0.1:9302}, {[fe80::1]:9302}, {[::1]:9302}
[2016-01-14 01:03:14,021][INFO ][discovery                ] [Aragorn] elasticsearch_ryouhasegawa/foTBH-NKTFiXdKpzQAROMg
[2016-01-14 01:03:17,116][INFO ][cluster.service          ] [Aragorn] detected_master {Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}, added {{Uncle Ben Parker}{uDRvYDKpRbKKtEIF28b3dg}{127.0.0.1}{127.0.0.1:9300},{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301},}, reason: zen-disco-receive(from master [{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}])
[2016-01-14 01:03:17,139][INFO ][discovery.zen            ] [Aragorn] master_left [{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}], reason [transport disconnected]
[2016-01-14 01:03:17,141][INFO ][discovery.zen            ] [Aragorn] failed to send join request to master [{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}], reason [NodeDisconnectedException[[Elathan][127.0.0.1:9301][internal:discovery/zen/join] disconnected]]
[2016-01-14 01:03:17,204][WARN ][discovery.zen            ] [Aragorn] master left (reason = transport disconnected), current nodes: {{Aragorn}{foTBH-NKTFiXdKpzQAROMg}{127.0.0.1}{127.0.0.1:9302},{Uncle Ben Parker}{uDRvYDKpRbKKtEIF28b3dg}{127.0.0.1}{127.0.0.1:9300},}
[2016-01-14 01:03:17,208][INFO ][cluster.service          ] [Aragorn] removed {{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301},}, reason: zen-disco-master_failed ({Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301})
[2016-01-14 01:03:17,211][WARN ][cluster.service          ] [Aragorn] failed to notify ClusterStateListener
java.lang.IllegalStateException: master not available when registering auto-generated license
	at org.elasticsearch.license.plugin.core.LicensesService.requestTrialLicense(LicensesService.java:752)
	at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:486)
	at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:494)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:225)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:188)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2016-01-14 01:03:17,211][INFO ][http                     ] [Aragorn] publish_address {127.0.0.1:9202}, bound_addresses {127.0.0.1:9202}, {[fe80::1]:9202}, {[::1]:9202}
[2016-01-14 01:03:17,217][INFO ][node                     ] [Aragorn] started
[2016-01-14 01:03:17,276][INFO ][cluster.service          ] [Aragorn] detected_master {Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}, added {{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301},}, reason: zen-disco-receive(from master [{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}])
[2016-01-14 01:03:17,721][INFO ][discovery.zen            ] [Aragorn] master_left [{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301}], reason [transport disconnected]
[2016-01-14 01:03:17,735][WARN ][discovery.zen            ] [Aragorn] master left (reason = transport disconnected), current nodes: {{Aragorn}{foTBH-NKTFiXdKpzQAROMg}{127.0.0.1}{127.0.0.1:9302},{Uncle Ben Parker}{uDRvYDKpRbKKtEIF28b3dg}{127.0.0.1}{127.0.0.1:9300},}
[2016-01-14 01:03:17,735][INFO ][cluster.service          ] [Aragorn] removed {{Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301},}, reason: zen-disco-master_failed ({Elathan}{Y_5yaR4TQCCnB8kSXVexdg}{127.0.0.1}{127.0.0.1:9301})


(HG) #2

多すぎて質問文に入りきらないのですが、java.lang.IllegalStateExceptionというのがループして?出力されていきます・・・。


java.lang.IllegalStateException: master not available when registering auto-generated license
	at org.elasticsearch.license.plugin.core.LicensesService.requestTrialLicense(LicensesService.java:752)
	at org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:486)
	at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:494)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:225)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:188)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
^C[2016-01-14 01:03:18,291][INFO ][node                     ] [Aragorn] stopping ...
[2016-01-14 01:03:18,313][INFO ][node                     ] [Aragorn] stopped
[2016-01-14 01:03:18,313][INFO ][node                     ] [Aragorn] closing ...
[2016-01-14 01:03:18,318][INFO ][node                     ] [Aragorn] closed


(Jun Ohtani) #3

Marvelをインストールされてますか?
正式に利用する場合は、ベーシックライセンスを取得しないといけないです。


(system) #4