Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07FAB18CE4 for ; Sat, 26 Dec 2015 04:19:01 +0000 (UTC) Received: (qmail 71989 invoked by uid 500); 26 Dec 2015 04:19:01 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 71955 invoked by uid 500); 26 Dec 2015 04:19:01 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 71945 invoked by uid 99); 26 Dec 2015 04:19:01 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Dec 2015 04:19:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D44DD180469 for ; Sat, 26 Dec 2015 04:19:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.506 X-Spam-Level: *** X-Spam-Status: No, score=3.506 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HK_RANDOM_ENVFROM=0.626, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ZTOFK-obEKNr for ; Sat, 26 Dec 2015 04:18:55 +0000 (UTC) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C99F4439C3 for ; Sat, 26 Dec 2015 04:18:54 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id p203so179871750lfa.0 for ; Fri, 25 Dec 2015 20:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lcQvY31dhBr+ZxmMnGQz5F2PfA+++DDd1n2gAt/ah54=; b=NUiJNFbHbw1r/jMPc2XWUjuV/35nWi6ir8hoP29Byq/52bVAJ+4WH2lB+nhlDFtenM dNh6xHkSzXkjNRcNxK3fJcojo6OyTtqdJsy00+zx8b/W2bRAcgy1xtN9CtV7YLSU1AqA 7yg4oSGzmc1Ix9HjzBUNSt7r87s3e7gcs59T/X7TvY7V4bham/CXbh6iGcYdExyqUtcj G+5QBxPIeTHzAD1JNbukbgWRWhpxRg96n2XrT7bkThfNtkGOs0uxtd7QuWpjmBWiMvtu K7ApUSmaTVEg9folw+iDjkAwm7wCMWH9GQT0kC6kShhWrMvtJ3NpKWrRIGLc9s4TyyAp xoMg== MIME-Version: 1.0 X-Received: by 10.25.82.6 with SMTP id g6mr16001110lfb.135.1451103527614; Fri, 25 Dec 2015 20:18:47 -0800 (PST) Received: by 10.25.210.144 with HTTP; Fri, 25 Dec 2015 20:18:47 -0800 (PST) In-Reply-To: <1451103302721.91173@hortonworks.com> References: <1451103302721.91173@hortonworks.com> Date: Sat, 26 Dec 2015 12:18:47 +0800 Message-ID: Subject: Re: Ambari fails to start From: Jeff Zhang To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a114192024bc2050527c55e8b --001a114192024bc2050527c55e8b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable from 2.0 to 2.2 On Sat, Dec 26, 2015 at 12:15 PM, Sumit Mohanty wrote: > =E2=80=8BWhat version you are upgrading from and to? > ------------------------------ > *From:* Jeff Zhang > *Sent:* Friday, December 25, 2015 7:02 PM > *To:* user@ambari.apache.org > *Subject:* Ambari fails to start > > > I meet the following error when upgrading ambari, could anyone help ? > > 26 Dec 2015 10:57:46,911 ERROR [main] AmbariServer:819 - Failed to run th= e > Ambari Server > com.google.inject.ProvisionException: Guice provision errors: > > 1) Error injecting method, Exception [EclipseLink-4011] (Eclipse > Persistence Services - 2.5.2.v20140319-9ad6abd): > org.eclipse.persistence.exceptions.DatabaseException > Exception Description: Error preallocating sequence numbers. The sequenc= e > table information is not complete. > at > org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.= java:243) > at > org.apache.ambari.server.api.services.AmbariMetaInfo.class(AmbariMetaInfo= .java:125) > while locating org.apache.ambari.server.api.services.AmbariMetaInfo > for field at > org.apache.ambari.server.controller.AmbariServer.ambariMetaInfo(AmbariSer= ver.java:145) > at > org.apache.ambari.server.controller.AmbariServer.class(AmbariServer.java:= 145) > while locating org.apache.ambari.server.controller.AmbariServer > > 1 error > at > com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987) > at > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:101= 3) > at > org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:8= 12) > Caused by: Exception [EclipseLink-4011] (Eclipse Persistence Services - > 2.5.2.v20140319-9ad6abd): > org.eclipse.persistence.exceptions.DatabaseException > Exception Description: Error preallocating sequence numbers. The sequenc= e > table information is not complete. > > -- > Best Regards > > Jeff Zhang > --=20 Best Regards Jeff Zhang --001a114192024bc2050527c55e8b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
from 2.0 to 2.2

On Sat, Dec 26, 2015 at 12:15 PM, Sumit Mohanty <smohanty@hortonworks.com> wrote:

=E2=80=8BWhat version you are upgrading from and to?


From: Jeff Zhang <zjffdu@gmail.com>
Sent: Friday, December 25, 2015 7:02 PM
To: user= @ambari.apache.org
Subject: Ambari fails to start
=C2=A0

I meet the following error when upgrading ambari, could anyone help ?

26 Dec 2015 10:57:46,911 ERROR [main] AmbariServer:819 - Failed to run= the Ambari Server
com.google.inject.ProvisionException: Guice provision errors:

1) Error injecting method, Exception [EclipseLink-4011] (Eclipse Persi= stence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.excepti= ons.DatabaseException
Exception Description: Error preallocating sequence numbers.=C2=A0 The= sequence table information is not complete.
=C2=A0 at org.apache.ambari.server.api.services.AmbariMetaInfo.init(Am= bariMetaInfo.java:243)
=C2=A0 at org.apache.ambari.server.api.services.AmbariMetaInfo.class(A= mbariMetaInfo.java:125)
=C2=A0 while locating org.apache.ambari.server.api.services.AmbariMeta= Info
=C2=A0 =C2=A0 for field at org.apache.ambari.server.controller.AmbariS= erver.ambariMetaInfo(AmbariServer.java:145)
=C2=A0 at org.apache.ambari.server.controller.AmbariServer.class(Ambar= iServer.java:145)
=C2=A0 while locating org.apache.ambari.server.controller.AmbariServer=

1 error
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at com.google.inject.internal.InjectorImpl= $4.get(InjectorImpl.java:987)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at com.google.inject.internal.InjectorImpl= .getInstance(InjectorImpl.java:1013)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.apache.ambari.server.controller.Amb= ariServer.main(AmbariServer.java:812)
Caused by: Exception [EclipseLink-4011] (Eclipse Persistence Services = - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseExce= ption
Exception Description: Error preallocating sequence numbers.=C2=A0 The= sequence table information is not complete.

--
Best Regards

Jeff Zhang



--
Best Regards

Jeff Zhang
--001a114192024bc2050527c55e8b--