[
https://issues.apache.org/jira/browse/HADOOP-7092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979749#action_12979749
]
Thomas Koch commented on HADOOP-7092:
-------------------------------------
http://stackoverflow.com/questions/78497/design-patterns-or-best-practices-for-shell-scripts
> Consolidate startup shell scripts
> ---------------------------------
>
> Key: HADOOP-7092
> URL: https://issues.apache.org/jira/browse/HADOOP-7092
> Project: Hadoop Common
> Issue Type: Task
> Components: scripts
> Reporter: Thomas Koch
> Priority: Minor
>
> - Today we struggled ~1-2 hours to find out that the Cloudera init scripts
> have a bug in the shell code (bug filled by my colleague)
> - Many projects that started at hadoop copied and adapted the shell startup
> code. So there's a lot of code duplication between hbase, zookeeper, hadoop
> and maybe others
> - There already are some open issues regarding to shell code
> - The shell code isn't properly tested (automaticaly) and will first probably
> fail at customer side
> Would it make sense to build a shell library of most often used functionality
> for startup scripts? Is there already such a library somewhere?
> This issue should collect thoughts in this area.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.