Home Forums HDP on Windows – Installation In multi-node my hive can't run

This topic contains 1 reply, has 2 voices, and was last updated by  Seth Lyubich 10 months, 1 week ago.

  • Creator
    Topic
  • #44692

    Field Wachi
    Participant

    My environment have 4 servers
    1 namenode (S1),
    2 datanode(S2,S3),
    1 db server(DBServer)
    the cluster is started successfully.
    Then on the namenode i use the hadoop command line as follows
    “hive_home\bin\hive”
    The message is : hadoop home needs to define to point at the hadoop installation
    I do not know where can set.

    my clusterproperties.txt
    #Log directory
    HDP_LOG_DIR=c:\hadoop\logs

    #Data directory
    HDP_DATA_DIR=c:\hdp\data

    #Hosts
    NAMENODE_HOST=S1
    SECONDARY_NAMENODE_HOST=S1
    JOBTRACKER_HOST=S1
    HIVE_SERVER_HOST=S1
    OOZIE_SERVER_HOST=S1
    WEBHCAT_HOST=S1
    FLUME_HOSTS=S1,S2,S3
    HBASE_MASTER=S1
    HBASE_REGIONSERVERS=S2,S3
    ZOOKEEPER_HOSTS=S1,S2,S3
    SLAVE_HOSTS=S2,S3

    #Database host
    DB_FLAVOR=mssql
    DB_HOSTNAME=DBServer

    #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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #45326

    Seth Lyubich
    Keymaster

    Hi,

    If you go to hadoop command line and the run set command you should see environmental variable for HADOOP_HOME. If you are missing it, or if it is incorrect you can add/edit it in Environmental variables.

    Hope this helps,

    Thanks,
    Seth

    Collapse
Viewing 1 replies (of 1 total)