摘要:
f you want to set the editor only for Git, do either (you don’t need both): Set core.editor in your Git config: git config --global core.editor "vim" 阅读全文
摘要:
at org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef.waitForZKConnectionEvent(ActiveStandbyElector.java:1051) at org.apache.hadoop.ha.Act 阅读全文
摘要:
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>, 阅读全文
摘要:
ntp时间不一致 阅读全文
摘要:
执行 mountpoint -q /test/mountecho $? 如果是0表示已经mount mountpoint -q /test/mount || mount -o bind /some/directory/here /test/mount 阅读全文
摘要:
删除hdfs上的/hbasehadoop fs -rm -r /hbase删除zookeeper上的/hbasezookeeper-client -server 192.168.1.2:2181 rmr /hbase 阅读全文
摘要:
前提: 系统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 阅读全文
摘要:
原因: hdfs-site.xml中的配置为: dfs.datanode.du.reserved值太大了,预留近400G。 设小一点就可以了10737418240,例如10G。 阅读全文
摘要:
原因: hdfs-site.xml中的配置为: dfs.datanode.data.dir只配了一个目录,并且dfs.datanode.failed.volumes.tolerated设置成了1。 只有一个目录,还允许一个目录不可用! 解决办法: dfs.datanode.failed.volume 阅读全文
摘要:
Hbase master启动报错: 报错原因是hbase找不到hdfs的nameservice。 解决方法,在hbase的启动CLASSPATH中加入hdfs的配置文件的路径,core-site.xml和hdfs-site.xml。 如果是在docker中启动,还需要将hdfs的配置文件的路径挂载出 阅读全文