上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: 解决办法: 二、分布式环境下在slave上hive命令行失败 解决办法: 检查了半天,看到里面有一句Could not connect to meta store using any of the URIs provided 看了一下netstat -apn |grep 9083 发现的确没有人在监 阅读全文
posted @ 2016-11-01 16:44 kane_zch 阅读(1670) 评论(0) 推荐(0) 编辑
摘要: 1. download hive1.2.1 to /usr/local > apache-hive-1.2.1-bin.tar.gz 2. tar zxvf apache-hive-1.2.1-bin.tar.gz >then there will be a directory apache-hiv 阅读全文
posted @ 2016-10-31 19:38 kane_zch 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 将代码改为批量获取后的效果(10695026条数据共4个G左右): 数据量是之前的2.7倍,拉取时间4倍,读取的时候是从Mongodb的备服务器上读取 继续修改代码加batchsize增加一倍后: 数据量2.06倍,时间3.08倍 阅读全文
posted @ 2016-10-28 17:54 kane_zch 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 一、SQL 1. <Sams Teach Yourself SQL in 10 Minutes> fouth edition 二、JAVA <core java > 9th edition 三、docker <The docker book>中文 四、REST <REST in practice> 阅读全文
posted @ 2016-10-15 14:17 kane_zch 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 一、how to kill a hive job yarn application -list yarn application -kill application_id 二、how to connect hiveserver with beeline beeline -u jdbc:hive2:/ 阅读全文
posted @ 2016-09-20 10:37 kane_zch 阅读(153) 评论(0) 推荐(0) 编辑
摘要: http://www.programcreek.com/java-design-patterns-in-stories/ 阅读全文
posted @ 2016-09-10 14:52 kane_zch 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 终端操作 一、java HelloJava 1. ctrl+C 进程关闭 2. 手动关闭终端 进程关闭 3. exec.sh #!/bin/bashcd /home/wlanuser/z07732java HelloJava ./exec.sh ctrl+C 进程关闭./exec.sh 手动关闭终端 阅读全文
posted @ 2016-09-07 14:37 kane_zch 阅读(387) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/feihong247/article/details/7874063 阅读全文
posted @ 2016-09-01 15:00 kane_zch 阅读(156) 评论(0) 推荐(0) 编辑
摘要: export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin 阅读全文
posted @ 2016-08-26 15:47 kane_zch 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1: hostname DB-Server --运行后立即生效(新会话生效),但是在系统重启后会丢失所做的修改 2: echo DB-Server > /proc/sys/kernel/hostname --运行后立即生效(新会话生效),但是在系统重启后会丢失所做的修改 3: sysctl kern 阅读全文
posted @ 2016-08-26 14:47 kane_zch 阅读(318) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页