Github user jinossy commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/286#discussion_r21731837
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/master/ha/HAServiceHDFSImpl.java ---
    @@ -169,6 +174,48 @@ private void createMasterFile(boolean isActive) throws 
IOException {
       }
     
     
    +  private String getHostName(String hostAddress, int type) {
    +    String hostName = null;
    +    int port = 0;
    +
    +    switch (type) {
    +      case HAConstants.MASTER_UMBILICAL_RPC_ADDRESS:
    +        hostName = 
context.getConf().get(TajoConf.ConfVars.TAJO_MASTER_UMBILICAL_RPC_ADDRESS
    +          .varname);
    +        port = 26001;
    --- End diff --
    
    The port is hard coded. any have reason ?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to