[
https://issues.apache.org/jira/browse/DRILL-6005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396641#comment-16396641
]
ASF GitHub Bot commented on DRILL-6005:
---------------------------------------
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/1162#discussion_r174035415
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java ---
@@ -640,4 +640,6 @@ public static String bootDefaultFor(String name) {
public static final String DRILL_PORT_HUNT = "drill.exec.port_hunt";
+ public static final String ALLOW_LOOPBACK_ADDRESS_BINDING =
"drill.exec.enable_loopback_address_binding";
--- End diff --
Please rename to `drill.exec.allow_loopback_address_binding`.
> Fix TestGracefulShutdown tests to skip check for loopback address usage in
> distributed mode
> -------------------------------------------------------------------------------------------
>
> Key: DRILL-6005
> URL: https://issues.apache.org/jira/browse/DRILL-6005
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.12.0
> Reporter: Arina Ielchiieva
> Assignee: Venkata Jyothsna Donapati
> Priority: Minor
> Labels: doc-impacting
> Fix For: 1.14.0
>
>
> After DRILL-4286 changes some of the newly added unit tests fail with
> {noformat}
> Drillbit is disallowed to bind to loopback address in distributed mode.
> {noformat}
> List of failed tests:
> {noformat}
> Tests in error:
> TestGracefulShutdown.testOnlineEndPoints:96 » IllegalState Cluster fixture
> set...
> TestGracefulShutdown.testStateChange:130 » IllegalState Cluster fixture
> setup ...
> TestGracefulShutdown.testRestApi:167 » IllegalState Cluster fixture setup
> fail...
> TestGracefulShutdown.testRestApiShutdown:207 » IllegalState Cluster fixture
> se...
> {noformat}
> This can be fixed if {{/etc/hosts}} file is edited.
> Source -
> https://stackoverflow.com/questions/40506221/how-to-start-drillbit-locally-in-distributed-mode
> Though these changes are required on production during running unit tests I
> don't think this check should be enforced.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)