[ https://issues.apache.org/jira/browse/HIVE-21908?focusedWorklogId=272534&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-272534 ]
ASF GitHub Bot logged work on HIVE-21908: ----------------------------------------- Author: ASF GitHub Bot Created on: 05/Jul/19 10:53 Start Date: 05/Jul/19 10:53 Worklog Time Spent: 10m Work Description: asinkovits commented on pull request #699: HIVE-21908: LlapDaemon node status should be reflected in the metrics URL: https://github.com/apache/hive/pull/699#discussion_r300637071 ########## File path: llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskExecutorService.java ########## @@ -164,9 +171,9 @@ public TaskExecutorService(int numExecutors, int waitQueueSize, this.enablePreemption = enablePreemption; this.numSlotsAvailable = new AtomicInteger(numExecutors); this.metrics = metrics; - if (metrics != null) { - metrics.setNumExecutorsAvailable(numSlotsAvailable.get()); - } + metrics.setNumExecutorsAvailable(numSlotsAvailable.get()); Review comment: Done. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 272534) Time Spent: 1h 40m (was: 1.5h) > LlapDaemon node status should be reflected in the metrics > --------------------------------------------------------- > > Key: HIVE-21908 > URL: https://issues.apache.org/jira/browse/HIVE-21908 > Project: Hive > Issue Type: Sub-task > Components: llap > Reporter: Peter Vary > Assignee: Antal Sinkovits > Priority: Major > Labels: pull-request-available > Attachments: HIVE-21908.01.patch, HIVE-21908.02.patch, > HIVE-21908.03.patch, HIVE-21908.04.patch, HIVE-21908.05.patch, > HIVE-21908.06.patch > > Time Spent: 1h 40m > Remaining Estimate: 0h > > When we enable/disable a node it should be reflected in the LlapDaemon > metrics, so the administrator can act upon the disabled nodes. They can > manually check the status and either reenable them by restart, or fix the > existing issues causing the problems -- This message was sent by Atlassian JIRA (v7.6.3#76005)