You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (Created) (JIRA)" <ji...@apache.org> on 2011/11/02 19:27:34 UTC
[jira] [Created] (PIG-2343) QueryParserUtils.getRemoteHosts die for
some URL
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
[jira] [Updated] (PIG-2343) QueryParserUtils.getRemoteHosts die for
some URL
Posted by "Julien Le Dem (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Le Dem updated PIG-2343:
-------------------------------
Fix Version/s: (was: 0.11)
This will go in a future release
> 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, 0.11
> Reporter: Daniel Dai
> Assignee: Daniel Dai
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2343) QueryParserUtils.getRemoteHosts die for
some URL
Posted by "Daniel Dai (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-2343:
----------------------------
Fix Version/s: (was: 0.10)
> 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.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