window 系统 不能写入hbase 到这步以后就卡住了,不再执行
来源:12-15 -功能一之HBase操作工具类开发

慕运维7479159
2018-01-05
Files\Java\jdk1.8.0_151\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;$PYTHON;C:\ProgramData\Oracle\Java\javapath;$HADOOP_HOME\bin;C:\Program Files\Java\jdk1.8.0_151\bin;D:\Mvn\apache-maven-3.5.2\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Git\cmd;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Users\5838\AppData\Local\Programs\Python\Python36;.
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:java.io.tmpdir=C:\Users\5838\AppData\Local\Temp\
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 7
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:os.version=6.1
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:user.name=20100765
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:user.home=C:\Users\5838
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Client environment:user.dir=C:\Users\5838\IdeaProjects\sparktrain
18/01/05 10:34:40 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.140.128:2181 sessionTimeout=180000 watcher=hconnection-0x4cc451f20x0, quorum=192.168.140.128:2181, baseZNode=/hbase
18/01/05 10:34:53 INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.140.128/192.168.140.128:2181. Will not attempt to authenticate using SASL (unknown error)
18/01/05 10:34:53 INFO zookeeper.ClientCnxn: Socket connection established, initiating session, client: /192.168.140.1:2754, server: 192.168.140.128/192.168.140.128:2181
18/01/05 10:34:53 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.140.128/192.168.140.128:2181, sessionid = 0x160c3e7f88c0013, negotiated timeout = 40000
4回答
-
进击的大黄鸭
2018-01-05
解决了吗?我也是这个问题
022018-01-06 -
慕运维7479159
提问者
2018-01-05
18/01/05 12:41:31 WARN zookeeper.RecoverableZooKeeper: Unable to create ZooKeeper Connection
java.net.UnknownHostException: hadoop001
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
00 -
慕运维7479159
提问者
2018-01-05
老师,使用的是ip 使用hadoop000 直接报错,无法连接
012018-01-05 -
Michael_PK
2018-01-05
你用Java API在win上跑下试试,直接用IP
00
相似问题