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

Return codes are not passed to the calling shell #22

Open
mmontuori opened this issue Jul 8, 2022 · 1 comment
Open

Return codes are not passed to the calling shell #22

mmontuori opened this issue Jul 8, 2022 · 1 comment

Comments

@mmontuori
Copy link

Return codes for command like hdfs dfs -test -d / are not passed. The command always returns zero as a success. The same behavior appears in daemon mode.

This functionality is critical to implement this product for real workloads.

@Vity01
Copy link
Collaborator

Vity01 commented Jul 18, 2022

This utility was designed mainly to be used by human. For scripting you should use script command, which will raise error if any of the commands fail.

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

No branches or pull requests

2 participants