Skip to content

Image doesn't contain "which" command #135

@grozeille

Description

@grozeille

When restarting the services after deployment, it fails with the error message:

resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;  /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh --config /usr/hdp/current/hadoop-client/conf start namenode'' returned 1. starting namenode, logging to /var/log/hadoop/hdfs/hadoop-hdfs-namenode-hdp-ambari-agent-namenode-1.out
/usr/hdp/2.6.1.0-129//hadoop-hdfs/bin/hdfs.distro: line 28: which: command not found
dirname: missing operand
Try 'dirname --help' for more information.

which command is needed in the image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions