I have made some changes to hadoop2 code which requires a jar's dependency. I added it in the pom.xml file (inside hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-resourcemanager/pom.xml) which makes sure that my code compiles. However, I'm unable to run the daemon because ResourceManager fails with ClassNotFound exception. Basically, when I ran
mvn package -Pdist,native -Dtar ....
it did not download the dependency jar (which is present in my local .m2) into the lib/ folder. How do I make sure that the jar is downloaded to my lib path?
hmm..Its interesting. When I added it in hadoop-hdfs-project/hadoop-hdfs/pom.xml it downloaded the jar locally. Any ideas why it doesn't work inside the yarn project? On Wed, Jul 2, 2014 at 10:09 AM, Rajat Jain <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext