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

 

其它服务组件的配置,方法类似。

相关文章:

  • 2021-05-18
  • 2022-01-02
  • 2021-10-20
  • 2021-09-08
  • 2021-09-25
  • 2021-05-06
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-10-27
  • 2022-01-05
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
相关资源
相似解决方案