You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure DataLake环境下PySpark访问Cassandra的技术问询

基于Azure DataLake用PySpark访问Cassandra的尝试记录

我目前正在基于Azure DataLake开展工作,希望通过PySpark脚本访问Cassandra数据库。我尝试执行了以下命令:

pyspark --packages anguenot/pyspark-cassandra:0.7.0 --conf spark.cassandra.connection.host=12.34.56.78

执行后得到的输出如下:

SPARK_MAJOR_VERSION已设置为2,使用Spark2;Python版本为2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)],运行于linux2系统。输入"help"、"copyright"、"credits"或"license"可查看更多信息。Anaconda由Continuum Analytics提供。

内容的提问来源于stack exchange,提问作者Steven

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.25 06:16:44