Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image doesn't contain "which" command #135

Open
grozeille opened this issue Jul 23, 2017 · 1 comment · May be fixed by #136
Open

Image doesn't contain "which" command #135

grozeille opened this issue Jul 23, 2017 · 1 comment · May be fixed by #136

Comments

@grozeille
Copy link

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

@grozeille grozeille linked a pull request Jul 23, 2017 that will close this issue
@grozeille
Copy link
Author

I confirm that I can upgrade the hdfs configuration in Ambari with this pull request: #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant