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 0E4A1200C46 for ; Tue, 14 Mar 2017 18:36:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0B16F160B89; Tue, 14 Mar 2017 17:36:48 +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 117FA160B63 for ; Tue, 14 Mar 2017 18:36:46 +0100 (CET) Received: (qmail 99904 invoked by uid 500); 14 Mar 2017 17:36:45 -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 99884 invoked by uid 99); 14 Mar 2017 17:36:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Mar 2017 17:36:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AC5EDC86D6 for ; Tue, 14 Mar 2017 17:36:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.653 X-Spam-Level: X-Spam-Status: No, score=0.653 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lR-RZRJHxZqF for ; Tue, 14 Mar 2017 17:36:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 16F5E5FAF3 for ; Tue, 14 Mar 2017 17:36:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 13813E0419 for ; Tue, 14 Mar 2017 17:36:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BE609243A6 for ; Tue, 14 Mar 2017 17:36:41 +0000 (UTC) Date: Tue, 14 Mar 2017 17:36:41 +0000 (UTC) From: "Aravindan Vijayan (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17576) Tez View failed to fetch data from ATS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Mar 2017 17:36:48 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17576?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aravindan Vijayan updated AMBARI-17576: --------------------------------------- Fix Version/s: (was: 2.5.0) 3.0.0 > Tez View failed to fetch data from ATS > -------------------------------------- > > Key: AMBARI-17576 > URL: https://issues.apache.org/jira/browse/AMBARI-17576 > Project: Ambari > Issue Type: Bug > Components: ambari-views > Affects Versions: 2.4.0 > Reporter: Yesha Vora > Fix For: 3.0.0 > > > Tez View fails with "HTTP error : 500 Failed to fetch data from ATS". The= rest api call failed with "SPNego authentication failed, can not get hadoo= p.auth cookie" error. > {code}Details: > { > "message": "Failed to fetch results by the proxy from url: http://xx.= xx.xx.xxx:8188/ws/v1/timeline/TEZ_DAG_ID?limit=3D11&_=3D1467753416007. Inte= rnal Error.. SPNego authentication failed, can not get hadoop.auth cookie", > "status": 500, > "trace": "java.io.IOException: SPNego authentication failed, can not = get hadoop.auth cookie\n\tat org.apache.ambari.server.controller.internal.A= ppCookieManager.getAppCookie(AppCookieManager.java:123)\n\tat org.apache.am= bari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvi= der.java:228)\n\tat org.apache.ambari.server.view.ViewURLStreamProvider.get= HttpURLConnection(ViewURLStreamProvider.java:239)\n\tat org.apache.ambari.s= erver.view.ViewURLStreamProvider.getConnection(ViewURLStreamProvider.java:1= 46)\n\tat org.apache.ambari.server.view.ViewURLStreamProvider.getConnection= As(ViewURLStreamProvider.java:163)\n\tat org.apache.ambari.server.view.View= URLStreamProvider.getConnectionAsCurrent(ViewURLStreamProvider.java:180)\n\= tat org.apache.ambari.view.tez.utils.ProxyHelper.getResponse(ProxyHelper.ja= va:57)\n\tat org.apache.ambari.view.tez.rest.BaseProxyResource.getData(Base= ProxyResource.java:64)\n\tat sun.reflect.GeneratedMethodAccessor461.invoke(= Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg= atingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Meth= od.java:606)\n\tat com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.= invoke(JavaMethodInvokerFactory.java:60)\n\tat com.sun.jersey.server.impl.m= odel.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvo= ker._dispatch(AbstractResourceMethodDispatchProvider.java:205)\n\tat com.su= n.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dis= patch(ResourceJavaMethodDispatcher.java:75)\n\tat com.sun.jersey.server.imp= l.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)\n\tat com.sun.je= rsey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:= 147)\n\tat com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLo= catorRule.java:137)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPat= hRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.u= ri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)\n\tat com.sun.jerse= y.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147= )\n\tat com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocat= orRule.java:137)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRu= le.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.uri.= rules.SubLocatorRule.accept(SubLocatorRule.java:137)\n\tat com.sun.jersey.s= erver.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)\n= \tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(Resource= ClassRule.java:108)\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPat= hRule.accept(RightHandPathRule.java:147)\n\tat com.sun.jersey.server.impl.u= ri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)\n\= tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleReques= t(WebApplicationImpl.java:1542)\n\tat com.sun.jersey.server.impl.applicatio= n.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)\n\tat com= .sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApp= licationImpl.java:1419)\n\tat com.sun.jersey.server.impl.application.WebApp= licationImpl.handleRequest(WebApplicationImpl.java:1409)\n\tat com.sun.jers= ey.spi.container.servlet.WebComponent.service(WebComponent.java:409)\n\tat = com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContai= ner.java:540)\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.s= ervice(ServletContainer.java:715)\n\tat javax.servlet.http.HttpServlet.serv= ice(HttpServlet.java:790)\n\tat org.eclipse.jetty.servlet.ServletHolder.han= dle(ServletHolder.java:808)\n\tat org.eclipse.jetty.servlet.ServletHandler$= CachedChain.doFilter(ServletHandler.java:1669)\n\tat org.springframework.se= curity.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.ja= va:330)\n\tat org.springframework.security.web.access.intercept.FilterSecur= ityInterceptor.invoke(FilterSecurityInterceptor.java:118)\n\tat org.springf= ramework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(F= ilterSecurityInterceptor.java:84)\n\tat org.springframework.security.web.Fi= lterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat= org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.= doFilter(AmbariAuthorizationFilter.java:257)\n\tat org.springframework.secu= rity.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java= :342)\n\tat org.springframework.security.web.access.ExceptionTranslationFil= ter.doFilter(ExceptionTranslationFilter.java:113)\n\tat org.springframework= .security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy= .java:342)\n\tat org.springframework.security.web.session.SessionManagement= Filter.doFilter(SessionManagementFilter.java:103)\n\tat org.springframework= .security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy= .java:342)\n\tat org.springframework.security.web.authentication.AnonymousA= uthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)\n\tat = org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilt= er(FilterChainProxy.java:342)\n\tat org.springframework.security.web.servle= tapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolder= AwareRequestFilter.java:54)\n\tat org.springframework.security.web.FilterCh= ainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.s= pringframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(R= equestCacheAwareFilter.java:45)\n\tat org.springframework.security.web.Filt= erChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat o= rg.apache.ambari.server.security.authorization.jwt.JwtAuthenticationFilter.= doFilter(JwtAuthenticationFilter.java:96)\n\tat org.springframework.securit= y.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:34= 2)\n\tat org.springframework.security.web.authentication.www.BasicAuthentic= ationFilter.doFilter(BasicAuthenticationFilter.java:150)\n\tat org.apache.a= mbari.server.security.authentication.AmbariAuthenticationFilter.doFilter(Am= bariAuthenticationFilter.java:88)\n\tat org.springframework.security.web.Fi= lterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat= org.apache.ambari.server.security.authorization.AmbariUserAuthorizationFil= ter.doFilter(AmbariUserAuthorizationFilter.java:91)\n\tat org.springframewo= rk.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainPro= xy.java:342)\n\tat org.springframework.security.web.context.SecurityContext= PersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)\n\tat = org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilt= er(FilterChainProxy.java:342)\n\tat org.springframework.security.web.Filter= ChainProxy.doFilterInternal(FilterChainProxy.java:192)\n\tat org.springfram= ework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)\n\t= at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Dele= gatingFilterProxy.java:237)\n\tat org.springframework.web.filter.Delegating= FilterProxy.doFilter(DelegatingFilterProxy.java:167)\n\tat org.eclipse.jett= y.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\t= at org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrid= eFilter.java:72)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain= .doFilter(ServletHandler.java:1652)\n\tat org.apache.ambari.server.api.Amba= riPersistFilter.doFilter(AmbariPersistFilter.java:47)\n\tat org.eclipse.jet= ty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\= tat org.apache.ambari.server.view.AmbariViewsMDCLoggingFilter.doFilter(Amba= riViewsMDCLoggingFilter.java:54)\n\tat org.eclipse.jetty.servlet.ServletHan= dler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.apache.ambari= .server.view.ViewThrottleFilter.doFilter(ViewThrottleFilter.java:161)\n\tat= org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandl= er.java:1652)\n\tat org.apache.ambari.server.security.AbstractSecurityHeade= rFilter.doFilter(AbstractSecurityHeaderFilter.java:109)\n\tat org.eclipse.j= etty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\= n\tat org.apache.ambari.server.security.AbstractSecurityHeaderFilter.doFilt= er(AbstractSecurityHeaderFilter.java:109)\n\tat org.eclipse.jetty.servlet.S= ervletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat org.ecli= pse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)\n\tat = org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)\n\tat o= rg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler= .java:1652)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(Servlet= Handler.java:585)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.hand= le(ScopedHandler.java:143)\n\tat org.eclipse.jetty.security.SecurityHandler= .handle(SecurityHandler.java:577)\n\tat org.eclipse.jetty.server.session.Se= ssionHandler.doHandle(SessionHandler.java:223)\n\tat org.eclipse.jetty.serv= er.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat org.ecli= pse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat org= .eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:18= 5)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHan= dler.java:1061)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle= (ScopedHandler.java:141)\n\tat org.apache.ambari.server.controller.AmbariHa= ndlerList.processHandlers(AmbariHandlerList.java:216)\n\tat org.apache.amba= ri.server.controller.AmbariHandlerList.processHandlers(AmbariHandlerList.ja= va:205)\n\tat org.apache.ambari.server.controller.AmbariHandlerList.handle(= AmbariHandlerList.java:152)\n\tat org.eclipse.jetty.server.handler.HandlerW= rapper.handle(HandlerWrapper.java:97)\n\tat org.eclipse.jetty.server.Server= .handle(Server.java:499)\n\tat org.eclipse.jetty.server.HttpChannel.handle(= HttpChannel.java:310)\n\tat org.eclipse.jetty.server.HttpConnection.onFilla= ble(HttpConnection.java:257)\n\tat org.eclipse.jetty.io.AbstractConnection$= 2.run(AbstractConnection.java:540)\n\tat org.eclipse.jetty.util.thread.Queu= edThreadPool.runJob(QueuedThreadPool.java:635)\n\tat org.eclipse.jetty.util= .thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat java.lang.T= hread.run(Thread.java:745)\n" > } > Request: > { > "adapterName": "dag", > "url": "http://xx.xx.xx.xxx:8080/api/v1/views/TEZ/versions/xx.xx.xx.x= xx/instances/TEZ_CLUSTER_INSTANCE/resources/atsproxy/ws/v1/timeline/TEZ_DAG= _ID", > "responseHeaders": { > "X-XSS-Protection": "1; mode=3Dblock", > "Date": "Tue, 05 Jul 2016 21:16:56 GMT", > "User": "admin", > "Server": "Jetty(9.2.11.v20150529)", > "Content-Length": "10551", > "X-Frame-Options": "SAMEORIGIN", > "Content-Type": "application/json" > }, > "queryParams": { > "limit": 11 > }, > "namespace": "dags" > } > Stack: > Error: Adapter operation failed > at new Error (native) > at Error.EmberError (http://xx.xx.xx.xxx:8080/views/TEZ/xx.xx.xx.xxx/= TEZ_CLUSTER_INSTANCE/assets/vendor.js:24586:21) > at Error.ember$data$lib$adapters$errors$$AdapterError (http://xx.xx.x= x.xxx:8080/views/TEZ/xx.xx.xx.xxx/TEZ_CLUSTER_INSTANCE/assets/vendor.js:802= 22:50) > at Class.handleResponse (http://xx.xx.xx.xxx:8080/views/TEZ/xx.xx.xx.= xxx/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81517:16) > at Class.hash.error (http://xx.xx.xx.xxx:8080/views/TEZ/xx.xx.xx.xxx/= TEZ_CLUSTER_INSTANCE/assets/vendor.js:81597:33) > at fire (http://xx.xx.xx.xxx:8080/views/TEZ/xx.xx.xx.xxx/TEZ_CLUSTER_= INSTANCE/assets/vendor.js:3320:30) > at Object.fireWith [as rejectWith] (http://xx.xx.xx.xxx:8080/views/TE= Z/xx.xx.xx.xxx/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3432:7) > at done (http://xx.xx.xx.xxx:8080/views/TEZ/xx.xx.xx.xxx/TEZ_CLUSTER_= INSTANCE/assets/vendor.js:8487:14) > at XMLHttpRequest. (http://xx.xx.xx.xxx:8080/views/TEZ/xx.= xx.xx.xxx/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8826:9) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)