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

        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/ )
        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
        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 -

        Committed into the trunk, Thanks Jitendra.

        Show
        Boris Shkolnik added a comment - Committed into the trunk, Thanks Jitendra.
        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
        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 -

        New patch includes a test case.

        Show
        Jitendra Nath Pandey added a comment - New patch includes a test case.
        Hide
        Jitendra Nath Pandey added a comment -

        Patch for trunk.

        Show
        Jitendra Nath Pandey added a comment - Patch for trunk.
        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 -

        New Patch for 20 uploaded.

        Show
        Jitendra Nath Pandey added a comment - New Patch for 20 uploaded.
        Hide
        Jitendra Nath Pandey added a comment -

        patch for 20 uploaded

        Show
        Jitendra Nath Pandey added a comment - patch for 20 uploaded

          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