攻城狮科学家

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年1月28日

摘要: # Set this to where Spark is installed Sys.setenv(SPARK_HOME="/Users/shivaram/spark") # This line loads SparkR from the installed directory .libPaths( 阅读全文
posted @ 2016-01-28 17:06 攻城狮科学家 阅读(273) 评论(0) 推荐(0) 编辑

摘要: https://spark.apache.org/docs/1.5.1/api/java/org/apache/spark/sql/DataFrame.html https://github.com/yu-iskw/spark-dataframe-introduction/blob/master/d 阅读全文
posted @ 2016-01-28 17:05 攻城狮科学家 阅读(404) 评论(0) 推荐(0) 编辑

摘要: 在所有master和slave上也要在spark/conf/spark-conf.sh里面设置driver的classpath,解决编译找不到driver的问题 http://www.iteblog.com/archives/1300 类似这样: export SPARK_CLASSPATH=$SP 阅读全文
posted @ 2016-01-28 15:54 攻城狮科学家 阅读(1229) 评论(0) 推荐(0) 编辑