
小错误
企鹅席地而坐
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
websocket连接失败!!
连接socket的时一定要把url对上:我的127.0.0.1就是localhost如果tomcat配置的是那这里也要改成原创 2020-04-03 18:03:46 · 6116 阅读 · 2 评论 -
Command line is too long. Shorten command line for OOP or also for Application default configuration
idea运行代码时出现解决:在.idea文件夹里的workspace.xml中的标签下添加:<property name="dynamic.classpath" value="true" />原创 2019-12-14 16:39:34 · 456 阅读 · 0 评论 -
解决rdd无法调用toDF及 value toDF is not a member of org.apache.spark.rdd.RDD[names]
编译代码object homework01 { def main(args: Array[String]): Unit = { val conf = new SparkConf().setAppName("ch2homework01").setMaster("local[4]") val sc = new SparkContext(conf) val sp...原创 2019-12-10 13:58:41 · 1701 阅读 · 0 评论 -
读取文件时,读取hdfs集群的文件和本机文件的scala代码写法
读取hdfs集群的文件val file=sc.textFile("/data/wordcount.txt")不能写成:val file=sc.textFile(“hdfs:IP地址///data/wordcount.txt”)读取本机文件val file=sc.textFile(“file:///data/wordcount.txt”)...原创 2019-12-06 10:02:31 · 786 阅读 · 0 评论