Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12744

Kerberos: Test KDC Connection succeeds but prints ERROR to ambari server log

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.1.1
    • Fix Version/s: 2.3.0, 2.1.2
    • Component/s: ambari-server
    • Labels:

      Description

      When enabling Kerberos, click Test KDC Connection, things succeed but there is an error printed to ambari-server log. This is happening when the KDC listens only on UDP and the TCP check fails.

      06 Aug 2015 21:20:16,179 ERROR [qtp-client-29] KdcServerConnectionVerification:133 - Unable to connect to Kerberos Server
      06 Aug 2015 21:20:26,111 ERROR [qtp-client-25] KdcServerConnectionVerification:133 - Unable to connect to Kerberos Server
      

      Solution
      Fix logging to be more explicit to avoid confusion

      1. AMBARI-12744_trunk_02.patch
        24 kB
        Robert Levas
      2. AMBARI-12744_trunk_01.patch
        23 kB
        Robert Levas
      3. AMBARI-12744_branch-2.1_02.patch
        24 kB
        Robert Levas
      4. AMBARI-12744_branch-2.1_01.patch
        23 kB
        Robert Levas

        Issue Links

          Activity

          Hide
          rlevas Robert Levas added a comment -

          Committed to trunk

          commit 9e2e2b0d7429ad73c249813d84204c8c6845a87e
          Author: Robert Levas <rlevas@hortonworks.com>
          Date:   Wed Aug 12 15:28:43 2015 -0400
          

          Committed to branch-2.1

          commit 7970945d0a3af2813e6d3a063c26f0cce1765c50
          Author: Robert Levas <rlevas@hortonworks.com>
          Date:   Wed Aug 12 15:29:51 2015 -0400
          
          Show
          rlevas Robert Levas added a comment - Committed to trunk commit 9e2e2b0d7429ad73c249813d84204c8c6845a87e Author: Robert Levas <rlevas@hortonworks.com> Date: Wed Aug 12 15:28:43 2015 -0400 Committed to branch-2.1 commit 7970945d0a3af2813e6d3a063c26f0cce1765c50 Author: Robert Levas <rlevas@hortonworks.com> Date: Wed Aug 12 15:29:51 2015 -0400
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12750114/AMBARI-12744_trunk_02.patch
          against trunk revision .

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

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

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

          -1 core tests. The patch failed these unit tests in ambari-server:

          org.apache.ambari.server.controller.AmbariManagementControllerTest
          org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderForDNWithSpaceTest

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3575//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3575//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12750114/AMBARI-12744_trunk_02.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in ambari-server: org.apache.ambari.server.controller.AmbariManagementControllerTest org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderForDNWithSpaceTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3575//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3575//console This message is automatically generated.

            People

            • Assignee:
              rlevas Robert Levas
              Reporter:
              rlevas Robert Levas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development