1
herozhang 2016 年 7 月 20 日
|
2
fzinfz 2016 年 7 月 20 日
|
3
herozhang 2016 年 7 月 20 日
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 2016 年 7 月 20 日
|
5
wmttom 2016 年 7 月 20 日 其实你写代码时候当做 pyspark 包存在就行了,扔到 spark 上跑自然就有了。别忘了把所有依赖打成 zip 一起加上去。
|