问题1:win7+idea下写hbase卡住不动 Zookeeper 错误 Will not attempt to authenticate using SASL (unknown error)
解决方式: C:\Windows\System32\drivers\etc\hosts 里加入 zookeeper域名和IP的映射 (如果文件无法编辑,我是直接删除原host文件,并新建同名文件后编辑;可参考网上从 属性-安全 ... 修改权限)
参考:https://blog.csdn.net/taoli1986/article/details/52762660
问题2:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries
解决方式:下载lib缺失文件地址:https://github.com/srccodes/hadoop-common-2.2.0-bin
不要顾虑它的版本,我用的最新的hadoop-2.3.0都没问题!下载好后,把winutils.exe加入你的hadoop-x.x.x/bin下。
参考:https://www.cnblogs.com/hyl8218/p/5492450.html