[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-10175: --- Resolution: Fixed Fix Version/s: 2.3.0 3.0.0 Status: Resolved (was: Patch Available) I committed this to trunk, branch-2 and branch-2.3. Chuan, thank you for the patch. > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug > Components: fs >Affects Versions: 3.0.0, 2.2.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Fix For: 3.0.0, 2.3.0 > > Attachments: HADOOP-10175.2.patch, HADOOP-10175.patch > > > When Har file system parse the URI to get the authority at initialization, > the userinfo is not preserved. This may lead to failures if the underlying > file system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-10175: --- Hadoop Flags: Reviewed +1 for the patch. Thanks for fixing that typo. I'll commit this. > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug > Components: fs >Affects Versions: 3.0.0, 2.2.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.2.patch, HADOOP-10175.patch > > > When Har file system parse the URI to get the authority at initialization, > the userinfo is not preserved. This may lead to failures if the underlying > file system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chuan Liu updated HADOOP-10175: --- Attachment: HADOOP-10175.2.patch Thanks for reviewing, Chris! Attaching a new patch that corrects the typo. > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug > Components: fs >Affects Versions: 3.0.0, 2.2.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.2.patch, HADOOP-10175.patch > > > When Har file system parse the URI to get the authority at initialization, > the userinfo is not preserved. This may lead to failures if the underlying > file system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Nauroth updated HADOOP-10175: --- Component/s: fs Target Version/s: 3.0.0, 2.3.0 Affects Version/s: 2.2.0 Hi, Chuan. The patch looks good. There is a very minor typo on the test name: {{testMakeQulifiedPath}}. I think this patch will be ready to commit after that's corrected. > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug > Components: fs >Affects Versions: 3.0.0, 2.2.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.patch > > > When Har file system parse the URI to get the authority at initialization, > the userinfo is not preserved. This may lead to failures if the underlying > file system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chuan Liu updated HADOOP-10175: --- Description: When Har file system parse the URI to get the authority at initialization, the userinfo is not preserved. This may lead to failures if the underlying file system relies on the userinfo to work properly. E.g. har://file-user:passwd@localhost:80/test.har will be parsed to har://file-localhost:80/test.har, where user:passwd is lost in the processing. (was: When Har file system parse the URI get the authority at initialization, the userinfo is not preserved. This may lead to failures if the underlying file system relies on the userinfo to work properly. E.g. har://file-user:passwd@localhost:80/test.har will be parsed to har://file-localhost:80/test.har, where user:passwd is lost in the processing.) > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.patch > > > When Har file system parse the URI to get the authority at initialization, > the userinfo is not preserved. This may lead to failures if the underlying > file system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chuan Liu updated HADOOP-10175: --- Status: Patch Available (was: Open) > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.patch > > > When Har file system parse the URI get the authority at initialization, the > userinfo is not preserved. This may lead to failures if the underlying file > system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.4#6159)
[jira] [Updated] (HADOOP-10175) Har files system authority should preserve userinfo
[ https://issues.apache.org/jira/browse/HADOOP-10175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chuan Liu updated HADOOP-10175: --- Attachment: HADOOP-10175.patch Attaching a patch. A unit test is also added to cover the case. > Har files system authority should preserve userinfo > --- > > Key: HADOOP-10175 > URL: https://issues.apache.org/jira/browse/HADOOP-10175 > Project: Hadoop Common > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Chuan Liu >Assignee: Chuan Liu > Attachments: HADOOP-10175.patch > > > When Har file system parse the URI get the authority at initialization, the > userinfo is not preserved. This may lead to failures if the underlying file > system relies on the userinfo to work properly. E.g. > har://file-user:passwd@localhost:80/test.har will be parsed to > har://file-localhost:80/test.har, where user:passwd is lost in the processing. -- This message was sent by Atlassian JIRA (v6.1.4#6159)