Value for HADOOP_CONF_DIR from Cluster

前端 未结 2 1676
我寻月下人不归
我寻月下人不归 2021-01-02 11:33

I have setup a cluster(YARN) using Ambari with 3 VMs as hosts.

Where I can find the value for HADOOP_CONF_DIR ?

# Run on a YARN cluster
export HADOOP         


        
相关标签:
2条回答
  • 2021-01-02 11:49

    Install Hadoop as well. In my case I've installed it in /usr/local/hadoop

    Setup Hadoop Environment Variables

    export HADOOP_INSTALL=/usr/local/hadoop
    

    Then set the conf directory

    export HADOOP_CONF_DIR=$HADOOP_INSTALL/etc/hadoop
    
    0 讨论(0)
  • 2021-01-02 12:10

    From /etc/spark/conf/spark-env.sh:

    export HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-/etc/hadoop/conf}
    
    0 讨论(0)
提交回复
热议问题