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 0F32E182D0 for ; Tue, 3 Nov 2015 14:46:33 +0000 (UTC) Received: (qmail 57987 invoked by uid 500); 3 Nov 2015 14:46:32 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 57958 invoked by uid 500); 3 Nov 2015 14:46:32 -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 57948 invoked by uid 99); 3 Nov 2015 14:46:32 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 14:46:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5B785C0471 for ; Tue, 3 Nov 2015 14:46:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.13 X-Spam-Level: *** X-Spam-Status: No, score=3.13 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id X2arEyUBh9jh for ; Tue, 3 Nov 2015 14:46:26 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 5AD0820FF5 for ; Tue, 3 Nov 2015 14:46:25 +0000 (UTC) Received: by lfbf136 with SMTP id f136so20427612lfb.0 for ; Tue, 03 Nov 2015 06:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=y+KHNvzNHyBRJwkdEO8XC3k9hjpZ9oy0jlKysSKoWR0=; b=Xn9QpaxN4wYUsOiql0OQTXMNKY5n5nlQkr4sdmXknGqyda7FlokOozmmJyLwlEtJFU WHTvk/2UkmbXZm8J/rkOUjzswbeCQPMO01u64CyEiriaGT9HyK0zGD2aFeHYBN4ePHLH aevJ9CeA14an8ex0nioBttICZhqfga3HyrRZ1hhwAur3zWd+7pgGfrUFI12Rmz9EIJS+ 3Sy4t6Zt1sSuOWTkzE3FQCKsU6fyiuJ8PDaKR8OE9Ac8e74lRU2Z1JtCf07IV/7swu3t osq7xfgvKvbI4VIVuuXFG1zHSyl/FolgemCGmDopi5yPXqPE9pUoamaFMoUyRuLTFCTy VraA== MIME-Version: 1.0 X-Received: by 10.25.87.82 with SMTP id l79mr8565909lfb.64.1446561983756; Tue, 03 Nov 2015 06:46:23 -0800 (PST) Sender: dbist13@gmail.com Received: by 10.112.155.162 with HTTP; Tue, 3 Nov 2015 06:46:23 -0800 (PST) In-Reply-To: References: Date: Tue, 3 Nov 2015 09:46:23 -0500 X-Google-Sender-Auth: ihi13MNRU57CCwrsfX8xQeBDJe4 Message-ID: Subject: Re: Ambari Manage versions From: Artem Ervits To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a1141edd83003a60523a3f505 --001a1141edd83003a60523a3f505 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable reinstall ambari-server and agents, then run ambari-server upgrade, then start ambari-server and agents and when you browse to the url, hit control shift R. Check in /var/log/ambari-server/ambari-server.log for any errors. On Tue, Nov 3, 2015 at 8:27 AM, Lo=C3=AFc Chanel wrote: > Hi, > > As it's been a month since I sent this mail, I repost it because I'm stil= l > stuck. > Could someone help me locating the origin of the bug ? And/Or how to solv= e > it. > > Thanks in advance for your help, > > > Lo=C3=AFc > > Lo=C3=AFc CHANEL > System & virtualization engineer > TO - XaaS Ind - Worldline (Villeurbanne, France) > > 2015-10-16 15:22 GMT+02:00 Lo=C3=AFc Chanel : > >> Hi all, >> >> As I just upgraded my Ambari cluster to Ambari 2.1.2, I was trying to >> update my cluster to HDP 2.3 when I encountered a major error. >> Indeed, when I go to Stack and Versions and I click on Manage Version >> button, I get an HTTP 500 error, with the following stack : >> >> HTTP ERROR 500 >> >> Problem accessing /views/ADMIN_VIEW/2.1.2/INSTANCE/. Reason: >> >> Server Error >> >> Caused by: >> >> java.lang.IllegalStateException: No WebApplicationContext found: no Cont= extLoaderListener registered? >> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delega= tingFilterProxy.java:159) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servle= tHandler.java:1467) >> at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPers= istFilter.java:47) >> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Servle= tHandler.java:1467) >> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.jav= a:501) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.= java:137) >> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.ja= va:557) >> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHand= ler.java:231) >> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHand= ler.java:1086) >> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java= :429) >> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandl= er.java:193) >> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandl= er.java:1020) >> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.= java:135) >> at org.apache.ambari.server.controller.AmbariHandlerList.processHandler= s(AmbariHandlerList.java:209) >> at org.apache.ambari.server.controller.AmbariHandlerList.processHandler= s(AmbariHandlerList.java:197) >> at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariH= andlerList.java:132) >> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrappe= r.java:116) >> at org.eclipse.jetty.server.Server.handle(Server.java:370) >> at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(Abstra= ctHttpConnection.java:494) >> at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(Abstr= actHttpConnection.java:971) >> at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.heade= rComplete(AbstractHttpConnection.java:1033) >> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) >> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235= ) >> at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnect= ion.java:82) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelE= ndPoint.java:696) >> at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEn= dPoint.java:53) >> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPo= ol.java:608) >> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPoo= l.java:543) >> at java.lang.Thread.run(Thread.java:744) >> >> >> What's even more surprising is I can find in the server's architecture >> the corresponding page, which have been generated by Ambari, but it seem= s >> there is a Jetty error preventing me to access this page. >> Do anyone as an idea about how to solve this ? >> >> Thanks in advance for your help, >> Regards, >> >> >> Lo=C3=AFc >> >> Lo=C3=AFc CHANEL >> System & virtualization engineer >> TO - XaaS Ind - Worldline (Villeurbanne, France) >> > > --001a1141edd83003a60523a3f505 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
reinstall ambari-server and agents, then run ambari-server= upgrade, then start ambari-server and agents and when you browse to the ur= l, hit control shift R. Check in /var/log/ambari-server/ambari-server.log f= or any errors.

On Tue, Nov 3, 2015 at 8:27 AM, Lo=C3=AFc Chanel <<= a href=3D"mailto:loic.chanel@telecomnancy.net" target=3D"_blank">loic.chane= l@telecomnancy.net> wrote:
=
Hi,

As it's been= a month since I sent this mail, I repost it because I'm still stuck.
Could someone help me locating the origin of the bug ? And/Or how t= o solve it.

Thanks in advance for your = help,


Lo=C3=AFc

Lo=C3=AFc CHANEL
System & virtualization en= gineer
TO - XaaS Ind - Worldline (Villeurbanne, France)
<= /div>

2015-10-16 15:= 22 GMT+02:00 Lo=C3=AFc Chanel <loic.chanel@telecomnancy.net= >:
<= div>
Hi all,

As I just upgraded my Ambari c= luster to Ambari 2.1.2, I was trying to update my cluster to HDP 2.3 when I= encountered a major error.
Indeed, when I go to Stack and Version= s and I click on Manage Version button, I get an HTTP 500 error, with the f= ollowing stack :

HTTP ERROR 500

Problem accessing /views/ADMIN_VIEW/2.1.2/IN= STANCE/. Reason:

    S=
erver Error

Caused by:

java.lang.IllegalStateException: No WebApplicationCont=
ext found: no ContextLoaderListener registered?
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegatin=
gFilterProxy.java:159)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHa=
ndler.java:1467)
	at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersist=
Filter.java:47)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHa=
ndler.java:1467)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:5=
01)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.jav=
a:137)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:=
557)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler=
.java:231)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler=
.java:1086)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:42=
9)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.=
java:193)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.=
java:1020)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.jav=
a:135)
	at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(A=
mbariHandlerList.java:209)
	at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(A=
mbariHandlerList.java:197)
	at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHand=
lerList.java:132)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.j=
ava:116)
	at org.eclipse.jetty.server.Server.handle(Server.java:370)
	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractH=
ttpConnection.java:494)
	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(Abstract=
HttpConnection.java:971)
	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerCo=
mplete(AbstractHttpConnection.java:1033)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection=
.java:82)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndP=
oint.java:696)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPo=
int.java:53)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.=
java:608)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.j=
ava:543)
	at java.lang.Thread.run(Thread.java:744)

What's even more surprising is I can find in the server= 's architecture the corresponding page, which have been generated by Am= bari, but it seems there is a Jetty error preventing me to access this page= .
Do anyone as an idea about how to solve this ?

Than= ks in advance for your help,
Regards,


Lo=C3=AFc

=
Lo=C3=AFc CHANEL
System & virtualization engineerTO - XaaS Ind - Worldline (Villeurbanne, France)


--001a1141edd83003a60523a3f505--