上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: java并发 ExecutorService http://blog.csdn.net/bairrfhoinn/article/details/16848785 阅读全文
posted @ 2017-01-16 11:11 idea偶买噶 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1. 设置watches data watches: getData() exist() child watches: getChildren() 2. 触发watches setData(): data watches create(): data and child watches delete 阅读全文
posted @ 2017-01-12 10:45 idea偶买噶 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1. The ZooKeeper Data Model 1.1 ZNodes Znodes maintain a stat structure: The Stat structure for each znode in ZooKeeper is made up of the following fi 阅读全文
posted @ 2017-01-12 10:16 idea偶买噶 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1. 下载解压 2. 在conf目录下,新建3个文件(3台服务器):zoo1.cfg、zoo2.cfg、zoo3.cfg zoo1.cfg: tickTime=2000dataDir=/tmp/zookeeper1clientPort=2181initLimit=5syncLimit=2server 阅读全文
posted @ 2017-01-11 16:48 idea偶买噶 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/qq78292959/archive/2011/07/06/2099427.html tar -c: 建立压缩档案-x:解压-t:查看内容-r:向压缩归档文件末尾追加文件-u:更新原压缩包中的文件 这五个是独立的命令,压缩解压都要用到其中一个,可以 阅读全文
posted @ 2017-01-05 20:02 idea偶买噶 阅读(130) 评论(0) 推荐(0) 编辑
摘要: DATABASE的值是null DATABASE可以获取到值 阅读全文
posted @ 2017-01-04 15:16 idea偶买噶 阅读(11689) 评论(1) 推荐(2) 编辑
摘要: $lsof -i:9000 $kill 11475 阅读全文
posted @ 2016-12-16 14:31 idea偶买噶 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 一,通常编译好的hadoop库是在lib中,如果你不想编译,可以用lib/native里面的预编译库,然后把native的库移动到lib文件夹中。cp hadoop-2.6.0/lib/native/* hadoop-2.6.0/lib/二,加入系统变量 export HADOOP_COMMON_L 阅读全文
posted @ 2016-12-16 11:34 idea偶买噶 阅读(604) 评论(0) 推荐(0) 编辑
摘要: google了一下,发现了这篇文章Important Java Directories on Mac OS X,可以使用工具命令“/usr/libexec/java_home”来定位JAVA_HOME http://guibin.iteye.com/blog/1999238 阅读全文
posted @ 2016-12-16 11:09 idea偶买噶 阅读(1470) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/cwj649956781/article/details/37913637 mac 无法ssh localhost,错误提示:bash: /usr/local/bin/ssh_session: Permission denied在网上找了很久也没有找到 阅读全文
posted @ 2016-12-16 10:28 idea偶买噶 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页