Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1039

Service should be set in the token in JspHelper.getUGI

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The delegation token added to the UGI in getUGI method in the JspHelper does not have service set. Therefore, this token cannot be used to connect to the namenode.

      1. HDFS-1039.2.patch
        2 kB
        Jitendra Nath Pandey
      2. HDFS-1039.4.patch
        6 kB
        Jitendra Nath Pandey
      3. HDFS-1039-y20.1.patch
        1 kB
        Jitendra Nath Pandey
      4. HDFS-1039-y20.2.1.patch
        3 kB
        Jitendra Nath Pandey
      5. HDFS-1039-y20.2.patch
        3 kB
        Jitendra Nath Pandey

        Activity

        Jitendra Nath Pandey created issue -
        Hide
        Jitendra Nath Pandey added a comment -

        patch for 20 uploaded

        Show
        Jitendra Nath Pandey added a comment - patch for 20 uploaded
        Jitendra Nath Pandey made changes -
        Field Original Value New Value
        Attachment HDFS-1039-y20.1.patch [ 12438845 ]
        Hide
        Jitendra Nath Pandey added a comment -

        New Patch for 20 uploaded.

        Show
        Jitendra Nath Pandey added a comment - New Patch for 20 uploaded.
        Jitendra Nath Pandey made changes -
        Attachment HDFS-1039-y20.2.patch [ 12438896 ]
        Jitendra Nath Pandey made changes -
        Attachment HDFS-1039-y20.2.1.patch [ 12439603 ]
        Hide
        Jitendra Nath Pandey added a comment -

        HDFS-1039-y20.2.1.patch is on top of the last patch.

        Show
        Jitendra Nath Pandey added a comment - HDFS-1039 -y20.2.1.patch is on top of the last patch.
        Hide
        Jitendra Nath Pandey added a comment -

        Patch for trunk.

        Show
        Jitendra Nath Pandey added a comment - Patch for trunk.
        Jitendra Nath Pandey made changes -
        Attachment HDFS-1039.2.patch [ 12445588 ]
        Hide
        Jitendra Nath Pandey added a comment -

        New patch includes a test case.

        Show
        Jitendra Nath Pandey added a comment - New patch includes a test case.
        Jitendra Nath Pandey made changes -
        Attachment HDFS-1039.4.patch [ 12445722 ]
        Hide
        Jitendra Nath Pandey added a comment -

        test-patch results

        [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.

        Show
        Jitendra Nath Pandey added a comment - test-patch results [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.
        Hide
        Jitendra Nath Pandey added a comment -

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

        Show
        Jitendra Nath Pandey added a comment - ant test was run manually. All tests pass except TestHDFSTrash which also fails without this patch.
        Hide
        Boris Shkolnik added a comment -

        Committed into the trunk, Thanks Jitendra.

        Show
        Boris Shkolnik added a comment - Committed into the trunk, Thanks Jitendra.
        Boris Shkolnik made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #289 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/289/)
        HDFS-1039. Service should be set in the token in JspHelper.getUGI

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #289 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/289/ ) HDFS-1039 . Service should be set in the token in JspHelper.getUGI
        Hide
        Boris Shkolnik added a comment -

        forgot to mark it as reviewed..
        +1

        Show
        Boris Shkolnik added a comment - forgot to mark it as reviewed.. +1
        Boris Shkolnik made changes -
        Hadoop Flags [Reviewed]
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #298 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/298/)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #298 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/298/ )
        Konstantin Shvachko made changes -
        Fix Version/s 0.22.0 [ 12314241 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        78d 2h 49m 1 Boris Shkolnik 01/Jun/10 21:02
        Resolved Resolved Closed Closed
        558d 10h 16m 1 Konstantin Shvachko 12/Dec/11 06:19

          People

          • Assignee:
            Jitendra Nath Pandey
            Reporter:
            Jitendra Nath Pandey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development