Support Questions

Find answers, ask questions, and share your expertise

Wrong Zookeeper Client Information listed in Eclipse Java Program

avatar
Contributor

The below environment variables are wrong and seem to be from my local machine. I would expect Zookeeper to list the variables from my Sandbox on VirtualBox

2016-05-31 16:04:05,796 INFO [main] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT

2016-05-31 16:04:05,796 INFO [main] zookeeper.ZooKeeper: Client environment:host.name=daniel

2016-05-31 16:04:05,796 INFO [main] zookeeper.ZooKeeper: Client environment:java.version=1.7.0_72

2016-05-31 16:04:05,796 INFO [main] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation

2016-05-31 16:04:05,796 INFO [main] zookeeper.ZooKeeper: Client environment:java.home=C:\Java\jdk1.7.0_72\jre

1 ACCEPTED SOLUTION

avatar
Super Guru

all these value are getting picked up from your env variable http://grepcode.com/file/repo1.maven.org/maven2/org.apache.zookeeper/zookeeper/3.3.1/org/apache/zook...

please check your env variable

View solution in original post

16 REPLIES 16

avatar
Master Collaborator

2016-06-01 10:51:14,799 ERROR [main] util.Shell: Failed to locate the winutils binary in the hadoop binary path java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

You need to set your HADOOP_HOME in the environment.

avatar
Contributor

I set the hadoop home directory. I'm still getting the same zookeper connection errors

avatar
Master Collaborator

Can you check the zookeeper server log on 10.0.2.15 ?

avatar
Contributor

Is that accessible through ambari or do I have to get it from my SSH Horton client

avatar
Master Collaborator

I navigated Ambari UI w.r.t. the zookeeper server(s)

There is no direct UI for log collection.

Please log onto the VM.

Log should be under /var/log/zookeeper/

Thanks

avatar
Master Collaborator

@Daniel Buraimo

Have you got a chance to check zookeeper log ?

Let us know what help we can provide.

avatar
Contributor

Thank you. I haven't had a chance to look at the logs. Other tasks came up. I'll update the question once I've done that