[
https://issues.apache.org/jira/browse/DRILL-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594331#comment-15594331
]
ASF GitHub Bot commented on DRILL-4560:
---------------------------------------
Github user sohami commented on a diff in the pull request:
https://github.com/apache/drill/pull/626#discussion_r84428172
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/coord/zk/ZKClusterCoordinator.java
---
@@ -245,33 +242,29 @@ public DrillbitEndpoint
apply(ServiceInstance<DrillbitEndpoint> input) {
StringBuilder builder = new StringBuilder();
builder.append("Active drillbit set changed. Now includes ");
builder.append(newDrillbitSet.size());
- builder.append(" total bits.");
- if (!newDrillbitSet.isEmpty()) {
- builder.append(" New active drillbits: \n");
- for (DrillbitEndpoint bit: newDrillbitSet) {
- builder.append('\t');
- builder.append(bit.getAddress());
- builder.append(':');
- builder.append(bit.getUserPort());
- builder.append(':');
- builder.append(bit.getControlPort());
- builder.append(':');
- builder.append(bit.getDataPort());
- builder.append('\n');
- }
+ builder.append(" total bits. New active drillbits:\n");
--- End diff --
Please change this log from "**New** active drillbits.." to "**Current**
active drillbits"
> ZKClusterCoordinator does not call DrillbitStatusListener.drillbitRegistered
> for new bits
> -----------------------------------------------------------------------------------------
>
> Key: DRILL-4560
> URL: https://issues.apache.org/jira/browse/DRILL-4560
> Project: Apache Drill
> Issue Type: Sub-task
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Paul Rogers
> Assignee: Sorabh Hamirwasia
> Priority: Minor
> Fix For: 1.9.0
>
>
> ZKClusterCoordinator notifies listeners of type DrillbitStatusListener when
> drillbits disappear from ZooKeeper. The YARN Application Master (AM) also
> needs to know when bits register themselves with ZK. So, ZKClusterCoordinator
> should change to detect new Drill-bits, then call
> DrillbitStatusListener.drillbitRegistered with the new Drill-bits.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)