Flume
  1. Flume
  2. FLUME-646

Add support to the FlumeNode windows installer to detect 32-bit Java Installations (read JAVA_HOME properly) when running on 64 bit windows machines.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v0.9.3
    • Fix Version/s: v0.9.4
    • Component/s: Build, Windows
    • Environment:

      Windows x86_64

      Description

      Currently the nsis installer script template contains support for detecting the Java Installation (JAVA_HOME) correctly only if the architecture of the JDK installed is same as the base architecture of the base machine. Possibly, flume also works fine with 32-bit JDK on 64-bit machines. But in this case, the nsis script does not automatically detect the Java installation directory since on 64 bit machines, all 32-bit software related registry keys are emulated under the virtual registry, HKLM\SOFTWARE\Wow6432Node\ (instead of being directly under HKLM\SOFTWARE). The patch fixes this by adding this check to the nsi template which is used for generating the nsis script with "ant winstall-filter"

        Activity

        Disabled imported user created issue -
        Hide
        Disabled imported user added a comment -

        I grant license to Cloudera for inclusion in Cloudera works (as per the Apache License §5)

        Show
        Disabled imported user added a comment - I grant license to Cloudera for inclusion in Cloudera works (as per the Apache License §5)
        Disabled imported user made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10000 ]
        Jonathan Hsieh made changes -
        Assignee satish [ flume_eerpini ]
        Hide
        Jonathan Hsieh added a comment -

        builds, still need to test with particular situation.

        Show
        Jonathan Hsieh added a comment - builds, still need to test with particular situation.
        Hide
        Jonathan Hsieh added a comment -

        Satish,

        Tested on a windows 7 64-bit os with 32-bit jvm and it works!

        I will be committing this to the older ant branch, and the newer maven-based branch. At the moment the windows build on trunk doesn't work but will after FLUME-608 is committed (tried on testing branch).

        Thanks,
        Jon.

        Show
        Jonathan Hsieh added a comment - Satish, Tested on a windows 7 64-bit os with 32-bit jvm and it works! I will be committing this to the older ant branch, and the newer maven-based branch. At the moment the windows build on trunk doesn't work but will after FLUME-608 is committed (tried on testing branch). Thanks, Jon.
        Hide
        Jonathan Hsieh added a comment -

        committed. Thanks Satish!

        Show
        Jonathan Hsieh added a comment - committed. Thanks Satish!
        Jonathan Hsieh made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s v0.9.4 [ 10050 ]
        Status Patch Available [ 10000 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Project Import Tue Aug 02 16:57:12 UTC 2011 [ 1312304232406 ]
        Jonathan Hsieh made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Disabled imported user
            Reporter:
            Disabled imported user
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development