AnsweredAssumed Answered

Setting Classpath for MapReduce jobs

Question asked by rthimmana on Jan 7, 2015
Latest reply on Apr 22, 2015 by jcasaletto
Using MapReduce1

export CLASSPATH=list of our jars:{output of hadoop1 classpath}

Showing the classpath set using the following code

  String classpath = System.getProperty("java.class.path");
  String[] classpathEntries = classpath.split(File.pathSeparator);
  for (String entry:classpathEntries) {

Our classpath is not set in both the following run modes. What are we missing?

hadoop jar  

hadoop1 jar  

Any pointers?