Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
shell scripts windows macos unix platform portability
Description
- 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.
Attachments
Issue Links
- relates to
-
GERONIMO-5142 runtime errors if JAVA_HOME or JRE_HOME is not specified
- Open
-
HADOOP-6491 JAVA_PLATFORM in hadoop shell script lacks HADOOP_OPTS
- Resolved
-
AMQ-2453 start/control-script is not suitable for professional environments
- Closed
-
QPID-2491 readlink is not cross platform
- Closed
-
HADOOP-7089 Fix link resolution logic in hadoop-config.sh
- Closed
-
ZOOKEEPER-976 ZooKeeper startup script doesn't use JAVA_HOME
- Closed