incubator-spot
incubator-spot copied to clipboard
Improved hdfs_setup.sh
Added Support for:
- /etc/spot.conf as a basic INI file (no sections support added, so don't use the same setting name under different sections!)
- Change supergroup name
Added checks for:
- User running the script belonging to supergroup
- Correct Kerberos settings and kinit working with provided information
- hdfs -mkdir worked without errors
- hbase database creation and imports without errors
I'd suggest redirecting all command outputs into a setup.log file, so we could keep STDOUT tidy and then clean up a lot of if [ $? -eq 0 ] on this script.
QA can you validate? This should linked to SPOT-120 https://issues.apache.org/jira/browse/SPOT-120
Hello @kpeiruza Thank you for your contributions. In order to complete this Pull Request, please fix the conflicts
@natedogs911 can you review this PR again and determine if any of these changes are already a part of the work you did with the hdfs_setup.sh script?
@TaddWood added to my TODOs