上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: hadoop 版本:CDH5.02Hbase 版本:hbase-0.96.1.1-cdh5.0.2配置文件:hbase-site.xml hbase.rootdir hdfs://master24:8010/hbase ... 阅读全文
posted @ 2015-03-24 16:34 zhanggl 阅读(1629) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;int add(int x, int y){ return x+y;} int addmove(int a, int b){ if (b==0) { return a; } else { int sum = a ^b... 阅读全文
posted @ 2015-02-24 21:42 zhanggl 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 开发环境: ubuntu14.04 + jdk1.7 + eclispe +nutch1.71:解压下好nutch1.7 src 源码(wget http://archive.apache.org/dist/nutch/1.7/apache-nutch-1.7-src.tar.gz)2:新建一个ja... 阅读全文
posted @ 2014-12-31 15:34 zhanggl 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 今天集群节点一下子挂了5台,hbase的数据块也损坏。hadoop日志.0.15:36642 dest: /ip:500102014-08-26 15:01:14,918 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: DataNode i... 阅读全文
posted @ 2014-12-31 14:44 zhanggl 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: 在mysql上如果直接安装mysql安装的不是5.6版本以上.下面记录怎么解决安装最新版mysql5.6以上. 1、查看本机都安装了mysql什么版本:rpm -qa | grep mysql,默认是安装mysql-libs-5.1.71-1.el6.x86_64 2、卸载mysql-libs-5. 阅读全文
posted @ 2014-12-31 14:39 zhanggl 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1sudoapt-getautoremove--purgemysql-server-5.02sudoapt-getremovemysql-server3sudoapt-getautoremovemysql-server4sudoapt-getremovemysql-common(非常重要)上面的其实... 阅读全文
posted @ 2014-12-31 14:35 zhanggl 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 事先配置2台服务器配置好zookeeper,在配置文件中用zookeeper管理集群,配置文件如下配置文件/conf/storm.yamlsupervisor.slots.ports: 对于每个Supervisor工作节点,需要配置该工作节点可以运行的worker数量。每个worker占用一个单独的... 阅读全文
posted @ 2014-11-16 20:56 zhanggl 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1、在執行完./configure 和make install 後出現test -d '/usr/local/nginx/logs' || mkdir -p '/usr/local/nginx/logs'test -d '/usr/local/nginx/logs' || mkdir -p ... 阅读全文
posted @ 2014-10-30 17:12 zhanggl 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: 1、下载: wget http://download.redis.io/releases/redis-2.8.4.tar.gz2、解压tar xzvf redis-2.8.4.tar.gz -C /home/hadoop/zkcd /home/hadoop/zk/redis-2.8.4sudo ... 阅读全文
posted @ 2014-10-29 09:31 zhanggl 阅读(290) 评论(0) 推荐(0) 编辑
摘要: CentOS, 本地服务器,ip: 192.168.1.111Ubuntu, 远程服务器,ip: 192.168.1.1121.拷贝远程服务器的目录到本地服务器远程服务器192.168.1.112上面/tmp目录下面有个test目录,里面有个文件名为test,内容也为testroot@ubuntu:... 阅读全文
posted @ 2014-09-26 13:45 zhanggl 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页