Github user dvjyothsna commented on a diff in the pull request:
https://github.com/apache/drill/pull/1203#discussion_r180268114
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java
---
@@ -102,6 +105,7 @@ public DrillbitEndpoint start() throws
DrillbitStartupException, UnknownHostExce
DrillbitEndpoint partialEndpoint = DrillbitEndpoint.newBuilder()
.setAddress(hostName)
.setUserPort(userPort)
+ .setHttpPort(httpPort)
--- End diff --
Recently port-hunting capability is added to WebServer. So I think we
should get port number from the WebServer.
---