<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Yarn logs command failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200548#M62497</link>
    <description>&lt;P&gt;I came across such an error when I wanted to get yarn logs aggregated in HDFS.&lt;/P&gt;&lt;PRE&gt;hadoop1:/usr/share/spark-2.1.1-bin-hadoop2.7 # yarn logs -applicationId application_1496824235178_0002
17/06/07 16:40:08 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://hadoop3:8188/ws/v1/timeline/" target="_blank"&gt;http://hadoop3:8188/ws/v1/timeline/&lt;/A&gt;
17/06/07 16:40:09 INFO client.RMProxy: Connecting to ResourceManager at hadoop2/192.168.1.19:8050
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(Lorg/apache/hadoop/yarn/api/records/ApplicationId;Ljava/lang/String;Ljava/io/PrintStream;)I
	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:140)
	at org.apache.hadoop.yarn.client.cli.LogsCLI.main(LogsCLI.java:193)&lt;/PRE&gt;&lt;P&gt;My HDP version is Hadoop 2.7.3.2.6.0.3-8&lt;/P&gt;&lt;P&gt;I double checked the logs in HDFS, finding out they are all there. And I tried mr and spark job, but both with no luck.&lt;/P&gt;&lt;P&gt;Does anyone have an idea about this ? Thanks in Advance!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2017 15:54:26 GMT</pubDate>
    <dc:creator>gnuhpc</dc:creator>
    <dc:date>2017-06-07T15:54:26Z</dc:date>
    <item>
      <title>Yarn logs command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200548#M62497</link>
      <description>&lt;P&gt;I came across such an error when I wanted to get yarn logs aggregated in HDFS.&lt;/P&gt;&lt;PRE&gt;hadoop1:/usr/share/spark-2.1.1-bin-hadoop2.7 # yarn logs -applicationId application_1496824235178_0002
17/06/07 16:40:08 INFO impl.TimelineClientImpl: Timeline service address: &lt;A href="http://hadoop3:8188/ws/v1/timeline/" target="_blank"&gt;http://hadoop3:8188/ws/v1/timeline/&lt;/A&gt;
17/06/07 16:40:09 INFO client.RMProxy: Connecting to ResourceManager at hadoop2/192.168.1.19:8050
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLogs(Lorg/apache/hadoop/yarn/api/records/ApplicationId;Ljava/lang/String;Ljava/io/PrintStream;)I
	at org.apache.hadoop.yarn.client.cli.LogsCLI.run(LogsCLI.java:140)
	at org.apache.hadoop.yarn.client.cli.LogsCLI.main(LogsCLI.java:193)&lt;/PRE&gt;&lt;P&gt;My HDP version is Hadoop 2.7.3.2.6.0.3-8&lt;/P&gt;&lt;P&gt;I double checked the logs in HDFS, finding out they are all there. And I tried mr and spark job, but both with no luck.&lt;/P&gt;&lt;P&gt;Does anyone have an idea about this ? Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 15:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200548#M62497</guid>
      <dc:creator>gnuhpc</dc:creator>
      <dc:date>2017-06-07T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn logs command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200549#M62498</link>
      <description>&lt;P&gt;After upgrade to 2.6.1.0, this error gone... Close this question.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:59:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200549#M62498</guid>
      <dc:creator>gnuhpc</dc:creator>
      <dc:date>2017-06-08T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn logs command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200550#M62499</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18847/gnuhpc.html" nodeid="18847"&gt;@Perry Huang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following error (java.lang.NoSuchMethodError) usually indicates ... Other version of JAR (Jar version mismatch) were being used in the classpath.&lt;/P&gt;&lt;PRE&gt;java.lang.NoSuchMethodError: org.apache.hadoop.yarn.logaggregation.LogCLIHelpers.dumpAllContainersLog&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2017 14:04:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200550#M62499</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-08T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Yarn logs command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200551#M62500</link>
      <description>&lt;P&gt;Yes, It's strange for me when the jar has been replaced without anyone's attention. Anyway , upgrading saved my day. Thanks still.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 14:22:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Yarn-logs-command-failed/m-p/200551#M62500</guid>
      <dc:creator>gnuhpc</dc:creator>
      <dc:date>2017-06-08T14:22:24Z</dc:date>
    </item>
  </channel>
</rss>

