Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.12.0
-
None
Description
After DRILL-4286 changes some of the newly added unit tests fail with
Drillbit is disallowed to bind to loopback address in distributed mode.
List of failed tests:
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...
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.
For documentation
drill.exec.allow_loopback_address_binding -> Allow drillbit to bind to loopback address in distributed mode. Enabled only for testing purposes.
Attachments
Issue Links
- is part of
-
DRILL-4829 Configure the address to bind to
- Resolved
- is related to
-
DRILL-6023 Graceful shutdown improvements (umbrella jira)
- Open
- relates to
-
DRILL-4286 Have an ability to put server in quiescent mode of operation
- Resolved
- links to