You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/03/08 01:51:00 UTC
[jira] Created: (HADOOP-7171) Support UGI in FileContext API
Support UGI in FileContext API
------------------------------
Key: HADOOP-7171
URL: https://issues.apache.org/jira/browse/HADOOP-7171
Project: Hadoop Common
Issue Type: Bug
Components: security
Reporter: Owen O'Malley
Assignee: Jitendra Nath Pandey
Fix For: 0.23.0
The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Attachment: HADOOP-7171.2.patch
Patch uploaded.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I have committed this.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7171) Support UGI in FileContext API
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020456#comment-13020456 ]
Hudson commented on HADOOP-7171:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #555 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk-Commit/555/])
HADOOP-7171. Support UGI in FileContext API. Contributed by jitendra.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Patch Available (was: Open)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7171) Support UGI in FileContext API
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020438#comment-13020438 ]
Suresh Srinivas commented on HADOOP-7171:
-----------------------------------------
+1 for the patch.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7171) Support UGI in FileContext API
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020368#comment-13020368 ]
Suresh Srinivas commented on HADOOP-7171:
-----------------------------------------
Comments:
# While creating RunTimeException, do you want to wrap the exception you caught to provide more details in RunTimeException.
# It is a good idea to document in public APIs that RunTimeException may be thrown and the reason for that exception.
# When logging the exception, you are doing LOG.warn(msg + ex) instead of LOG.warn(msg, ex). Is this intentional?
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Patch Available (was: Open)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7171) Support UGI in FileContext API
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020444#comment-13020444 ]
Hadoop QA commented on HADOOP-7171:
-----------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12476485/HADOOP-7171.5.patch
against trunk revision 1092565.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/349//testReport/
Findbugs warnings: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/349//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://hudson.apache.org/hudson/job/PreCommit-HADOOP-Build/349//console
This message is automatically generated.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Patch Available (was: Open)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Open (was: Patch Available)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Attachment: HADOOP-7171.3.patch
New patch against latest trunk.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Patch Available (was: Open)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7171) Support UGI in FileContext API
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020592#comment-13020592 ]
Hudson commented on HADOOP-7171:
--------------------------------
Integrated in Hadoop-Common-trunk #663 (See [https://hudson.apache.org/hudson/job/Hadoop-Common-trunk/663/])
HADOOP-7171. Support UGI in FileContext API. Contributed by jitendra.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005932#comment-13005932 ]
Jitendra Nath Pandey commented on HADOOP-7171:
----------------------------------------------
Proposed change:
FileContext object should remember the user (UGI) for which it was created, and any AbstractFileSystem object should be created for that user i.e. within a doAs for that user.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Attachment: HADOOP-7171.4.patch
Previous patch missed a place where AbstractFileSystem was created.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Patch Available (was: Open)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Open (was: Patch Available)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Attachment: HADOOP-7171.5.patch
New patch addressing the comments.
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Open (was: Patch Available)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7171) Support UGI in FileContext API
Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated HADOOP-7171:
-----------------------------------------
Status: Open (was: Patch Available)
> Support UGI in FileContext API
> ------------------------------
>
> Key: HADOOP-7171
> URL: https://issues.apache.org/jira/browse/HADOOP-7171
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Jitendra Nath Pandey
> Fix For: 0.23.0
>
> Attachments: HADOOP-7171.2.patch, HADOOP-7171.3.patch, HADOOP-7171.4.patch, HADOOP-7171.5.patch
>
>
> The FileContext API needs to support UGI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira