drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul-rogers <...@git.apache.org>
Subject [GitHub] drill issue #647: DRILL-4935 Allow Drill to advertise a specific hostname to...
Date Tue, 08 Nov 2016 19:23:52 GMT
Github user paul-rogers commented on the issue:

    https://github.com/apache/drill/pull/647
  
    Two ways to test.
    
    First, try the fix manually. Start Drill once without the env var set to ensure Drill
uses the default. Then, set the env var and ensure that Drill uses the correct value.
    
    Second, would be a unit test. I'm not familiar with any existing ZK unit tests. Do any
of the other committers know if we have such tests? Something that validates Drillbit registration,
etc? If so, then that test can be modified for this use case.
    
    But, there is one gotcha: in Java, env vars are read-only, there is no way to set env
vars in a test (that I've ever found.)  Anyone have a work-around?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message