Spark - Memory issue

I am experiencing following error when trying to access SPARK. Can you please look into it?

@viswanath.raju
@Vinay
@pramodvspk
@gnanaprakasam

Thanks,

@rajkumar1 - Try with spark-shell
I didn’t faced when I try with bigdata1 user.

One need to start spark-shell in yarn mode to not to get into memory related issues.

spark-shell --master yarn or spark-shell --master yarn-client