Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-999

Secondary namenode should login using kerberos if security is configured

    Details

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

      Description

      Right now, if NameNode is configured to use Kerberos, SecondaryNameNode will fail to start.

      1. HDFS-999.patch
        1 kB
        Boris Shkolnik
      2. HDFS-999-BF1-Y20.patch
        1 kB
        Jakob Homan
      3. HDFS-999-BP20.patch
        2 kB
        Boris Shkolnik

        Activity

        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12436831/HDFS-999.patch
        against trunk revision 915089.

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no new tests are needed for this patch.
        Also please list what manual steps were performed to verify this patch.

        +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 warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed core unit tests.

        -1 contrib tests. The patch failed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12436831/HDFS-999.patch against trunk revision 915089. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +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 warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/244/console This message is automatically generated.
        Hide
        Jakob Homan added a comment -

        +1 on patch. At the moment, we're using the same key for the NN and 2ndNN, but this may change at some point in the future. Do we want to save ourselves some work in the future and just create a second key/value pair for the 2ndNN now? It can certainly point to the same values as the NN now.

        Show
        Jakob Homan added a comment - +1 on patch. At the moment, we're using the same key for the NN and 2ndNN, but this may change at some point in the future. Do we want to save ourselves some work in the future and just create a second key/value pair for the 2ndNN now? It can certainly point to the same values as the NN now.
        Hide
        Boris Shkolnik added a comment -

        committed this.

        Show
        Boris Shkolnik added a comment - committed this.
        Hide
        Boris Shkolnik added a comment -

        HDFS-999-BP20.patch - for previous version. Not for commit.

        Show
        Boris Shkolnik added a comment - HDFS-999 -BP20.patch - for previous version. Not for commit.
        Hide
        Boris Shkolnik added a comment -

        Forgot to add to the commit message:
        I ran tests manually -they ran ok.
        I did manual testing to verify it works.

        Show
        Boris Shkolnik added a comment - Forgot to add to the commit message: I ran tests manually -they ran ok. I did manual testing to verify it works.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #202 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/202/)
        . Secondary namenode should login using kerberos if security is configured (boryas)

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #202 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/202/ ) . Secondary namenode should login using kerberos if security is configured (boryas)
        Hide
        Hudson added a comment -

        Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #146 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/146/)

        Show
        Hudson added a comment - Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #146 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/146/ )
        Hide
        Hudson added a comment -

        Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #302 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/302/)

        Show
        Hudson added a comment - Integrated in Hdfs-Patch-h5.grid.sp2.yahoo.net #302 (See http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/302/ )
        Hide
        Hudson added a comment -

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

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #275 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/275/ )
        Hide
        Devaraj Das added a comment -

        Closing the issue

        Show
        Devaraj Das added a comment - Closing the issue
        Hide
        Jakob Homan added a comment -

        Bug fix to original patch for Y20S. Trunk version soon. Not for commit.

        Show
        Jakob Homan added a comment - Bug fix to original patch for Y20S. Trunk version soon. Not for commit.
        Hide
        Hudson added a comment -

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

        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #356 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/356/ )

          People

          • Assignee:
            Boris Shkolnik
            Reporter:
            Boris Shkolnik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development