It appears that if the umask on the server is not set to 022 the hadoopcli binary will not be visible over the link created by the setup.sh script. Would it be possible to set a permission level on the /usr/local/hadoop-cli directory after creation to 755 as well as subsequent lower directories. Then the library jar could be set to 644?
This could be accomplished with a preservation of the old umask prior to run:
OLD_UMASK=$(umask)
umask 0022
...setup steps...
umask ${OLD_UMASK}
Perhaps there is a better way to do this, but this was an idea.
It appears that if the umask on the server is not set to 022 the hadoopcli binary will not be visible over the link created by the setup.sh script. Would it be possible to set a permission level on the
/usr/local/hadoop-clidirectory after creation to 755 as well as subsequent lower directories. Then the library jar could be set to 644?This could be accomplished with a preservation of the old umask prior to run:
Perhaps there is a better way to do this, but this was an idea.