Bug 803879

Summary: build-deploy-jar using incorrect paths to build and find jar
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: access-controlAssignee: M S Vishwanath Bhat <vbhat>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: pre-releaseCC: gluster-bugs, mzywusko, vshankar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-12 11:49:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description M S Vishwanath Bhat 2012-03-15 19:39:25 UTC
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):
git master

How reproducible:
Always

Comment 1 Venky Shankar 2012-03-16 05:02:13 UTC
MS,

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.

Thanks,
-Venky

Comment 2 Anand Avati 2012-03-18 08:41:20 UTC
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 (avati)

Comment 3 M S Vishwanath Bhat 2012-04-12 11:49:33 UTC
The script is now using proper paths to build and find the jar file.