You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Evan Pollan (Created) (JIRA)" <ji...@apache.org> on 2012/02/04 03:35:54 UTC
[jira] [Created] (WHIRR-502) configure_cdh_hadoop.sh: syntax error
trying to modify permissions on $HADOOP_LOG_DIR
configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
--------------------------------------------------------------------------------------
Key: WHIRR-502
URL: https://issues.apache.org/jira/browse/WHIRR-502
Project: Whirr
Issue Type: Bug
Components: service/cdh
Affects Versions: 0.7.0, 0.7.1, 0.8.0
Reporter: Evan Pollan
Priority: Minor
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:
{code}
chmod: missing operand after `/var/log/hadoop/logs'
Try `chmod --help' for more information.
{code}
Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
{code}
chmod -R $HADOOP_LOG_DIR
{code}
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WHIRR-502) configure_cdh_hadoop.sh: syntax
error trying to modify permissions on $HADOOP_LOG_DIR
Posted by "David Alves (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202817#comment-13202817 ]
David Alves commented on WHIRR-502:
-----------------------------------
+1, trivial and applies cleanly
> configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
> --------------------------------------------------------------------------------------
>
> Key: WHIRR-502
> URL: https://issues.apache.org/jira/browse/WHIRR-502
> Project: Whirr
> Issue Type: Bug
> Components: service/cdh
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Evan Pollan
> Assignee: Andrei Savu
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: WHIRR-502.patch
>
>
> 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:
> {code}
> chmod: missing operand after `/var/log/hadoop/logs'
> Try `chmod --help' for more information.
> {code}
> Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
> {code}
> chmod -R $HADOOP_LOG_DIR
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WHIRR-502) configure_cdh_hadoop.sh: syntax error
trying to modify permissions on $HADOOP_LOG_DIR
Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-502:
------------------------------
Fix Version/s: 0.7.1
Assignee: Andrei Savu
Thanks for reporting! It may not be serious but it is something we need to fix.
> configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
> --------------------------------------------------------------------------------------
>
> Key: WHIRR-502
> URL: https://issues.apache.org/jira/browse/WHIRR-502
> Project: Whirr
> Issue Type: Bug
> Components: service/cdh
> Affects Versions: 0.7.0, 0.7.1, 0.8.0
> Reporter: Evan Pollan
> Assignee: Andrei Savu
> Priority: Minor
> Fix For: 0.7.1
>
>
> 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:
> {code}
> chmod: missing operand after `/var/log/hadoop/logs'
> Try `chmod --help' for more information.
> {code}
> Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
> {code}
> chmod -R $HADOOP_LOG_DIR
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WHIRR-502) configure_cdh_hadoop.sh: syntax error
trying to modify permissions on $HADOOP_LOG_DIR
Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-502:
------------------------------
Attachment: WHIRR-502.patch
> configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
> --------------------------------------------------------------------------------------
>
> Key: WHIRR-502
> URL: https://issues.apache.org/jira/browse/WHIRR-502
> Project: Whirr
> Issue Type: Bug
> Components: service/cdh
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Evan Pollan
> Assignee: Andrei Savu
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: WHIRR-502.patch
>
>
> 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:
> {code}
> chmod: missing operand after `/var/log/hadoop/logs'
> Try `chmod --help' for more information.
> {code}
> Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
> {code}
> chmod -R $HADOOP_LOG_DIR
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WHIRR-502) configure_cdh_hadoop.sh: syntax error
trying to modify permissions on $HADOOP_LOG_DIR
Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-502:
------------------------------
Affects Version/s: (was: 0.7.1)
> configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
> --------------------------------------------------------------------------------------
>
> Key: WHIRR-502
> URL: https://issues.apache.org/jira/browse/WHIRR-502
> Project: Whirr
> Issue Type: Bug
> Components: service/cdh
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Evan Pollan
> Assignee: Andrei Savu
> Priority: Minor
> Fix For: 0.8.0
>
>
> 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:
> {code}
> chmod: missing operand after `/var/log/hadoop/logs'
> Try `chmod --help' for more information.
> {code}
> Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
> {code}
> chmod -R $HADOOP_LOG_DIR
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WHIRR-502) configure_cdh_hadoop.sh: syntax error
trying to modify permissions on $HADOOP_LOG_DIR
Posted by "Andrei Savu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Savu updated WHIRR-502:
------------------------------
Fix Version/s: 0.7.1
Also committed to the 0.7 branch.
> configure_cdh_hadoop.sh: syntax error trying to modify permissions on $HADOOP_LOG_DIR
> --------------------------------------------------------------------------------------
>
> Key: WHIRR-502
> URL: https://issues.apache.org/jira/browse/WHIRR-502
> Project: Whirr
> Issue Type: Bug
> Components: service/cdh
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Evan Pollan
> Assignee: Andrei Savu
> Priority: Minor
> Fix For: 0.7.1, 0.8.0
>
> Attachments: WHIRR-502.patch
>
>
> 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:
> {code}
> chmod: missing operand after `/var/log/hadoop/logs'
> Try `chmod --help' for more information.
> {code}
> Looks like this is caused by line 80 in services/cdh/src/main/resources/functions/configure_cdh_hadoop.sh:
> {code}
> chmod -R $HADOOP_LOG_DIR
> {code}
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira