incubator-spot icon indicating copy to clipboard operation
incubator-spot copied to clipboard

Improved hdfs_setup.sh

Open kpeiruza opened this issue 7 years ago • 4 comments

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.

kpeiruza avatar Mar 03 '17 11:03 kpeiruza

QA can you validate? This should linked to SPOT-120 https://issues.apache.org/jira/browse/SPOT-120

natedogs911 avatar Mar 06 '17 19:03 natedogs911

Hello @kpeiruza Thank you for your contributions. In order to complete this Pull Request, please fix the conflicts

schonz avatar Aug 22 '18 19:08 schonz

@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 avatar Aug 24 '18 19:08 TaddWood

@TaddWood added to my TODOs

natedogs911 avatar Aug 30 '18 17:08 natedogs911