Red Hat Bugzilla – Bug 803879
build-deploy-jar using incorrect paths to build and find jar
Last modified: 2012-04-12 07:49:33 EDT
Description of problem:
build-deploy-jar in hadoop tools is not using correct paths to build and find jar because of which the tool doesn't work. Also the mvn throwing error because of not finding pom.xml is masked by the use of 'try' statement.
Version-Release number of selected component (if applicable):
An easier way to fix this would be to chdir() the the relevant directory in the script. Then from there on, all paths relative to the current directory would be correct.
In case you have any other idea(s) for the fix; the above looks pretty easy.
CHANGE: http://review.gluster.com/2955 (Using correct path to build and find jar file in build_deploy_jar.) merged in master by Anand Avati (firstname.lastname@example.org)
The script is now using proper paths to build and find the jar file.