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

        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)
        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!

          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