java.lang.IllegalStateException: master not available when registering auto-generated license

Stack Overflow | Zhaoyang Xu | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Data node can’t find master node ,but master can find data node in Elasticsearch

    Stack Overflow | 7 months ago | Zhaoyang Xu
    java.lang.IllegalStateException: master not available when registering auto-generated license
  2. 0

    One server SERVER_UNAVAILBLE

    GitHub | 1 year ago | shaharmor
    java.lang.IllegalStateException: master not available when registering auto-generated license

    2 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      master not available when registering auto-generated license

      at org.elasticsearch.license.plugin.core.LicensesService.requestTrialLicense()
    2. org.elasticsearch.license
      LicensesService.clusterChanged
      1. org.elasticsearch.license.plugin.core.LicensesService.requestTrialLicense(LicensesService.java:749)
      2. org.elasticsearch.license.plugin.core.LicensesService.clusterChanged(LicensesService.java:483)
      2 frames
    3. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610)
      2. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
      3. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
      4. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames