Home Forums HDP on Windows – Installation Install Fails: No Windows Services

This topic contains 5 replies, has 2 voices, and was last updated by  tedr 1 year, 7 months ago.

  • Creator
    Topic
  • #17800

    John Plummer
    Member

    Install apparently successful:-

    MSI (c) (B0:CC) [21:55:30:064]: Product: Hortonworks Data Platform 1.1.0 for Windows — Installation completed successfully.

    However, there are no services installed and the startup script is not able to enumerate.

    I notice these entries in the install log

    CAQuietExec: HADOOP: Stopping “historyserver tasktracker jobtracker datanode secondarynamenode namenode” services
    CAQuietExec: HADOOP: Stopping historyserver
    CAQuietExec: powershell.exe : powershell.exe : powershell.exe : Stop-Service : Cannot find
    CAQuietExec: any service with
    CAQuietExec: At C:\HadoopInstallFiles\HadoopSetupTools\winpkg.ps1:118 char:9
    CAQuietExec: + $out = powershell.exe -InputFormat none -Command “$command” 2>&1
    CAQuietExec: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CAQuietExec: + CategoryInfo : NotSpecified: (powershell.exe …y service with
    CAQuietExec: :String) , RemoteException
    CAQuietExec: + FullyQualifiedErrorId : NativeCommandError
    CAQuietExec:
    CAQuietExec: service name
    CAQuietExec: At
    CAQuietExec: C:\HadoopInstallFiles\HadoopPackages\hdp-1.1.0-winpkg\scripts\install.ps1:20
    CAQuietExec: char:5
    CAQuietExec: + powershell.exe -InputFormat none -Command “$command” 2>&1

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #17875

    tedr
    Member

    Hi John,

    The hostname in the properties file needs to match that returned by hostname command and the ets/hosts file for the install to succeed. So my question should have been did that host name in the properties file match as mentioned above at the time of your install attempt?

    Thanks,
    Ted.

    Collapse
    #17874

    John Plummer
    Member

    Hi Ted
    No

    I get the same when I use the actual “hostname” and the one that is shown.
    This is the most latest version of the config file I was using

    The error I got was with the hostname (which is W2K12DEV) or with the hadoop.local alias

    Happy to send across the full install.log if it helps. I will send to the support alias

    Collapse
    #17873

    tedr
    Member

    Hi John,

    Is that hostname also what you get when you run “hostname” in powershell?

    Thanks,
    Ted.

    Collapse
    #17872

    John Plummer
    Member

    Here is the ClusterProperties.txt

    #Log directory
    HDP_LOG_DIR=c:\hadoop\logs

    #Data directory
    HDP_DATA_DIR=c:\hadoop\data

    #Hosts
    NAMENODE_HOST=hadoop.local
    SECONDARY_NAMENODE_HOST=hadoop.local
    JOBTRACKER_HOST=hadoop.local
    HIVE_SERVER_HOST=hadoop.local
    OOZIE_SERVER_HOST=hadoop.local
    TEMPLETON_HOST=hadoop.local
    SLAVE_HOSTS=hadoop.local

    #Database host
    DB_FLAVOR=derby
    DB_HOSTNAME=hadoop.local

    #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

    Where HOST=hadoop.local is an entry in the etc\hosts file that points to local machine.
    I have disabled IPV6

    I actually tried two different VM’s with the same problem. I install HDInsight via Web Platform Installer which worked

    thanks

    Collapse
    #17871

    tedr
    Member

    Hi John,

    Thanks for trying HDP for windows.
    If this log is not from you very first attempt to install make sure that the system doesn’t thinks that it has already been installed by looking in the “add/remove programs” control panel and uninstall it if it is there, then try the installer again. While you are doing that could you post the cluster properties file you pointed the installer at?

    Thanks,

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