Hadoop Common
  1. Hadoop Common
  2. HADOOP-5648

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.20.1
    • Component/s: benchmarks
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

      1. HADOOP-5648.patch
        0.5 kB
        Giridharan Kesavan

        Activity

        Giridharan Kesavan made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 0.20.1 [ 12313866 ]
        Resolution Fixed [ 1 ]
        Hide
        Giridharan Kesavan added a comment -

        backported fix to branch-0.20

        Show
        Giridharan Kesavan added a comment - backported fix to branch-0.20
        Giridharan Kesavan made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Giridharan Kesavan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Hide
        Giridharan Kesavan added a comment -

        I just committed this!
        Committed revision 773836.

        Show
        Giridharan Kesavan added a comment - I just committed this! Committed revision 773836.
        Hide
        Giridharan Kesavan added a comment -

        this patch cannot be tested with hudson patch-test process as this patch introduces changes to "src/benchmarks/gridmix2/build.xml"

        Show
        Giridharan Kesavan added a comment - this patch cannot be tested with hudson patch-test process as this patch introduces changes to "src/benchmarks/gridmix2/build.xml"
        Hide
        Suman Sehgal added a comment -

        Verified the patch. Looks fine!

        Show
        Suman Sehgal added a comment - Verified the patch. Looks fine!
        Giridharan Kesavan made changes -
        Attachment HADOOP-5648.patch [ 12407759 ]
        Hide
        Giridharan Kesavan added a comment -

        this patch fixes the build failure.

        Suman,
        Could you pls review this patch?
        tnx!

        Show
        Giridharan Kesavan added a comment - this patch fixes the build failure. Suman, Could you pls review this patch? tnx!
        Nigel Daley made changes -
        Field Original Value New Value
        Assignee Giridharan Kesavan [ gkesavan ]
        Suman Sehgal created issue -

          People

          • Assignee:
            Giridharan Kesavan
            Reporter:
            Suman Sehgal
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development