Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Default Spark env config error in HDP2.4 installation

avatar
New Member

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.

1 ACCEPTED SOLUTION

avatar
Super Guru

@JR Cao

Hi, I think that line is commented out so won't cause any issue by default and YES if user uncommented that line then it will cause error. But I will also share this to spark team to change the default template.

Thanks for the feedback.

View solution in original post

4 REPLIES 4

avatar
Super Guru

@JR Cao

Hi, I think that line is commented out so won't cause any issue by default and YES if user uncommented that line then it will cause error. But I will also share this to spark team to change the default template.

Thanks for the feedback.

avatar
Super Guru

@JR Cao

I have raised a internal HDP Spark jira BUG-57627 for this issue. Thanks for raising this.

avatar
Super Guru

@JR Cao please accept my post as an answer if you are good with the provided information.

avatar
Master Mentor