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

KERBEROS service incompletely installed when manual option is selected

    Details

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

      Description

      When manually enabling Kerberos on a cluster, the KERBEROS service and its KERBEROS_CLIENT component are partially installed between the Stop Services and Kerberize Cluster pages in the Enable Kerberos Wizard.

      The service and its component are initialized in the INIT state at this point. Then when proceeding through to the Start and Test Services page, the operation fails with the following error in the Ambari server log:

      /var/log/ambari-server/ambari-server.log
      09 Sep 2015 01:58:20,297 ERROR [qtp-client-29] AbstractResourceProvider:338 - Caught AmbariException when modifying a resource
      org.apache.ambari.server.AmbariException: Invalid transition for service, clusterName=KerbTimeout, clusterId=2, serviceName=KERBEROS, currentDesiredState=INIT, newDesiredState=STARTED
              at org.apache.ambari.server.controller.internal.ServiceResourceProvider.updateServices(ServiceResourceProvider.java:660)
              at org.apache.ambari.server.controller.internal.ServiceResourceProvider$4.invoke(ServiceResourceProvider.java:309)
              at org.apache.ambari.server.controller.internal.ServiceResourceProvider$4.invoke(ServiceResourceProvider.java:306)
              at org.apache.ambari.server.controller.internal.AbstractResourceProvider.modifyResources(AbstractResourceProvider.java:331)
              at org.apache.ambari.server.controller.internal.ServiceResourceProvider.doUpdateResources(ServiceResourceProvider.java:306)
              at org.apache.ambari.server.controller.internal.ServiceResourceProvider.updateResources(ServiceResourceProvider.java:220)
              at org.apache.ambari.server.controller.internal.ClusterControllerImpl.updateResources(ClusterControllerImpl.java:310)
              at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.update(PersistenceManagerImpl.java:104)
              at org.apache.ambari.server.api.handlers.UpdateHandler.persist(UpdateHandler.java:42)
              at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:72)
              at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
              at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:105)
              at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:74)
              at org.apache.ambari.server.api.services.ServiceService.updateServices(ServiceService.java:160)
      
      1. AMBARI-13063.patch
        0.6 kB
        Antonenko Alexander

        Activity

        Hide
        ababiichuk Andrii Babiichuk added a comment -

        +1 for the patch

        Show
        ababiichuk Andrii Babiichuk added a comment - +1 for the patch
        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/12755193/AMBARI-13063.patch
        against trunk revision .

        -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3761//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/12755193/AMBARI-13063.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3761//console This message is automatically generated.
        Hide
        aantonenko Antonenko Alexander added a comment -

        committed to trunk and branch 2.1

        Show
        aantonenko Antonenko Alexander added a comment - committed to trunk and branch 2.1
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Ambari-branch-2.1 #512 (See https://builds.apache.org/job/Ambari-branch-2.1/512/)
        AMBARI-13063. KERBEROS service incompletely installed when manual option is selected (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=536e026c615279ace0b11c1222734d46e8df515d)

        • ambari-web/app/routes/add_kerberos_routes.js
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Ambari-branch-2.1 #512 (See https://builds.apache.org/job/Ambari-branch-2.1/512/ ) AMBARI-13063 . KERBEROS service incompletely installed when manual option is selected (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=536e026c615279ace0b11c1222734d46e8df515d ) ambari-web/app/routes/add_kerberos_routes.js
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-trunk-Commit #3420 (See https://builds.apache.org/job/Ambari-trunk-Commit/3420/)
        AMBARI-13063. KERBEROS service incompletely installed when manual option is selected (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5a8c2a74b69712449ec92d73b78eb4232ffa0242)

        • ambari-web/app/routes/add_kerberos_routes.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3420 (See https://builds.apache.org/job/Ambari-trunk-Commit/3420/ ) AMBARI-13063 . KERBEROS service incompletely installed when manual option is selected (alexantonenko) (hiveww: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5a8c2a74b69712449ec92d73b78eb4232ffa0242 ) ambari-web/app/routes/add_kerberos_routes.js

          People

          • Assignee:
            aantonenko Antonenko Alexander
            Reporter:
            aantonenko Antonenko Alexander
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development