03 2017 档案

摘要:git reset --soft fd35h567 (fd35h567表示git log看到的提交号) --soft Does not touch the index file nor the working tree at all (but resets the head to <commit>, 阅读全文
posted @ 2017-03-30 13:35 Entropy_lxl 阅读(137) 评论(0) 推荐(0) 编辑
摘要:ntp时间不一致 阅读全文
posted @ 2017-03-21 17:30 Entropy_lxl 阅读(239) 评论(0) 推荐(0) 编辑
摘要:执行 mountpoint -q /test/mountecho $? 如果是0表示已经mount mountpoint -q /test/mount || mount -o bind /some/directory/here /test/mount 阅读全文
posted @ 2017-03-20 10:49 Entropy_lxl 阅读(2098) 评论(0) 推荐(0) 编辑
摘要:删除hdfs上的/hbasehadoop fs -rm -r /hbase删除zookeeper上的/hbasezookeeper-client -server 192.168.1.2:2181 rmr /hbase 阅读全文
posted @ 2017-03-17 12:04 Entropy_lxl 阅读(361) 评论(0) 推荐(0) 编辑
摘要:前提: 系统centos 7 docker version 1.10.3 使用systemd启动docker 访问方式: 修改/usr/lib/systemd/system/docker.service中的ExecStart,添加host " -H tcp://0.0.0.0:1234 " Exec 阅读全文
posted @ 2017-03-05 20:32 Entropy_lxl 阅读(2513) 评论(0) 推荐(0) 编辑
摘要:原因: hdfs-site.xml中的配置为: dfs.datanode.du.reserved值太大了,预留近400G。 设小一点就可以了10737418240,例如10G。 阅读全文
posted @ 2017-03-03 12:20 Entropy_lxl 阅读(657) 评论(0) 推荐(0) 编辑
摘要:原因: hdfs-site.xml中的配置为: dfs.datanode.data.dir只配了一个目录,并且dfs.datanode.failed.volumes.tolerated设置成了1。 只有一个目录,还允许一个目录不可用! 解决办法: dfs.datanode.failed.volume 阅读全文
posted @ 2017-03-03 11:53 Entropy_lxl 阅读(552) 评论(0) 推荐(0) 编辑
摘要:Hbase master启动报错: 报错原因是hbase找不到hdfs的nameservice。 解决方法,在hbase的启动CLASSPATH中加入hdfs的配置文件的路径,core-site.xml和hdfs-site.xml。 如果是在docker中启动,还需要将hdfs的配置文件的路径挂载出 阅读全文
posted @ 2017-03-02 11:36 Entropy_lxl 阅读(6892) 评论(1) 推荐(0) 编辑
摘要:一、错误起因 Active NameNode日志出现异常IPC‘s epoch [X] is less than the last promised epoch [X+1],出现短期的双Active 我配置的ha自动切换,但是发现STandByNameNode是active,我强制手动切换了三次,S 阅读全文
posted @ 2017-03-01 17:40 Entropy_lxl 阅读(2597) 评论(0) 推荐(0) 编辑
摘要:查看/home有24G。 备份/home目录, umount掉/dev/mapper/centos-home 假设要mount到/var/lib/docker目录, 备份/var/lib/docker df -h可以看到/dev/mapper/centos-home挂载到了/var/lib/dock 阅读全文
posted @ 2017-03-01 11:58 Entropy_lxl 阅读(2741) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示