• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hadoop classpath -libjars and setJarByClass()

 
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()?


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic