ambari 集群在实际应用过程中出现的(我认为)一个比较大的问题,目前是未解决这个问题,希望广大的博客主们能帮忙解决一下:
下面的日志信息是在ambari (Version 2.7.3.0 ) 集群的/var/log/hadoop-yarn/yarn/ 目录下的文件 hadoop-yarn-resourcemanager-master.hadoop.log 里面的内容:
2019-10-09 16:50:22,200 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:22,200 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:22,200 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:22,200 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:22,200 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:22,200 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:23,201 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:23,201 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:23,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:23,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:23,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:23,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:24,202 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:24,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:24,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:24,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:24,202 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:24,203 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,203 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:25,203 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,203 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,204 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,204 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,204 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:25,327 ERROR webapp.Dispatcher (Dispatcher.java:service(171)) - error handling URI: /cluster org.eclipse.jetty.io.RuntimeIOException: org.eclipse.jetty.io.EofException at org.eclipse.jetty.server.ResponseWriter.isOpen(ResponseWriter.java:133) at org.eclipse.jetty.server.ResponseWriter.println(ResponseWriter.java:314) at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl$EImp._p(HamletImpl.java:110) at org.apache.hadoop.yarn.webapp.hamlet2.Hamlet$SCRIPT.__(Hamlet.java:457) at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMAppsBlock.renderData(RMAppsBlock.java:194) at org.apache.hadoop.yarn.server.webapp.AppsBlock.render(AppsBlock.java:145) at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:69) at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:79) at org.apache.hadoop.yarn.webapp.View.render(View.java:243) at org.apache.hadoop.yarn.webapp.view.HtmlBlock$Block.subView(HtmlBlock.java:43) at org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.__(Hamlet.java:30354) at org.apache.hadoop.yarn.server.resourcemanager.webapp.AppsBlockWithMetrics.render(AppsBlockWithMetrics.java:29) at org.apache.hadoop.yarn.webapp.view.HtmlBlock.render(HtmlBlock.java:69) at org.apache.hadoop.yarn.webapp.view.HtmlBlock.renderPartial(HtmlBlock.java:79) at org.apache.hadoop.yarn.webapp.View.render(View.java:243) at org.apache.hadoop.yarn.webapp.view.HtmlPage$Page.subView(HtmlPage.java:49) at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl$EImp._v(HamletImpl.java:117) at org.apache.hadoop.yarn.webapp.hamlet2.Hamlet$TD.__(Hamlet.java:848) at org.apache.hadoop.yarn.webapp.view.TwoColumnLayout.render(TwoColumnLayout.java:71) at org.apache.hadoop.yarn.webapp.view.HtmlPage.render(HtmlPage.java:82) at org.apache.hadoop.yarn.webapp.Dispatcher.render(Dispatcher.java:206) at org.apache.hadoop.yarn.webapp.Dispatcher.service(Dispatcher.java:165) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:941) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:875) at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebAppFilter.doFilter(RMWebAppFilter.java:178) at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119) at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.apache.hadoop.security.http.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:57) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:644) at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:592) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.apache.hadoop.security.http.CrossOriginFilter.doFilter(CrossOriginFilter.java:98) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1604) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:539) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Thread.java:745) Caused by: org.eclipse.jetty.io.EofException at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:199) at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:420) at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:313) at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:147) at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:745) at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:519) at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:753) at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:804) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:235) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:219) at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:470) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:167) at org.eclipse.jetty.server.Utf8HttpWriter.write(Utf8HttpWriter.java:183) at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:71) at org.eclipse.jetty.server.HttpWriter.write(HttpWriter.java:65) at org.eclipse.jetty.server.ResponseWriter.write(ResponseWriter.java:231) at org.eclipse.jetty.server.ResponseWriter.write(ResponseWriter.java:248) at org.eclipse.jetty.server.ResponseWriter.print(ResponseWriter.java:298) at org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl$EImp._p(HamletImpl.java:107) ... 70 more Caused by: java.io.IOException: 连接被对方重设 at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) at sun.nio.ch.IOUtil.write(IOUtil.java:51) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:177) ... 90 more 2019-10-09 16:50:26,214 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:26,214 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:26,214 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:26,214 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:26,214 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:26,214 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:27,215 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup 2019-10-09 16:50:27,215 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000110 belongs to an application that is already killed, no further processing 2019-10-09 16:50:27,215 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000131 belongs to an application that is already killed, no further processing 2019-10-09 16:50:27,215 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000153 belongs to an application that is already killed, no further processing 2019-10-09 16:50:27,215 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000197 belongs to an application that is already killed, no further processing 2019-10-09 16:50:27,215 INFO rmnode.RMNodeImpl (RMNodeImpl.java:handleContainerStatus(1388)) - Container container_e61_1567073938673_0724_01_000203 belongs to an application that is already killed, no further processing 2019-10-09 16:50:28,216 WARN rmnode.RMNodeImpl (RMNodeImpl.java:handleRunningAppOnNode(791)) - Cannot get RMApp by appId=application_1567073938673_0724, just added it to finishedApplications list for cleanup |
但整个集群在运行任务时是不受影响的(任务的输出结果是正常的输出),但是在有任务运行时会出现上面方框中的err 的信息,这个问题应该怎么解决呢???
同时若没有任务在执行时 ,会出现方框中的WARN 的警告信息,这个问题又该怎么解决呢??
希望能有博客主能帮忙解决一下,或者提供解决问题的思路或者建议.