Home Forums HDP on Windows – Installation hdp-1.1.0-160.winpkg.msi is not installing on windows 2008 R2 64bit

This topic contains 8 replies, has 3 voices, and was last updated by  Seth Lyubich 1 year, 8 months ago.

  • Creator
    Topic
  • #18132

    Hi there,
    I had HDInsight installed and it was working perfectly. I had derbyDB hive and Hive ODBC driver 64 bit for excel 2013.
    I was working fine. However, now I wanted to install HDP for windows .msi file into the same PC. As prerequisite I checked that Oracle JDK and Python is installed correctly and their Home directories have been set in environment variables and in the PATH. In addition I have run some command specified in the installation document like…
    >Set-ExecutionPolicy “AllSigned” >Enable-PSRemoting >Set-item wsman:localhost\client\trustedhosts -value “Host1,Host2″ in powershell. I have also created database name hive, user named hive in SQL Server 2008 R2 and my PC name is W2K8ENTR2 which is the same result of hostname command in powershell. Its a single-node hadoop and my clusterproperties.txt as follows..
    #Log directory
    HDP_LOG_DIR=e:\hdp\logs
    #Data directory
    HDP_DATA_DIR=e:\hdp\data
    #Hosts
    NAMENODE_HOST=W2K8ENTR2
    SECONDARY_NAMENODE_HOST=W2K8ENTR2
    JOBTRACKER_HOST=W2K8ENTR2
    HIVE_SERVER_HOST=W2K8ENTR2
    OOZIE_SERVER_HOST=W2K8ENTR2
    TEMPLETON_HOST=W2K8ENTR2
    SLAVE_HOSTS=W2K8ENTR2

    #Database host
    DB_FLAVOR=derby
    DB_HOSTNAME=W2K8ENTR2
    #Hive properties
    HIVE_DB_NAME=hive
    HIVE_DB_USERNAME=hive
    HIVE_DB_PASSWORD=hive
    #Oozie properties
    OOZIE_DB_NAME=oozie
    OOZIE_DB_USERNAME=oozie
    OOZIE_DB_PASSWORD=oozie

    and following is my hosts file.

    192.168.61.130 W2K8ENTR2
    127.0.0.1 W2K8ENTR2

    After completing all of prerequisites opened powershell as administrator and run followings…
    >msiexec /i “E:\hdp\hdp-1.1.0-160.winpkg.msi” /lv “hdp.log” HDP_LAYOUT=”e:\hdp\clusterproperties.txt” HDP_DIR=”e:\hdp\hadoop” DESTROY_DATA=”no”

    I have found an error message that Hortonworks data platform is already exists. so remove that first.
    I have removed DHInsight and Hortonworks data platform 1.0.1 by add remove program.
    Then checked Java and python version and found ok. Then again execute the same command to install HDP msi file.
    This time I found some weird behaviors like spending few moment for configuring installation HDP then start rollback within 24 sec. Found nothing is happened in the system. Checked the log and found numbers of errors . I’m pasting snippet of them…
    PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is ‘1’.
    Package name extracted from package path: ‘hdp-1.1.0-160.winpkg.msi’
    Package to be registered: ‘hdp-1.1.0-160.winpkg.msi’
    Note: 1: 2262 2: Error 3: -2147287038
    ……
    Machine policy value ‘LimitSystemRestoreCheckpointing’ is 0
    Note: 1: 1715 2: Hortonworks Data Platform 1.1.0 for Windows
    Note: 1: 2262 2: Error 3: -2147287038
    The call to SRSetRestorePoint API failed. Returned status: 0. GetLastError() returned: 127
    Package to be registered: ‘hdp-1.1.0-160.winpkg.msi’
    Note: 1: 2262 2: Error 3: -2147287038
    Note: 1: 1715 2: Hortonworks Data Platform 1.1.0 for Windows
    Note: 1: 2262 2: Error 3: -2147287038
    Patch 4: SELECT `Patch`.`File_`, `Patch`.`Header`,…
    Error 3: -2147287038

    Please help me out.

    Thanks
    Mahabu

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #19430

    Seth Lyubich
    Keymaster

    Hi Mahabubur,

    Thanks for letting us know. ODBC driver should not be required.

    Thanks,
    Seth

    Collapse
    #18239

    For your kind information. My HDP is also working on JAVA_HOME=C:\work\Java\jdk1.7.0_13
    and PATH=$JAVA_HOME\bin:$PATH
    OS: Windows Server 2008 R2.
    By the way I had to uninstall Hive ODBC driver from PC. I didn’t experiment does it prerequisite to install HDP successfully.

    Thanks
    Mahabub

    Collapse
    #18238

    Thanks everyone!!

    It’s been resolved by removing loopback IP from etc/hosts file like..
    192.168.4.135 W2K8ENTR2

    I have also installed JAVA 1.6 and set $Env:JAVA_HOME and added $JAVA_HOME\bin in PATH.

    Now its working fine. All services installed and got Hadoop Command Line icon on my Desktop.

    Thanks.
    Mahabubur Rahaman

    Collapse
    #18165

    Seth Lyubich
    Keymaster

    Hi Mahabu,

    Please make sure that you have correct version of Java installed. It seems to be 1.7 based on the information in this post (C:\work\Java\jdk1.7.0_13). Please see instruction below:

    http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-Win-1.1/bk_installing_hdp_for_windows/content/win-chap1-2.html#win-chap1-2-3

    Also, please make sure you are providing correct path to cluster properties file. I see following in your log output:

    CAQuietExec: powershell.exe : No Cluster Properties file found

    Please let us know if this is helpful.

    Thanks,
    Seth

    Collapse
    #18147

    Anthony Mattas
    Participant

    Correct if the install fails, it will still show up. You can’t attempt the install a second time until you remove it (or the install will silently fail).

    Collapse
    #18142

    Oh… Now I can see hortonworks data platform 1.1.0 for windows installed from add/remove program but there is no apache service in services.msc.

    Collapse
    #18141

    I didn’t check after uninstalling HDInsight for JAVA_HOME. Uninstalling HDInsight using add/remove program deletes all environmental variables like.. JAVA_HOME, HADOOP_HOME, HIVE_HOME, HADOOP_CONF_DIR etc.. .However I have set JAVA_HOME to C:\work\Java\jdk1.7.0_13 for me and execute HDP .MSI file and found another errors like ..

    Package name retrieved from configuration data: ‘hdp-1.1.0-160.winpkg.msi’
    MSI (c) (BC:F0) [23:47:30:842]: Note: 1: 2262 2: Error 3: -2147287038
    …..
    Patch 4: SELECT `Patch`.`File_`, `Patch`.`Header`, `Patch`.`Attributes`, `Patch`.`Sequence`, `Patch`.`StreamRef_` FROM `Patch` WHERE `Patch`.`File_` = ? AND `Patch`.`#_MsiActive`=? ORDER BY `Patch`.`Sequence`
    Error 3: -2147287038
    HDP: Reading HDP layout from
    CAQuietExec: powershell.exe : No Cluster Properties file found, make sure the file \cluster.
    CAQuietExec: properties exists
    CAQuietExec: At C:\HadoopInstallFiles\HadoopSetupTools\winpkg.ps1:118 char:23
    CAQuietExec: + $out = powershell.exe <<<&1
    CAQuietExec: + CategoryInfo : NotSpecified: (No Cluster Prop…operties exists
    CAQuietExec: :String) , RemoteException
    CAQuietExec: + FullyQualifiedErrorId : NativeCommandError
    === Logging stopped: 3/19/2013 23:48:06 ===
    MSI (c) (BC:F0) [23:48:06:654]: Note: 1: 1728
    MSI (c) (BC:F0) [23:48:06:654]: Note: 1: 2262 2: Error 3: -2147287038
    MSI (c) (BC:F0) [23:48:06:654]: Note: 1: 2262 2: Error 3: -2147287038
    MSI (c) (BC:F0) [23:48:06:654]: Product: Hortonworks Data Platform 1.1.0 for Windows — Configuration completed successfully.

    MSI (c) (BC:F0) [23:48:06:686]: Windows Installer reconfigured the product. Product Name: Hortonworks Data Platform 1.1.0 for Windows. Product Version: 1.1.0. Product Language: 1033. Manufacturer: Hortonworks. Reconfiguration success or error status: 0.

    Collapse
    #18135

    Anthony Mattas
    Participant

    Did you uninstall it after the failed installation in add/remove programs?
    What is your JAVA_HOME set to (hint, spaces are not supported so C:\Program Files\ = C:\Progra~1)

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