[ https://issues.apache.org/jira/browse/HIVE-15827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854897#comment-15854897 ]
Prasanth Jayachandran commented on HIVE-15827: ---------------------------------------------- It will not ignore the error, instead it just wraps the error in LlapStatusCliException. The exception happens when instanceCache is trying to populate all entries/paths under some root path (workersPath). This root path exists only after 1 node registers itself with ZK. Before the 1 node registration if we try to get all paths under root path, we will get the exception. The change in this patch avoids connecting to registry service when there are no instances running. Alternatively, we can move the creation of the root path to init/start service. This way even when getInstances() is invoked it will return empty instead of throwing exception. > LLAP: status tool breaks out of watch mode when live instances is 0 > ------------------------------------------------------------------- > > Key: HIVE-15827 > URL: https://issues.apache.org/jira/browse/HIVE-15827 > Project: Hive > Issue Type: Bug > Components: llap > Affects Versions: 2.2.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Critical > Attachments: HIVE-15827.1.patch, HIVE-15827.2.patch > > > When llap status tool is used in watch mode and when live instances is 0, the > tool breaks out of loop. -- This message was sent by Atlassian JIRA (v6.3.15#6346)