Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7.0
-
None
Description
This doesn't seem to cause any issues, AFAIK, but I noticed it while trying to customize the CDH hadoop configuration using whirr 0.7.0. The launch-cluster command included some output from the configuration scripts that I had been modifying, and I noticed this bit:
chmod: missing operand after `/var/log/hadoop/logs' Try `chmod --help' for more information.
Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
chmod -R $HADOOP_LOG_DIR
Notice the missing permissions in the command. I assume this should be g+w, as in line 71? I checked the svn repo, and this looks like it affects the trunk, as well.