QueryParserUtils.getRemoteHosts die for some URL
------------------------------------------------

                 Key: PIG-2343
                 URL: https://issues.apache.org/jira/browse/PIG-2343
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.9.0, 0.10, 0.11
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.10, 0.11


getRemoteHosts is to extract hosts from a URL string. URL can also be a comma 
separated string. The current logic is:
1. split URL into components with regard to ","
2. for each component, get its host

However, it does not deal with some URL components which contains comma, such 
as:
scheme://{a,b,c}xxx

A better implementation is needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to