The init-hdfs.sh script has set -ex at the top for a good reason. However, the script itself when creating a custom user's home directory on HDFS, does a ls to see if the directory already exists: https://github.com/apache/bigtop/blob/master/bigtop-packages/src/common/hadoop/init-hdfs.sh#L91
This fails if the directory doesn't exist which makes the entire script fail. This check could be enclosed so it doesn't make the script fail.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Assignee||Mark Grover [ mgrover ]|
|Field||Original Value||New Value|