1
herozhang Jul 20, 2016
|
2
fzinfz Jul 20, 2016
|
3
herozhang Jul 20, 2016
The bin/pyspark script launches a Python interpreter that is configured to run PySpark applications. To use pyspark interactively, first build Spark, then launch it directly from the command line without any options:
$ sbt/sbt assembly $ ./bin/pyspark |
4
lilydjwg Jul 20, 2016
|
5
wmttom Jul 20, 2016 其实你写代码时候当做 pyspark 包存在就行了,扔到 spark 上跑自然就有了。别忘了把所有依赖打成 zip 一起加上去。
|