Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
刚刚推出了一个带有 Ambari 的新 2.2 集群,这很棒,但是现在当我与我的用户一起使用 shell 时,我的环境中没有设置正确的 JAVA_HOME。
我应该在登录时获取一些东西来正确设置我的 ENV(不仅仅是 JAVA_HOME)还是我手动将 JAVA_HOME 设置为 Ambari 安装位置(/usr/jdk64/java-*)?
我找到了:/usr/hdp/2.2.4.2-2/hadoop/libexec/hadoop-config.sh
/usr/hdp/2.2.4.2-2/hadoop/libexec/hadoop-config.sh