<?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 Re: Hadoop Yarn Simple Application error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94157#M7434</link>
    <description>&lt;P&gt;Please have a look at the POM.xml as this lists the dependencies.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2015 19:53:52 GMT</pubDate>
    <dc:creator>iroberts</dc:creator>
    <dc:date>2015-09-29T19:53:52Z</dc:date>
    <item>
      <title>Hadoop Yarn Simple Application error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94156#M7433</link>
      <description>&lt;P&gt;I am trying to run the simple yarn application listed here: &lt;A href="https://github.com/hortonworks/simple-yarn-app"&gt;https://github.com/hortonworks/simple-yarn-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am a beginner with both Java and Hadoop, and when I try to compile the simple yarn Client file using '&lt;CODE&gt;javac&lt;/CODE&gt;', I get the following error:&lt;/P&gt;&lt;P&gt;Client.java:9: &lt;CODE&gt;error: package org.apache.hadoop.conf does not exist&lt;/CODE&gt;&lt;/P&gt;&lt;PRE&gt;import org.apache.hadoop.conf.Configuration;&lt;/PRE&gt;
&lt;P&gt;The command I am using to compile the file is:&lt;/P&gt;&lt;PRE&gt;javac Client.java&lt;/PRE&gt;
&lt;P&gt;I have Googled this error to see if I could find which JAR file is missing from my classpath, but I couldn't find anything helpful with respect to YARN. Most of the results were related to &lt;CODE&gt;HBASE&lt;/CODE&gt;, &lt;CODE&gt;PIG&lt;/CODE&gt; or &lt;CODE&gt;HIVE&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;Can someone please point me towards the relevant JAR file I am missing here? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 02:34:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94156#M7433</guid>
      <dc:creator>MCarter</dc:creator>
      <dc:date>2015-09-24T02:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop Yarn Simple Application error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94157#M7434</link>
      <description>&lt;P&gt;Please have a look at the POM.xml as this lists the dependencies.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 19:53:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94157#M7434</guid>
      <dc:creator>iroberts</dc:creator>
      <dc:date>2015-09-29T19:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop Yarn Simple Application error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94158#M7435</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12/mcarter.html" nodeid="12"&gt;@MCarter@hortonworks.com&lt;/A&gt; the easiest way to compile this is going to be with Maven. The list of dependencies is rather lengthy and you will spend a good bit of time trying to include them all if you want to use javac. If you have never used Maven before then it probably isn't installed on your Mac either. The easiest way to install Maven is going to be with the Mac package manager "Homebrew". You might not have that installed either but its a simple one liner to install. More information on HomeBrew can be found &lt;A href="http://brew.sh"&gt;here&lt;/A&gt;. It is commonly used among developers on OSX.&lt;/P&gt;&lt;PRE&gt;ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"&lt;/PRE&gt;&lt;P&gt;After HomeBrew (brew) is installed run this command to install Maven.&lt;/P&gt;&lt;PRE&gt;brew install maven&lt;/PRE&gt;&lt;P&gt;Once you have successfully installed Maven you can compile the project by changing to the directory where the pom.xml file is located and running.&lt;/P&gt;&lt;PRE&gt;mvn clean install package&lt;/PRE&gt;&lt;P&gt;Once that has completed you will see the resulting jar at ./target/simple-yarn-app-1.1.0.jar Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hadoop-Yarn-Simple-Application-error/m-p/94158#M7435</guid>
      <dc:creator>jdyer</dc:creator>
      <dc:date>2015-09-29T20:21:40Z</dc:date>
    </item>
  </channel>
</rss>

