Bug 803879 - build-deploy-jar using incorrect paths to build and find jar
Summary: build-deploy-jar using incorrect paths to build and find jar
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: access-control
Version: pre-release
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: M S Vishwanath Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-15 19:39 UTC by M S Vishwanath Bhat
Modified: 2016-06-01 01:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-12 11:49:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.