摘要: 参考http://developer.51cto.com/art/201403/430986.htm 阅读全文
posted @ 2017-09-17 15:42 牵牛花 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 解决方案是,在设置hadoop的配置的时候,显示设置这个类:"org.apache.hadoop.hdfs.DistributedFileSystem: 阅读全文
posted @ 2017-09-16 18:31 牵牛花 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 0down vote This issue is caused by the version of hbase-client in your pom differing from the jar versions on the server side. If you're using vendor- 阅读全文
posted @ 2017-09-16 17:59 牵牛花 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 数据链接:http://pan.baidu.com/s/1cKvqZc 密码:4mcy 阅读全文
posted @ 2017-09-15 17:28 牵牛花 阅读(1023) 评论(0) 推荐(0) 编辑
摘要: 简述 RDD、DataFrame和DataSet是容易产生混淆的概念,必须对其相互之间对比,才可以知道其中异同:DataFrame多了数据的结构信息,即schema。RDD是分布式的 Java对象的集合。DataFrame是分布式的Row对象的集合。 作者:jacksu来源:简书|2016-03-2 阅读全文
posted @ 2017-09-15 14:28 牵牛花 阅读(247) 评论(0) 推荐(0) 编辑
摘要: DML(data manipulation language)是数据操纵语言:它们是SELECT、UPDATE、INSERT、DELETE,就象它的名字一样,这4条命令是用来对数据库里的数据进行操作的语言。DDL(data definition language)是数据定义语言:DDL比DML要多, 阅读全文
posted @ 2017-09-14 19:33 牵牛花 阅读(667) 评论(0) 推荐(0) 编辑
摘要: def main(args: Array[String]): Unit = { val res1 = fact(4); val res2 = fact2(4,1) println(res1) println(res2) } //递归 def factorial(n:Int):Int={ if(n<=0){ 1 }el... 阅读全文
posted @ 2017-09-14 13:24 牵牛花 阅读(114) 评论(0) 推荐(0) 编辑
摘要: public static String reverseStr(String str) { char[] chars = str.toCharArray(); StringBuffer sb = new StringBuffer(); for (int i = chars.length - 1; i >= 0; i--) { ... 阅读全文
posted @ 2017-09-14 10:09 牵牛花 阅读(2414) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-09-13 09:51 牵牛花 阅读(2) 评论(0) 推荐(0) 编辑
摘要: spark 数据倾斜的一些表现 https://yq.aliyun.com/articles/62541 阅读全文
posted @ 2017-09-12 20:39 牵牛花 阅读(196) 评论(0) 推荐(0) 编辑