Doroszlai, Attila created AMBARI-24681:
------------------------------------------
Summary: Cannot deploy cluster without HDFS_CLIENT
Key: AMBARI-24681
URL: https://issues.apache.org/jira/browse/AMBARI-24681
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.7.0
Reporter: Doroszlai, Attila
Assignee: Doroszlai, Attila
Fix For: 2.7.2
The attached blueprint cannot be deployed, because {{hadoop-env.sh}} is not
saved by Ambari, because it requires {{HDFS_CLIENT}} component on at least one
host:
https://github.com/apache/ambari/blob/8d145e0c04917866fd76690688826cf44065370e/ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/hook.py#L32-L33
Datanode start fails with:
{noformat}
ExecutionFailed: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c
'ulimit -c unlimited ; /usr/hdp/3.0.0.0-1634/hadoop/bin/hdfs --config
/usr/hdp/3.0.0.0-1634/hadoop/conf --daemon start datanode'' returned 1. ERROR:
JAVA_HOME is not set and could not be found.
{noformat}
This appears in output from {{after-INSTALL}} hook:
{noformat}
Parameter hadoop_conf_dir is missing or directory does not exist. This is
expected if this host does not have any Hadoop components.
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)