Issue Details (XML | Word | Printable)

Key: HADOOP-5648
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Giridharan Kesavan
Reporter: Suman Sehgal
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Not able to generate gridmix.jar on already compiled version of hadoop

Created: 09/Apr/09 09:56 AM   Updated: 02/Jun/09 04:42 AM
Return to search
Component/s: benchmarks
Affects Version/s: 0.20.0
Fix Version/s: 0.20.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-5648.patch 2009-05-11 09:21 AM Giridharan Kesavan 0.5 kB

Hadoop Flags: Reviewed
Resolution Date: 02/Jun/09 04:42 AM


 Description  « Hide
Not able to generate gridmix.jar for gridmix2 on compiled version of hadoop (which is untarred from hadoop binary) as builld.xml tries to find build directory in hadoop-home but "build" directory is not present on this path.

Following error is displayed :
Buildfile: build.xml

init:
[mkdir] Created dir: <hadoop-home>/src/benchmarks/gridmix2/build
[mkdir] Created dir: <hadoop-home>/src/benchmarks/gridmix2/dist

compile:
[javac] Compiling 3 source files to <hadoop-home>/src/benchmarks/gridmix2/build

BUILD FAILED
<hadoop-home>/src/benchmarks/gridmix2/build.xml:28: <hadoop-home>/build not found.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Giridharan Kesavan added a comment - 11/May/09 09:21 AM
this patch fixes the build failure.

Suman,
Could you pls review this patch?
tnx!


Suman Sehgal added a comment - 12/May/09 04:00 AM
Verified the patch. Looks fine!

Giridharan Kesavan added a comment - 12/May/09 04:22 AM
this patch cannot be tested with hudson patch-test process as this patch introduces changes to "src/benchmarks/gridmix2/build.xml"

Giridharan Kesavan added a comment - 12/May/09 09:56 AM
I just committed this!
Committed revision 773836.

Giridharan Kesavan added a comment - 02/Jun/09 04:42 AM
backported fix to branch-0.20