You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/09/25 13:31:00 UTC

[jira] [Commented] (AMBARI-24681) Cannot deploy cluster without HDFS_CLIENT

    [ https://issues.apache.org/jira/browse/AMBARI-24681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16627364#comment-16627364 ] 

Hudson commented on AMBARI-24681:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #328 (See [https://builds.apache.org/job/Ambari-branch-2.7/328/])
AMBARI-24681. Cannot deploy cluster without HDFS_CLIENT (#2370) (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=d4c46c3f145eedcf1e9beaf945b61d7db72ef096])
* (edit) ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/shared_initialization.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-START/scripts/params.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/hook.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/shared_initialization.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-START/scripts/shared_initialization.py
* (edit) ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-ANY/scripts/params.py
* (edit) ambari-server/src/main/resources/stack-hooks/before-INSTALL/scripts/params.py


> 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
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.7.2
>
>         Attachments: blueprint.json, bp-scale.json
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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}
> Additionally, host groups without {{HDFS_CLIENT}} cannot be scaled up.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)