Hadoop Gateway 部署


1.集群的 hadoop-current

            hive-current

            spark-current

 copy 到 gateway 機器

 

2.集群的 hadoop-conf

        hive-conf

    spark-conf

 copy 到 gateway 機器

 

3.集群的 yarn.sh

        hdfs.sh

            hive.sh

           spark.sh

  copy 到 gateway 機器的 /etc/profile.d 目錄下,以便用戶登入時候配置相關環境變量

  主要有:PATH 中增加:

             /usr/lib/hadoop-current/bin

             /usr/lib/hadoop-current/sbin

         /usr/lib/hive-current/bin

             /usr/lib/hive-current/hcatalog/bin

             /usr/lib/spark-current/bin

            HADOOP_CONF_DIR = /etc/hadoop-conf

            HIVE_CONF_DIR = /etc/hive-conf

        SPARK_CONF_DIR = /etc/spark-conf

 

其它服務組件的配置,方法類似。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2026 CODEPRJ.COM