You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2010/03/03 06:01:27 UTC

[jira] Created: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
-------------------------------------------------------------------------------

                 Key: HDFS-1017
                 URL: https://issues.apache.org/jira/browse/HDFS-1017
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: security
            Reporter: Jakob Homan
            Assignee: Jakob Homan


Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882001#action_12882001 ] 

Hudson commented on HDFS-1017:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #318 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/318/])
    HDFS-1017. browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()


> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881896#action_12881896 ] 

Jitendra Nath Pandey commented on HDFS-1017:
--------------------------------------------

test patch restults

     [exec] +1 overall.  
     [exec] 
     [exec]     +1 @author.  The patch does not contain any @author tags.
     [exec] 
     [exec]     +1 tests included.  The patch appears to include 3 new or modified tests.
     [exec] 
     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
     [exec] 
     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.
     [exec] 
     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.
     [exec] 
     [exec]     +1 release audit.  The applied patch does not increase the total number of release audit warnings.


> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-1017:
---------------------------------------

    Attachment: HDFS-1017.3.patch

Fixed a findbugs warning.

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Shkolnik updated HDFS-1017:
---------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

Committed to trunk. Thanks Jitendra and Jacob.

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HDFS-1017:
------------------------------

    Attachment: HDFS-1017-Y20.patch

Patch for Y20 distribution, not to be committed.  Trunk to follow soon.  Before patch, exception with servlet not recognizing user, after patch succesfsully execute servlet with delegation token.

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>         Attachments: HDFS-1017-Y20.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-1017:
---------------------------------------

           Status: Patch Available  (was: Open)
    Fix Version/s: 0.22.0

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-1017:
---------------------------------------

    Status: Open  (was: Patch Available)

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-1017:
---------------------------------------

    Attachment: HDFS-1017.2.patch

Patch for trunk.

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jitendra Nath Pandey updated HDFS-1017:
---------------------------------------

    Status: Patch Available  (was: Open)

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840746#action_12840746 ] 

Owen O'Malley commented on HDFS-1017:
-------------------------------------

+1

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jakob Homan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Homan updated HDFS-1017:
------------------------------

    Attachment: HDFS-1017-Y20-2.patch

Had forgotten to commit changes for last patch.  New file.  

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881910#action_12881910 ] 

Jitendra Nath Pandey commented on HDFS-1017:
--------------------------------------------

ant test was run manually. All tests pass except TestHDFSTrash, which is unrelated and also fails without this patch.

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-1017) browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()

Posted by "Boris Shkolnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HDFS-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Shkolnik updated HDFS-1017:
---------------------------------

    Hadoop Flags: [Reviewed]

+1

> browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser()
> -------------------------------------------------------------------------------
>
>                 Key: HDFS-1017
>                 URL: https://issues.apache.org/jira/browse/HDFS-1017
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Jakob Homan
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1017-Y20-2.patch, HDFS-1017-Y20.patch, HDFS-1017.2.patch, HDFS-1017.3.patch
>
>
> Currently the JSP for browsing the file system calls getRemoteUser(), which doesn't correctly auth the user on the web, causing failures when trying to browse the web.  It should call the utility method JspHelper.getUGI instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.