Closed
Description
Currently, using -libjars
requires something like this:
--bootstrap-file myjar.jar --bootstrap-cmd 'cp myjar.jar /home/hadoop/myjar.jar' --hadoop-arg -libjars --hadoop-arg /home/hadoop/myjar.jar
It would be nice if we could do this instead:
--libjar myjar.jar
mrjob would:
- Upload the file like the other bootstrap files
- Copy it to a unique location like /tmp/myjar-235324.jar
- Add the appropriate
-libjars
argument toStreamingStep.step_args