答复: deploy-mode flag in spark-sql cli

2016-06-30 Thread Huang Meilong
Thank you, I got it. 发件人: Mich Talebzadeh <mich.talebza...@gmail.com> 发送时间: 2016年6月30日 14:52 收件人: Saisai Shao 抄送: Huang Meilong; user@spark.apache.org 主题: Re: deploy-mode flag in spark-sql cli Yes I forgot that anything with REPL both spark-sql and spark

deploy-mode flag in spark-sql cli

2016-06-29 Thread Huang Meilong
Hello, I added deploy-mode flag in spark-sql cli like this: $ spark-sql --deploy-mode cluster --master yarn -e "select * from mx" It showed error saying "Cluster deploy mode is not applicable to Spark SQL shell", but "spark-sql --help" shows "--deploy-mode" option. Is this a bug?

Do tasks from the same application run in different JVMs

2016-06-29 Thread Huang Meilong
Hi, In spark, tasks from different applications run in different JVMs, then what about tasks from the same application?