Hadoop Common
  1. Hadoop Common
  2. HADOOP-8400

All commands warn "Kerberos krb5 configuration not found" when security is not enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: security
    • Labels:
      None

      Description

      Post HADOOP-8086 I get "Kerberos krb5 configuration not found, setting default realm to empty" warnings when running Hadoop commands even though I don't have kerb enabled.

      1. HADOOP-8400.patch
        0.8 kB
        Alejandro Abdelnur

        Issue Links

          Activity

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-8086 [ HADOOP-8086 ]
          Hide
          Alejandro Abdelnur added a comment -

          arghh, the problem here is that hadoop-auth does not have Configuration in the classpath, thus we cannot check if security is enabled or not. I'm kind of inclined to revert HADOOP-8086.

          thoughts.

          Show
          Alejandro Abdelnur added a comment - arghh, the problem here is that hadoop-auth does not have Configuration in the classpath, thus we cannot check if security is enabled or not. I'm kind of inclined to revert HADOOP-8086 . thoughts.
          Hide
          Eli Collins added a comment -

          Perhaps just make the log-level debug instead of warn?

          Show
          Eli Collins added a comment - Perhaps just make the log-level debug instead of warn?
          Hide
          Alejandro Abdelnur added a comment -

          changing log from warn to debug

          Show
          Alejandro Abdelnur added a comment - changing log from warn to debug
          Alejandro Abdelnur made changes -
          Attachment HADOOP-8400.patch [ 12527563 ]
          Alejandro Abdelnur made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12527563/HADOOP-8400.patch
          against trunk revision .

          +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 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +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 unit tests in hadoop-common-project/hadoop-auth.

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/996//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/996//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/12527563/HADOOP-8400.patch against trunk revision . +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 javac. The applied patch does not increase the total number of javac compiler warnings. +1 javadoc. The javadoc tool did not generate any warning messages. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +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 unit tests in hadoop-common-project/hadoop-auth. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/996//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/996//console This message is automatically generated.
          Hide
          Eli Collins added a comment -

          +1

          Show
          Eli Collins added a comment - +1
          Hide
          Alejandro Abdelnur added a comment -

          committed to trunk and branch-2

          Show
          Alejandro Abdelnur added a comment - committed to trunk and branch-2
          Alejandro Abdelnur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.1 [ 12321441 ]
          Resolution Fixed [ 1 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #2328 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2328/)
          HADOOP-8400. All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298)

          Result = SUCCESS
          tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2328 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2328/ ) HADOOP-8400 . All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #2254 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2254/)
          HADOOP-8400. All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298)

          Result = SUCCESS
          tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2254 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2254/ ) HADOOP-8400 . All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #2271 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2271/)
          HADOOP-8400. All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298)

          Result = ABORTED
          tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2271 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2271/ ) HADOOP-8400 . All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298) Result = ABORTED tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #1047 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1047/)
          HADOOP-8400. All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298)

          Result = SUCCESS
          tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1047 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1047/ ) HADOOP-8400 . All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1082 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1082/)
          HADOOP-8400. All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298)

          Result = SUCCESS
          tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1082 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1082/ ) HADOOP-8400 . All commands warn 'Kerberos krb5 configuration not found' when security is not enabled. (tucu) (Revision 1339298) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1339298 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosName.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          Harsh J made changes -
          Link This issue is duplicated by HADOOP-8576 [ HADOOP-8576 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322473 ]
          Fix Version/s 2.1.0-alpha [ 12321441 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          12h 25m 1 Alejandro Abdelnur 16/May/12 05:35
          Patch Available Patch Available Resolved Resolved
          13h 47m 1 Alejandro Abdelnur 16/May/12 19:22
          Resolved Resolved Closed Closed
          147d 23h 22m 1 Arun C Murthy 11/Oct/12 18:45

            People

            • Assignee:
              Alejandro Abdelnur
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development