Default Spark env config error in HDP2.4 installation Default Spark env config error in HDP2.4 installation:
#SPARK_DRIVER_MEMORY="512 Mb"
This line include a wrong config param "512 Mb", it should be "512M" without space. This will cause spark-shell yarn client start error:
Invalid initial heap size.
Suggest to update the template.