博客
关于我
mac下Python2运行SparkSQL
阅读量:96 次
发布时间:2019-02-26

本文共 889 字,大约阅读时间需要 2 分钟。

?????Anaconda ?????

?????Anaconda?????????????????????????????MacOS????????Anaconda???

1. ??Anaconda

?????Anaconda?????????????MacOS???Anaconda????????Python 2.7 version??????Spark?????????????

???????????????????????

2. ??????

????????????????????

export SPARK_HOME=/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7export PATH=$PATH:$SPARK_HOME/binexport PYTHONPATH=/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7/python:/Users/lcc/soft/spark/spark-2.0.1-bin-hadoop2.7/python/lib/py4j-0.10.3-src.zipexport PYSPARK_DRIVER_PYTHON=/anaconda2/bin/ipythonexport PATH="/anaconda2/bin:$PATH"

??????????????????????Spark?Python???????

3. ??PyCharm

?PyCharm IDE?????????????

1.??PyCharm???????????????????2. ???? Interpreter???????+??????Python????3. ???????????Anaconda?????????/anaconda2/bin/python???????????4. ??Spark?Python?????????PyCharm?????????

?????????????????????????????Spark???????????

转载地址:http://sgyz.baihongyu.com/

你可能感兴趣的文章
postgis数据库优化_postgresql 性能优化
查看>>
postgis求面积、交集等相关函数
查看>>
postgis相关函数
查看>>
Postgres Docker版本安装mysql_fdw 插件
查看>>
Postgres invalid command \N数据恢复处理
查看>>
Postgres like 模糊查询匹配集合
查看>>
Postgres 自定义函数内实现 in 操作符的递归查询
查看>>
Postgres 返回当前时间前后指定天数的集合
查看>>
postgres--vacuum
查看>>
postgres--wal
查看>>