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 E9D7C1829C for ; Wed, 18 Nov 2015 18:10:47 +0000 (UTC) Received: (qmail 707 invoked by uid 500); 18 Nov 2015 18:10:47 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 673 invoked by uid 500); 18 Nov 2015 18:10:47 -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 662 invoked by uid 99); 18 Nov 2015 18:10:47 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 18:10:47 +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 CE781180185 for ; Wed, 18 Nov 2015 18:10:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 6.102 X-Spam-Level: ****** X-Spam-Status: No, score=6.102 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.999, HTML_MESSAGE=3, SPF_PASS=-0.001, TRACKER_ID=1.102, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cHZLLKN3mFeG for ; Wed, 18 Nov 2015 18:10:37 +0000 (UTC) Received: from relayvx12c.securemail.intermedia.net (relayvx12c.securemail.intermedia.net [64.78.52.187]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 63A0D20B89 for ; Wed, 18 Nov 2015 18:10:36 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id 5793B53E46; Wed, 18 Nov 2015 10:10:29 -0800 (PST) Subject: Re: NPE doing rolling upgrade MIME-Version: 1.0 x-echoworx-msg-id: 20147dde-39f1-49d8-868b-416f402131bb x-echoworx-emg-received: Wed, 18 Nov 2015 10:10:29.297 -0800 x-echoworx-action: delivered Received: from 10.254.155.17 ([10.254.155.17]) by emg-ca-1-2 (JAMES SMTP Server 2.3.2) with SMTP ID 396; Wed, 18 Nov 2015 10:10:29 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by emg-ca-1-2.localdomain (Postfix) with ESMTPS id D417B53E3A; Wed, 18 Nov 2015 10:10:28 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Wed, 18 Nov 2015 10:10:27 -0800 Received: from MBX080-W4-CO-1.exch080.serverpod.net ([10.224.117.101]) by mbx080-w4-co-1.exch080.serverpod.net ([10.224.117.101]) with mapi id 15.00.1130.005; Wed, 18 Nov 2015 10:10:27 -0800 From: Alejandro Fernandez To: "bdjeltema@gmail.com" CC: "user@ambari.apache.org" Thread-Topic: NPE doing rolling upgrade Thread-Index: AQHRITfNyL1NjJUS8EmPedZokel1o56gvnKAgABaaQD//3tYAIAAiAiA//+AEgCAAIuegP//gMUAABdmcoAAFk64gA== Date: Wed, 18 Nov 2015 18:10:27 +0000 Message-ID: References: <451214DB-5458-4B17-B8B6-9988894128F3@gmail.com> <42FD17A5-B242-4E7D-87D0-9BE18289FDE5@hortonworks.com> <8ECD0D12-45A2-449A-84A2-B4BE36BB0FFD@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.4.140807 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.175.27.10] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_D271FEEB49786afernandezhortonworkscom_" --_000_D271FEEB49786afernandezhortonworkscom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Perhaps the agent needs to be restarted, and check the pid file for the pro= cess. From: Brian Jeltema > Reply-To: "user@ambari.apache.org" > Date: Tuesday, November 17, 2015 at 3:31 PM To: "user@ambari.apache.org" > Subject: Re: NPE doing rolling upgrade Nope. It=92s not in any of those tables. On Nov 17, 2015, at 3:21 PM, Alejandro Fernandez > wrote: It must still be present on one of the tables. servicecomponentdesiredstate requestresourcefilter hostcomponentstate hostcomponentdesiredstate From: Brian Jeltema > Date: Tuesday, November 17, 2015 at 11:57 AM To: Alejandro Fernandez > Cc: "user@ambari.apache.org" > Subject: Re: NPE doing rolling upgrade It only appeared in the servicecomponentdesiredstate table. I deleted that = row. But it still shows as =91Started=92 in the HDFS service page in the UI. I r= estarted ambari-server, but it still shows as Started. On Nov 17, 2015, at 2:37 PM, Alejandro Fernandez > wrote: Delete from the DB in those 3 tables. From: Brian Jeltema > Reply-To: "user@ambari.apache.org" > Date: Tuesday, November 17, 2015 at 11:15 AM To: "user@ambari.apache.org" > Subject: Re: NPE doing rolling upgrade That didn=92t work because Ambari thinks the NFS Gateway is in the STARTED = state, even though there are 0/0 installed. How do I stop it? Thanks. On Nov 17, 2015, at 2:08 PM, Alejandro Fernandez > wrote: Hi Brian, can you try this, curl -u $user:$password -X DELETE -H 'X-Requested-By:admin' http://$server:= 8080/api/v1/clusters/$name/services/HDFS/components/NFS_GATEWAY It should be deleted from the hostcomponentstate, hostcomponentdesiredstate= , and servicecomponentdesiredstate tables. Thanks, Alejandro From: Brian Jeltema > Reply-To: "user@ambari.apache.org" > Date: Tuesday, November 17, 2015 at 11:03 AM To: "user@ambari.apache.org" > Subject: Re: NPE doing rolling upgrade I added the Ambari Server to the cluster using the Ambari =91Add Host=92 fu= nction. It installed it as an HDP 2.3.0 client. How the rolling update is failing because it thinks a service hasn=92t been= started. I=92m fairly certain it=92s complaining about the NFS Gateway, which I don=92t have running: 17 Nov 2015 13:28:04,345 ERROR [qtp-client-27] CheckHelper:72 - Check SERVI= CES_UP failed org.apache.ambari.server.StackAccessException: Stack data, stackName=3DHDP,= stackVersion=3D2.2, serviceName=3DHDFS, componentName=3DNFS_GATEWAY I tried to add the NFS Gateway to one of the 2.2 cluster nodes, but the add= failed, I think because Ambari doesn=92t support the NFS Gateway in HDP 2.2. However the service check failure above= is looking at stackVersion=3D2.2. Is there some way to disable this check? Brian On Nov 17, 2015, at 8:39 AM, Jonathan Hurley > wrote: This is a problem that happens when the host with Ambari is not also a part= of the cluster. You should probably downgrade and make the Ambari server a= part of the cluster by installing a simple client on it. Then you can try = the upgrade again. This is fixed in Ambari 2.1.3 On Nov 17, 2015, at 7:59 AM, Brian Jeltema > wrote: I recently upgraded to Ambari 2.1.2.1 and am attempting to do a rolling upg= rade from HDP 2.2.8.0 to HDP 2.3.2.0. About 15 seconds after the upgrade begins, the UI displays an error dialog: 500 status code received on POST method for API: /api/v1/clusters/dev/upg= rades Error message: Server Error and the Ambari server log contains the two stack traces below. Does anyone = know what might be causing this? Thanks Brian 17 Nov 2015 07:46:41,061 INFO [qtp-client-23] ConfigureTask:452 - Skipping= property delete for hive-site/hive.server2.authentication.pam.services as = the value NONE for hive-site/hive.server2.authentication is not equal to cu= stom 17 Nov 2015 07:46:41,061 INFO [qtp-client-23] ConfigureTask:452 - Skipping= property delete for hive-site/hive.server2.authentication.kerberos.keytab = as the value NONE for hive-site/hive.server2.authentication is not equal to= custom 17 Nov 2015 07:46:41,062 INFO [qtp-client-23] ConfigureTask:452 - Skipping= property delete for hive-site/hive.server2.authentication.kerberos.princip= al as the value NONE for hive-site/hive.server2.authentication is not equal= to custom 17 Nov 2015 07:46:41,380 ERROR [qtp-client-23] BaseManagementHandler:66 - C= aught a runtime exception while attempting to create a resource java.lang.NullPointerException at org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.persistActio= ns(ActionDBAccessorImpl.java:300) at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJ= paLocalTxnInterceptor.java:68) at org.apache.ambari.server.actionmanager.ActionManager.sendActions(ActionM= anager.java:99) at org.apache.ambari.server.controller.internal.RequestStageContainer.persi= st(RequestStageContainer.java:216) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.cre= ateUpgrade(UpgradeResourceProvider.java:752) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.acc= ess$100(UpgradeResourceProvider.java:116) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.i= nvoke(UpgradeResourceProvider.java:284) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.i= nvoke(UpgradeResourceProvider.java:274) at org.apache.ambari.server.controller.internal.AbstractResourceProvider.cr= eateResources(AbstractResourceProvider.java:272) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.cre= ateResources(UpgradeResourceProvider.java:274) at org.apache.ambari.server.controller.internal.ClusterControllerImpl.creat= eResources(ClusterControllerImpl.java:289) at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl= .create(PersistenceManagerImpl.java:76) at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandle= r.java:36) at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleReques= t(BaseManagementHandler.java:72) at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.ja= va:135) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseServ= ice.java:105) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseServ= ice.java:74) at org.apache.ambari.server.api.services.UpgradeService.createUpgrade(Upgra= deService.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMetho= dInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodD= ispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatch= Provider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispa= tcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRul= e.java:302) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRul= e.java:137) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandP= athRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceCl= assRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandP= athRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Root= ResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest= (WebApplicationImpl.java:1542) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest= (WebApplicationImpl.java:1473) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(= WebApplicationImpl.java:1419) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(= WebApplicationImpl.java:1409) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.j= ava:409) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon= tainer.java:540) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon= tainer.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1496) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:330) at org.springframework.security.web.access.intercept.FilterSecurityIntercep= tor.invoke(FilterSecurityInterceptor.java:118) at org.springframework.security.web.access.intercept.FilterSecurityIntercep= tor.doFilter(FilterSecurityInterceptor.java:84) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.access.ExceptionTranslationFilter.doFil= ter(ExceptionTranslationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.session.SessionManagementFilter.doFilte= r(SessionManagementFilter.java:103) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AnonymousAuthenticationF= ilter.doFilter(AnonymousAuthenticationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRe= questFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.do= Filter(RequestCacheAwareFilter.java:45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.apache.ambari.server.security.authorization.AmbariAuthorizationFilte= r.doFilter(AmbariAuthorizationFilter.java:182) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.www.BasicAuthenticationF= ilter.doFilter(BasicAuthenticationFilter.java:150) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilte= r.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(Filte= rChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainPr= oxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Dele= gatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating= FilterProxy.java:167) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrid= eFilter.java:72) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistF= ilter.java:47) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java= :82) at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:50= 1) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java= :137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:5= 57) 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:429= ) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.j= ava:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.j= ava:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java= :135) at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(Am= bariHandlerList.java:209) at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(Am= bariHandlerList.java:198) at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandl= erList.java:132) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.ja= va:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHt= tpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConn= ection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(A= bstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.= java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPo= int.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoi= nt.java:53) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.j= ava:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.ja= va:543) at java.lang.Thread.run(Thread.java:745) 17 Nov 2015 07:46:41,383 WARN [qtp-client-23] ServletHandler:563 - /api/v1= /clusters/dev/upgrades java.lang.NullPointerException at org.apache.ambari.server.actionmanager.ActionDBAccessorImpl.persistActio= ns(ActionDBAccessorImpl.java:300) at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJ= paLocalTxnInterceptor.java:68) at org.apache.ambari.server.actionmanager.ActionManager.sendActions(ActionM= anager.java:99) at org.apache.ambari.server.controller.internal.RequestStageContainer.persi= st(RequestStageContainer.java:216) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.cre= ateUpgrade(UpgradeResourceProvider.java:752) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.acc= ess$100(UpgradeResourceProvider.java:116) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.i= nvoke(UpgradeResourceProvider.java:284) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider$1.i= nvoke(UpgradeResourceProvider.java:274) at org.apache.ambari.server.controller.internal.AbstractResourceProvider.cr= eateResources(AbstractResourceProvider.java:272) at org.apache.ambari.server.controller.internal.UpgradeResourceProvider.cre= ateResources(UpgradeResourceProvider.java:274) at org.apache.ambari.server.controller.internal.ClusterControllerImpl.creat= eResources(ClusterControllerImpl.java:289) at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl= .create(PersistenceManagerImpl.java:76) at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandle= r.java:36) at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleReques= t(BaseManagementHandler.java:72) at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.ja= va:135) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseServ= ice.java:105) at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseServ= ice.java:74) at org.apache.ambari.server.api.services.UpgradeService.createUpgrade(Upgra= deService.java:58) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMetho= dInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodD= ispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatch= Provider.java:205) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispa= tcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRul= e.java:302) at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRul= e.java:137) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandP= athRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceCl= assRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandP= athRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(Root= ResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest= (WebApplicationImpl.java:1542) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest= (WebApplicationImpl.java:1473) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(= WebApplicationImpl.java:1419) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(= WebApplicationImpl.java:1409) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.j= ava:409) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon= tainer.java:540) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletCon= tainer.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1496) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:330) at org.springframework.security.web.access.intercept.FilterSecurityIntercep= tor.invoke(FilterSecurityInterceptor.java:118) at org.springframework.security.web.access.intercept.FilterSecurityIntercep= tor.doFilter(FilterSecurityInterceptor.java:84) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.access.ExceptionTranslationFilter.doFil= ter(ExceptionTranslationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.session.SessionManagementFilter.doFilte= r(SessionManagementFilter.java:103) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.AnonymousAuthenticationF= ilter.doFilter(AnonymousAuthenticationFilter.java:113) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRe= questFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.do= Filter(RequestCacheAwareFilter.java:45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.apache.ambari.server.security.authorization.AmbariAuthorizationFilte= r.doFilter(AmbariAuthorizationFilter.java:182) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.authentication.www.BasicAuthenticationF= ilter.doFilter(BasicAuthenticationFilter.java:150) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilte= r.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doF= ilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(Filte= rChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainPr= oxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Dele= gatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(Delegating= FilterProxy.java:167) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrid= eFilter.java:72) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistF= ilter.java:47) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java= :82) at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan= dler.java:1467) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:50= 1) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java= :137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:5= 57) 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:429= ) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.j= ava:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.j= ava:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java= :135) at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(Am= bariHandlerList.java:209) at org.apache.ambari.server.controller.AmbariHandlerList.processHandlers(Am= bariHandlerList.java:198) at org.apache.ambari.server.controller.AmbariHandlerList.handle(AmbariHandl= erList.java:132) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.ja= va:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHt= tpConnection.java:494) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConn= ection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(A= bstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.= java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPo= int.java:696) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoi= nt.java:53) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.j= ava:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.ja= va:543) at java.lang.Thread.run(Thread.java:745) --_000_D271FEEB49786afernandezhortonworkscom_ Content-Type: text/html; charset="Windows-1252" Content-ID: <479FC0EFF6E8E1458366F88C816D1F78@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable
Perhaps the agent needs to be restarted, and check the pid file for th= e process.

From: Brian Jeltema <bdjeltema@gmail.com>
Reply-To: "user@ambari.apache.org" <user@ambari.apache.org>
Date: Tuesday, November 17, 2015 at= 3:31 PM
To: "user@ambari.apache.org" <user@ambari.apache.org>
Subject: Re: NPE doing rolling upgr= ade

Nope. It=92s not in any of those tables.

On Nov 17, 2015, at 3:21 PM, Alejandro Fernandez <afernandez@hortonworks.c= om> wrote:

It must still be present on one of the tables.

servicecomponentdesiredstate
requestresourcefilter
hostcomponentstate
hostcomponentdesiredstate

From: Brian Jeltema <= bdjeltema@gmail.com&g= t;
Date: Tuesday, November = 17, 2015 at 11:57 AM
To: Alejandro Fernandez = <afernandez@hor= tonworks.com>
Cc: "user@ambari.apache.org" <= ;user@ambari.apache.or= g>
Subject: Re: NPE doing r= olling upgrade

It only appeared in the servicecomponentdesiredstate table. I delet= ed that row.
But it still shows as =91Started=92 in t= he HDFS service page in the UI. I restarted
ambari-server, but it still shows as Started.=

On Nov 17, 2015, at 2:37 PM, Alejandro Fernandez <afernandez@hortonworks.c= om> wrote:

Delete from the DB in those 3 tables.

From: Brian Jeltema <= bdjeltema@gmail.com&g= t;
Reply-To: "user@ambari.apache.org&qu= ot; <user@ambari.ap= ache.org>
Date: Tuesday, November = 17, 2015 at 11:15 AM
To: "user@ambari.apache.org" <= ;user@ambari.apache.or= g>
Subject: Re: NPE doing r= olling upgrade

That didn=92t work because Ambari thinks the NFS Gateway is in the STARTED = state, even though there are 0/0 installed.
How do I stop it?

Thanks.

On Nov 17, 2015, at 2:08 PM, Alejandro Fernandez <afernandez@hortonworks.c= om> wrote:

Hi Brian, can you try this,

curl -u $user:$password -X DELETE -H 'X-Requested-By:admin'= http://$server:8080/api/v1/clusters/$name/services/HDFS/components/NFS_GATE= WAY
It should be deleted from the hostcomponentstate, hostcompo= nentdesiredstate, and servicecomponentdesiredstate tables.

Thanks,
Alejandro

From: Brian Jeltema <= bdjeltema@gmail.com&g= t;
Reply-To: "user@ambari.apache.org&qu= ot; <user@ambari.ap= ache.org>
Date: Tuesday, November = 17, 2015 at 11:03 AM
To: "user@ambari.apache.org" <= ;user@ambari.apache.or= g>
Subject: Re: NPE doing r= olling upgrade

I added the Ambari Server to the cluster using the Ambari =91Add Host=92 fu= nction. It installed it as an HDP 2.3.0 client.
How the rolling update is failing because it thinks a servi= ce hasn=92t been started. I=92m fairly certain it=92s complaining
about the NFS Gateway, which I don=92t have running:

17 Nov 2015 13:28:04,345 ERROR [qtp-client-27] CheckHelper:72 - Check SERVI= CES_UP failed
org.apache.ambari.server.StackAccessException: Stack data, stackName=3DHDP,= stackVersion=3D2.2, serviceName=3DHDFS, componentName=3DNFS_GATEWAY

I tried to add = the NFS Gateway to one of the 2.2 cluster nodes, but the add failed, I thin= k because Ambari doesn=92t 
support the NFS= Gateway in HDP 2.2. However the service check failure above is looking at = stackVersion=3D2.2.

Is there some w= ay to disable this check?

Brian

On Nov 17, 2015, at 8:39 AM, Jonathan Hurley <jhurley@hortonworks.com>= wrote:

This is a problem that happens when the host with Ambari is= not also a part of the cluster. You should probably downgrade and make the= Ambari server a part of the cluster by installing a simple client on it. T= hen you can try the upgrade again.

This is fixed in Ambari 2.1.3

On Nov 17, 2015, at 7:59 AM, Brian Jeltema <bdjeltema@gmail.com> wrote:
I recently upgraded to Ambari 2.1.2.1 and am attempting to do a rolling upg= rade
from HDP 2.2.8.0 to HDP 2.3.2.0.

About 15 seconds after the upgrade begins, the UI displays = an error dialog:

  500 status code received on POST method for AP= I: /api/v1/clusters/dev/upgrades
 Error =
message: Server Error

and the Ambari server log contains the two stack traces bel= ow. Does anyone know what might be
causing  this?

Thanks
Brian


17 Nov 2015 07:46:41,061  INFO [qtp-client-23] ConfigureTask:452 - Ski= pping property delete for hive-site/hive.server2.authentication.pam.service= s as the value NONE for hive-site/hive.server2.authentication is not equal = to custom
17 Nov 2015 07:46:41,061  INFO [qtp-client-23] ConfigureTask:452 - Ski= pping property delete for hive-site/hive.server2.authentication.kerberos.ke= ytab as the value NONE for hive-site/hive.server2.authentication is not equ= al to custom
17 Nov 2015 07:46:41,062  INFO [qtp-client-23] ConfigureTask:452 - Ski= pping property delete for hive-site/hive.server2.authentication.kerberos.pr= incipal as the value NONE for hive-site/hive.server2.authentication is not = equal to custom
17 Nov 2015 07:46:41,380 ERROR [qtp-client-23] BaseManagementHandler:66 - C= aught a runtime exception while attempting to create a resource
java.lang.NullPointerException
at org.apac= he.ambari.server.actionmanager.ActionDBAccessorImpl.persistActions(ActionDB= AccessorImpl.java:300)
at org.apac= he.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnI= nterceptor.java:68)
at org.apac= he.ambari.server.actionmanager.ActionManager.sendActions(ActionManager.java= :99)
at org.apac= he.ambari.server.controller.internal.RequestStageContainer.persist(RequestS= tageContainer.java:216)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.createUpgrade(= UpgradeResourceProvider.java:752)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.access$100(Upg= radeResourceProvider.java:116)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(Upgra= deResourceProvider.java:284)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(Upgra= deResourceProvider.java:274)
at org.apac= he.ambari.server.controller.internal.AbstractResourceProvider.createResourc= es(AbstractResourceProvider.java:272)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.createResource= s(UpgradeResourceProvider.java:274)
at org.apac= he.ambari.server.controller.internal.ClusterControllerImpl.createResources(= ClusterControllerImpl.java:289)
at org.apac= he.ambari.server.api.services.persistence.PersistenceManagerImpl.create(Per= sistenceManagerImpl.java:76)
at org.apac= he.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36)<= /div>
at org.apac= he.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManag= ementHandler.java:72)
at org.apac= he.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
at org.apac= he.ambari.server.api.services.BaseService.handleRequest(BaseService.java:10= 5)
at org.apac= he.ambari.server.api.services.BaseService.handleRequest(BaseService.java:74= )
at org.apac= he.ambari.server.api.services.UpgradeService.createUpgrade(UpgradeService.j= ava:58)
at sun.refl= ect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.refl= ect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.refl= ect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4= 3)
at java.lan= g.reflect.Method.invoke(Method.java:483)
at com.sun.= jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFac= tory.java:60)
at com.sun.= jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProv= ider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.ja= va:205)
at com.sun.= jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispa= tch(ResourceJavaMethodDispatcher.java:75)
at com.sun.= jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)=
at com.sun.= jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)=
at com.sun.= jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.jav= a:147)
at com.sun.= jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.jav= a:108)
at com.sun.= jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.jav= a:147)
at com.sun.= jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceCla= ssesRule.java:84)
at com.sun.= jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplica= tionImpl.java:1542)
at com.sun.= jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplica= tionImpl.java:1473)
at com.sun.= jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicat= ionImpl.java:1419)
at com.sun.= jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicat= ionImpl.java:1409)
at com.sun.= jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.= jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java= :540)
at com.sun.= jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java= :715)
at javax.se= rvlet.http.HttpServlet.service(HttpServlet.java:848)
at org.ecli= pse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 496)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:330)
at org.spri= ngframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(= FilterSecurityInterceptor.java:118)
at org.spri= ngframework.security.web.access.intercept.FilterSecurityInterceptor.doFilte= r(FilterSecurityInterceptor.java:84)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.access.ExceptionTranslationFilter.doFilter(Excepti= onTranslationFilter.java:113)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.session.SessionManagementFilter.doFilter(SessionMa= nagementFilter.java:103)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.authentication.AnonymousAuthenticationFilter.doFil= ter(AnonymousAuthenticationFilter.java:113)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter= .doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(Requ= estCacheAwareFilter.java:45)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.apac= he.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(= AmbariAuthorizationFilter.java:182)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.authentication.www.BasicAuthenticationFilter.doFil= ter(BasicAuthenticationFilter.java:150)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.context.SecurityContextPersistenceFilter.doFilter(= SecurityContextPersistenceFilter.java:87)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy= .java:192)
at org.spri= ngframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:16= 0)
at org.spri= ngframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilte= rProxy.java:237)
at org.spri= ngframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy= .java:167)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.apac= he.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.jav= a:72)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.apac= he.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:= 47)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.ecli= pse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.ecli= pse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.ecli= pse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
at org.ecli= pse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.ecli= pse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.ecli= pse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.ecli= pse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)<= /div>
at org.ecli= pse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.ecli= pse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.ecli= pse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.ecli= pse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.apac= he.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandler= List.java:209)
at org.apac= he.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandler= List.java:198)
at org.apac= he.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java= :132)
at org.ecli= pse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.ecli= pse.jetty.server.Server.handle(Server.java:370)
at org.ecli= pse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnectio= n.java:494)
at org.ecli= pse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java= :982)
at org.ecli= pse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttp= Connection.java:1043)
at org.ecli= pse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.ecli= pse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.ecli= pse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.ecli= pse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:69= 6)
at org.ecli= pse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)=
at org.ecli= pse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.ecli= pse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lan= g.Thread.run(Thread.java:745)
17 Nov 2015 07:46:41,383  WARN [qtp-client-23] ServletHandler:563 - /a= pi/v1/clusters/dev/upgrades
java.lang.NullPointerException
at org.apac= he.ambari.server.actionmanager.ActionDBAccessorImpl.persistActions(ActionDB= AccessorImpl.java:300)
at org.apac= he.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnI= nterceptor.java:68)
at org.apac= he.ambari.server.actionmanager.ActionManager.sendActions(ActionManager.java= :99)
at org.apac= he.ambari.server.controller.internal.RequestStageContainer.persist(RequestS= tageContainer.java:216)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.createUpgrade(= UpgradeResourceProvider.java:752)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.access$100(Upg= radeResourceProvider.java:116)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(Upgra= deResourceProvider.java:284)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider$1.invoke(Upgra= deResourceProvider.java:274)
at org.apac= he.ambari.server.controller.internal.AbstractResourceProvider.createResourc= es(AbstractResourceProvider.java:272)
at org.apac= he.ambari.server.controller.internal.UpgradeResourceProvider.createResource= s(UpgradeResourceProvider.java:274)
at org.apac= he.ambari.server.controller.internal.ClusterControllerImpl.createResources(= ClusterControllerImpl.java:289)
at org.apac= he.ambari.server.api.services.persistence.PersistenceManagerImpl.create(Per= sistenceManagerImpl.java:76)
at org.apac= he.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:36)<= /div>
at org.apac= he.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManag= ementHandler.java:72)
at org.apac= he.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
at org.apac= he.ambari.server.api.services.BaseService.handleRequest(BaseService.java:10= 5)
at org.apac= he.ambari.server.api.services.BaseService.handleRequest(BaseService.java:74= )
at org.apac= he.ambari.server.api.services.UpgradeService.createUpgrade(UpgradeService.j= ava:58)
at sun.refl= ect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.refl= ect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.refl= ect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4= 3)
at java.lan= g.reflect.Method.invoke(Method.java:483)
at com.sun.= jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFac= tory.java:60)
at com.sun.= jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProv= ider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.ja= va:205)
at com.sun.= jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispa= tch(ResourceJavaMethodDispatcher.java:75)
at com.sun.= jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)=
at com.sun.= jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)=
at com.sun.= jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.jav= a:147)
at com.sun.= jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.jav= a:108)
at com.sun.= jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.jav= a:147)
at com.sun.= jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceCla= ssesRule.java:84)
at com.sun.= jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplica= tionImpl.java:1542)
at com.sun.= jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplica= tionImpl.java:1473)
at com.sun.= jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicat= ionImpl.java:1419)
at com.sun.= jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicat= ionImpl.java:1409)
at com.sun.= jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.= jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java= :540)
at com.sun.= jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java= :715)
at javax.se= rvlet.http.HttpServlet.service(HttpServlet.java:848)
at org.ecli= pse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 496)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:330)
at org.spri= ngframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(= FilterSecurityInterceptor.java:118)
at org.spri= ngframework.security.web.access.intercept.FilterSecurityInterceptor.doFilte= r(FilterSecurityInterceptor.java:84)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.access.ExceptionTranslationFilter.doFilter(Excepti= onTranslationFilter.java:113)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.session.SessionManagementFilter.doFilter(SessionMa= nagementFilter.java:103)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.authentication.AnonymousAuthenticationFilter.doFil= ter(AnonymousAuthenticationFilter.java:113)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter= .doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(Requ= estCacheAwareFilter.java:45)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.apac= he.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(= AmbariAuthorizationFilter.java:182)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.authentication.www.BasicAuthenticationFilter.doFil= ter(BasicAuthenticationFilter.java:150)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.context.SecurityContextPersistenceFilter.doFilter(= SecurityContextPersistenceFilter.java:87)
at org.spri= ngframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filte= rChainProxy.java:342)
at org.spri= ngframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy= .java:192)
at org.spri= ngframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:16= 0)
at org.spri= ngframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilte= rProxy.java:237)
at org.spri= ngframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy= .java:167)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.apac= he.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.jav= a:72)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.apac= he.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:= 47)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.ecli= pse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
at org.ecli= pse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
at org.ecli= pse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1= 467)
at org.ecli= pse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
at org.ecli= pse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.ecli= pse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.ecli= pse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.ecli= pse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)<= /div>
at org.ecli= pse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at org.ecli= pse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.ecli= pse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.ecli= pse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.apac= he.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandler= List.java:209)
at org.apac= he.ambari.server.controller.AmbariHandlerList.processHandlers(AmbariHandler= List.java:198)
at org.apac= he.ambari.server.controller.AmbariHandlerList.handle(AmbariHandlerList.java= :132)
at org.ecli= pse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.ecli= pse.jetty.server.Server.handle(Server.java:370)
at org.ecli= pse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnectio= n.java:494)
at org.ecli= pse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java= :982)
at org.ecli= pse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttp= Connection.java:1043)
at org.ecli= pse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
at org.ecli= pse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
at org.ecli= pse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.ecli= pse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:69= 6)
at org.ecli= pse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)=
at org.ecli= pse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.ecli= pse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lan= g.Thread.run(Thread.java:745)






--_000_D271FEEB49786afernandezhortonworkscom_--