Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4C1F3200B61 for ; Mon, 4 Jul 2016 17:46:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4AD57160A6D; Mon, 4 Jul 2016 15:46:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 946BC160A34 for ; Mon, 4 Jul 2016 17:46:12 +0200 (CEST) Received: (qmail 97490 invoked by uid 500); 4 Jul 2016 15:46:11 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 97452 invoked by uid 99); 4 Jul 2016 15:46:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2016 15:46:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 823942C029F for ; Mon, 4 Jul 2016 15:46:11 +0000 (UTC) Date: Mon, 4 Jul 2016 15:46:11 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17554) ambari-server update-host-name failing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 04 Jul 2016 15:46:13 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vitaly Brodetskyi updated AMBARI-17554: --------------------------------------- Status: Patch Available (was: Open) > ambari-server update-host-name failing > -------------------------------------- > > Key: AMBARI-17554 > URL: https://issues.apache.org/jira/browse/AMBARI-17554 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Vitaly Brodetskyi > Assignee: Vitaly Brodetskyi > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-17554.patch > > > Steps to reproduce : > 1) Run the following command on one of the hosts (which is not the ambari server) in the cluster : > {code} > hostname renamedHost-0 > {code} > 2) On the ambari-server change the host name in the /etc/hosts for the host whose name was changed in step1 > 3) Create a file like the following to indicate the host changed : > {code} > { > "cl1" : { > "renamedHost-0.openstacklocal" : "rerenamedhost-0.openstacklocal" > } > } > {code} > 4) Run ambari-server update-host-name > The error shown : > {code} > 03 Jul 2016 07:24:31,914 INFO [main] Configuration:1022 - Reading password from existing file > 03 Jul 2016 07:24:31,931 INFO [main] Configuration:1491 - Hosts Mapping File null > 03 Jul 2016 07:24:31,932 INFO [main] HostsMap:60 - Using hostsmap file null > 03 Jul 2016 07:24:32,742 INFO [main] ControllerModule:199 - Detected ORACLE as the database type from the JDBC URL > 03 Jul 2016 07:24:34,884 INFO [main] ControllerModule:607 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher > 03 Jul 2016 07:24:34,895 INFO [main] ControllerModule:607 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher > 03 Jul 2016 07:24:34,905 INFO [main] ControllerModule:607 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher > 03 Jul 2016 07:24:38,223 ERROR [main] HostUpdateHelper:545 - Unexpected error, host names update failed > com.google.inject.CreationException: Guice creation errors: > 1) No implementation for org.apache.ambari.server.audit.AuditLogger was bound. > while locating org.apache.ambari.server.audit.AuditLogger > for field at org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.auditLogger(ActionDBAccessorImpl.java:86) > at org.apache.ambari.server.controller.ControllerModule.configure(ControllerModule.java:324) > 2) No implementation for org.apache.ambari.server.audit.AuditLogger was bound. > while locating org.apache.ambari.server.audit.AuditLogger > for field at org.apache.ambari.server.api.services.LogoutService.auditLogger(LogoutService.java:41) > at org.apache.ambari.server.controller.ControllerModule.bindByAnnotation(ControllerModule.java:525) > 2 errors > at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435) > at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154) > at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) > at com.google.inject.Guice.createInjector(Guice.java:95) > at com.google.inject.Guice.createInjector(Guice.java:72) > at com.google.inject.Guice.createInjector(Guice.java:62) > at org.apache.ambari.server.update.HostUpdateHelper.main(HostUpdateHelper.java:516) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)