spark-shell and spark-sql can not be deployed with "yarn-cluster" mode, because you need to make spark-shell or spark-sql scripts run on your local machine rather than container of YARN cluster.
2015-08-25 16:19 GMT+08:00 Jeetendra Gangele <gangele...@gmail.com>: > Hi All i am trying to launch the spark shell with --master yarn-cluster > its giving below error. > why this is not supported? > > > bin/spark-sql --master yarn-cluster > Error: Cluster deploy mode is not applicable to Spark SQL shell. > Run with --help for usage help or --verbose for debug output > > > Regards > Jeetendra > >