Home Forums HDP on Windows – Installation Installation Failed

This topic contains 15 replies, has 8 voices, and was last updated by  Dave 9 months, 3 weeks ago.

  • Creator
    Topic
  • #47645

    Agastya Mahi
    Participant

    I am trying to install HDP 2.0.6 on Windows server 2008 R2 but it fails everytime. An alert window shows that I can look for more details in the log but I see no new folders (HadoopInstallFiles or hdplogs) created. Also, during the installation, I see these folders temporarily created.

    Please help me solve this!

Viewing 15 replies - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #49405

    Dave
    Moderator

    Hi Florian,

    Windows 7 is not supported. The only operating system’s which are supported are Windows 2008 R2 64 bit and 2012 64 bit.

    Thanks

    Dave

    Collapse
    #48926

    Florian
    Participant

    I cannot install the package either. I’ve tried according to http://hortonworks.com/blog/install-hadoop-windows-hortonworks-data-platform-2-0/. I’m using a windows 7 machine. Java and Python are installed correctly (without spaces in the paths) and found. In hdp-2.0.6.0.winpkg.install.log, after
    WINPKG: UNZIP: unzipRoot C:\HadoopInstallFiles\HadoopPackages\hdp-2.0.6.0-winpkg\resources\hadoop-2.2.0.2.0.6.0-0009.winpkg
    I get the message that some path is too long (fully qulified filename must be shorter than 260 characters, path must be shorter than 248 characters). It seems to be a problem with the temporary path of the unzip tool. In hdplog.txt there is the message “Cannot bind argument to parameter ‘path’ because it is null” like in comment #47819 below.

    Any ideas?

    Collapse
    #48920

    Seth Lyubich
    Keymaster

    Hi Hung-chih,

    Yes, Java installation path cannot have spaces. Please see http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0-Win/bk_installing_hdp_for_windows/content/win-getting-ready-2-3-2.html for more information. If this is still an issue can you please start new thread as this seems to be another issue?

    Hope this helps.

    Thanks,
    Seth

    Collapse
    #48804

    Hung-chih Yang
    Participant

    I have run into the same problem. After a while, I used msiexec to manually decompress the HDP 2.0.6 for Windows .msi file and inspect the installation scripts.
    I found that the ‘check_reqs.cmd’ script enforces a rule that the JAVA_HOME environment variable cannot contain any space in the path.
    My Java installation was under “C:\Program Files” and this is a common installation directory for Windows software, but there is a space in it.

    I have not tried to re-install Java on a different path and see if this can solve the mysterious HDP2 installation issue, but this non-space restriction is troublesome for Windows environment, to say the least.

    Hung-chih Yang

    Collapse
    #48247

    Seth Lyubich
    Keymaster

    Hi Agastya,

    Can you please make sure that Python, and JAVA_HOME variables are set correctly?

    Hope this helps.

    Thanks,
    Seth

    Collapse
    #47819

    Agastya Mahi
    Participant

    Hi All,

    I have started the entire process from beginning and have used the GUI, now I can see the HadoopInstallFiles folder. But still the installation has failed.
    The log says Cannot bind argument to parameter ‘path’ because it is null. This error message is repeated multiple times; Could you please help me with this?

    Thanks

    Collapse
    #47776

    Seth Lyubich
    Keymaster

    Hi all,

    Please try launching the installer via command line as in example below:

    #msiexec /lv c:\hdplog.txt /i c:\

    This command will generate a log and provide details on what went wrong. Most of the time installer fails here due to failed prerequisites like setting JAVA_HOME, Python, etc.

    Hope this helps,

    Thanks,
    Seth

    Collapse
    #47676

    Toby Evans
    Participant
    Collapse
    #47672

    Agastya Mahi
    Participant

    I was able to get a snapshot of the log before it was deleted. I started to see errors from this part of the log.

    Thank you all for your time and response.

    Collapse
    #47671

    Agastya Mahi
    Participant

    Action start 11:34:21: RegisterProduct.
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2262 2: Error 3: -2147287038
    MSI (s) (EC:0C) [11:34:21:390]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is ‘1’.
    Action ended 11:34:21: RegisterProduct. Return value 1.
    MSI (s) (EC:0C) [11:34:21:390]: Doing action: PublishFeatures
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2205 2: 3: ActionText
    Action start 11:34:21: PublishFeatures.
    Action ended 11:34:21: PublishFeatures. Return value 1.
    MSI (s) (EC:0C) [11:34:21:390]: Doing action: PublishProduct
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2205 2: 3: ActionText
    Action start 11:34:21: PublishProduct.
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2205 2: 3: Icon
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2228 2: 3: Icon 4: SELECT Name, Data FROM Icon
    Action ended 11:34:21: PublishProduct. Return value 1.
    MSI (s) (EC:0C) [11:34:21:390]: Doing action: InstallFinalize
    MSI (s) (EC:0C) [11:34:21:390]: Note: 1: 2205 2: 3: ActionText
    Action start 11:34:21: InstallFinalize.
    MSI (s) (EC:0C) [11:34:21:406]: Running Script: C:\Windows\Installer\MSI3A6B.tmp
    MSI (s) (EC:0C) [11:34:21:406]: PROPERTY CHANGE: Adding UpdateStarted property. Its value is ‘1’.
    MSI (s) (EC:0C) [11:34:21:406]: Machine policy value ‘DisableRollback’ is 0
    MSI (s) (EC:0C) [11:34:21:406]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1144872011,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: ProductInfo(ProductKey={5F733BFC-CACA-411F-A6DC-5AA3ED611F20},ProductName=Hortonworks Data Platform 2.0.6.0 for Windows,PackageName=hdp-2.0.6.0.winpkg.msi,Language=1033,Version=33554438,Assignment=1,ObsoleteArg=0,,,PackageCode={73D9205C-9A1C-4490-843F-A7B8E96FD62E},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: DialogInfo(Type=0,Argument=1033)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: DialogInfo(Type=1,Argument=Hortonworks Data Platform 2.0.6.0 for Windows)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: SetBaseline(Baseline=0,)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: SetBaseline(Baseline=1,)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: ProgressTotal(Total=4,Type=1,ByteEquivalent=24000)
    MSI (s) (EC:0C) [11:34:21:421]: Executing op: ComponentRegister(ComponentId={EA697DB7-93B1-41E5-9C73-A7DA7529572A},KeyPath=C:\HadoopInstallFiles\HadoopPackages

    Collapse
    #47651

    Antonio Paternina
    Participant

    Hi toby. In my case, I have not installed any previous version on my computer and if I am running as administrator..

    Collapse
    #47649

    Agastya Mahi
    Participant

    I am running it as an administrator and I do not have a previous version installed. I am trying to setup a single node installation.

    Collapse
    #47648

    Robert Molina
    Moderator

    Hi Agastya,
    Are you doing single node or multiple node install?

    Regards,
    Robert

    Collapse
    #47647

    Toby Evans
    Participant

    you running as an administrator?
    have you had a previous version installed on the same machine?
    did you sacrifice the goat first?

    Collapse
    #47646

    Antonio Paternina
    Participant

    I have the same error on windows server 2012, a solution please¡¡

    Collapse
Viewing 15 replies - 1 through 15 (of 15 total)