Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hadoop classpath -libjars and setJarByClass()  RSS feed

 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do we need both -libjars and setJarByClass() to set the proper classpath for tasks or either would do?

If the driver and MR code are all in the same jar and assuming there is no third party dependency (other than hadoop framework) do we still need to set jars in class path using libjars or setJarByClass()?


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!