PYSPARK : Unable to access



Unable to access the pyspark environment. Please help. Following is the error:

Exception in thread “main” java.lang.IllegalArgumentException: pyspark does not support any application options.
at org.apache.spark.launcher.CommandBuilderUtils.checkArgument(
at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildPySparkShellCommand(SparkSubmitComm
at org.apache.spark.launcher.SparkSubmitCommandBuilder.buildCommand(SparkSubmitCommandBuilder.j ava:117)
at org.apache.spark.launcher.Main.main(



What is the command that you are using to launch pyspark ?


I’m just trying to initiate a session.
pyspark --master yarn -conf spark.ui.port=36500


Have to give
pyspark - - master yarn - - conf spark.ui.port=36500


Uhh sorry for this silly one.Thanks!