Hi, Did you use our quickstart (=maven archetype) scripts to setup your maven project? We should integrate the "maven-assembly-plugin" configuration with the fat-jar preconfigured into the archetype so that users automatically get their dependencies included. ( https://issues.apache.org/jira/browse/FLINK-1056)
The YARN package contains a directory "ship". Everything placed in their will be shipped to all YARN containers. The files are placed in the working directory of each process and also loaded into the JVM's classpath. So if you put your jars there, they should be loadable by the classloader. Robert On Tue, Aug 12, 2014 at 10:32 AM, Norman Spangenberg < [email protected]> wrote: > Hello Aljoscha and Robert, > Sorry for that stupid question. Building a fat JAR with maven worked for > me. Thank you. > actually I tried to copy the json4s-JARsto the lib folders of the cluster. > But that didn't work. > In Yarn-Cluster-Mode: where is the right directory to put that JARs? Is it > hadoop-VERSION/share/hadoop/common/lib/ ? > > kind regards > norman > >
