Hyunsik Choi created TAJO-1503:
----------------------------------

             Summary: 'host' field in IntermediateEntryProto should be more 
intuitive.
                 Key: TAJO-1503
                 URL: https://issues.apache.org/jira/browse/TAJO-1503
             Project: Tajo
          Issue Type: Improvement
            Reporter: Hyunsik Choi
            Priority: Trivial


'host' field in IntermediateEntryProto is ambiguous. Actually, it should 
contains a form of {hostname:port} because the constructor of IntermediateEntry 
splits host by colon.
{code}      
public IntermediateEntry(IntermediateEntryProto proto) {
...
      String[] pullHost = proto.getHost().split(":");
      this.host = new PullHost(pullHost[0], Integer.parseInt(pullHost[1]));
      this.volume = proto.getVolume();
{code}

But, its name is just a host, and we should rename it more intuitive one.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to