<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Wrong Zookeeper Client Information listed in Eclipse Java Program in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114855#M77649</link>
    <description>&lt;P&gt;all these value are getting picked up from your env variable &lt;A href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.zookeeper/zookeeper/3.3.1/org/apache/zookeeper/Environment.java#Environment" target="_blank"&gt;http://grepcode.com/file/repo1.maven.org/maven2/org.apache.zookeeper/zookeeper/3.3.1/org/apache/zookeeper/Environment.java#Environment&lt;/A&gt;&lt;/P&gt;&lt;P&gt; please check your env variable &lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2016 23:19:38 GMT</pubDate>
    <dc:creator>rajkumar_singh</dc:creator>
    <dc:date>2016-06-01T23:19:38Z</dc:date>
    <item>
      <title>Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114854#M77648</link>
      <description>&lt;P&gt;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&lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:05,796 INFO  [main] zookeeper.ZooKeeper: Client environment:host.name=daniel&lt;/P&gt;&lt;P&gt;2016-05-31 16:04:05,796 INFO  [main] zookeeper.ZooKeeper: Client environment:java.version=1.7.0_72&lt;/P&gt;&lt;P&gt;
2016-05-31 16:04:05,796 INFO  [main] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:05,796 INFO  [main] zookeeper.ZooKeeper: Client environment:java.home=C:\Java\jdk1.7.0_72\jre&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114854#M77648</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-01T23:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114855#M77649</link>
      <description>&lt;P&gt;all these value are getting picked up from your env variable &lt;A href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.zookeeper/zookeeper/3.3.1/org/apache/zookeeper/Environment.java#Environment" target="_blank"&gt;http://grepcode.com/file/repo1.maven.org/maven2/org.apache.zookeeper/zookeeper/3.3.1/org/apache/zookeeper/Environment.java#Environment&lt;/A&gt;&lt;/P&gt;&lt;P&gt; please check your env variable &lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:19:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114855#M77649</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-06-01T23:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114856#M77650</link>
      <description>&lt;P&gt;How would I ensure it picks up the values from my VM.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:24:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114856#M77650</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-01T23:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114857#M77651</link>
      <description>&lt;P&gt;is there any zk client is running on your local machine which is trying to connect to zk-server running on vm?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:29:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114857#M77651</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-06-01T23:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114858#M77652</link>
      <description>&lt;P&gt;No. There is not zk client running on my local machine. I think my java program fails to connect to zookeper. I get the below error as well &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:05,827 INFO  [main-SendThread(0:0:0:0:0:0:0:1:2181)] zookeeper.ClientCnxn: Opening socket connection to server 0:0:0:0:0:0:0:1/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)
2016-05-31 16:04:06,830 WARN  [main-SendThread(0:0:0:0:0:0:0:1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at             &lt;/P&gt;&lt;P&gt;      sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at          &lt;/P&gt;&lt;P&gt;     sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739)
at &lt;/P&gt;&lt;P&gt;     org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at &lt;/P&gt;&lt;P&gt;     org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:06,935 INFO  [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Opening socket connection to server 127.0.0.1/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:06,945 WARN  [main] zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=localhost:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid &lt;/P&gt;&lt;P&gt;2016-05-31 16:04:07,937 WARN  [main-SendThread(127.0.0.1:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:37:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114858#M77652</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-01T23:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114859#M77653</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10819/dburaimo.html" nodeid="10819"&gt;@Daniel Buraimo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you trying to connect to hbase cluster ?&lt;/P&gt;&lt;P&gt;In your pom.xml, you should have dependency similar to the following:&lt;/P&gt;&lt;P&gt;[INFO] |  +- org.apache.zookeeper:zookeeper:jar:3.4.6:compile&lt;/P&gt;&lt;P&gt;In your hbase-site.xml, the following two config parameters should have the correct values:&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hbase.zookeeper.quorum&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;zookeeper.znode.parent&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;/hbase-unsecure&amp;lt;/value&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 23:38:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114859#M77653</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-01T23:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114860#M77654</link>
      <description>&lt;P&gt;Yes I'm trying to connect to an hbase cluster to perform CRUD oeprations on tables. My java program currently looks like this&lt;/P&gt;&lt;P&gt;Configuration conf = HBaseConfiguration.create(); &lt;/P&gt;&lt;P&gt;try {

HBaseAdmin.checkHBaseAvailable(conf);&lt;/P&gt;&lt;P&gt;
} &lt;/P&gt;&lt;P&gt;
        catch (Exception e) { &lt;/P&gt;&lt;P&gt;// TODO Auto-generated catch block&lt;/P&gt;&lt;P&gt;e.printStackTrace(); &lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;HBase Version
&lt;/TD&gt;&lt;TD&gt;1.1.2.2.4.0.0-169, revision=61dfb2b344f424a11f93b3f086eab815c1eb0b6a
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ZooKeeper Client Version&lt;/TD&gt;&lt;TD&gt;3.4.6-169, revision=-1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Zookeeper Quorum&lt;/TD&gt;&lt;TD&gt;sandbox.hortonworks.com:2181&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Zookeeper Base Path&lt;/TD&gt;&lt;TD&gt;/hbase-unsecure&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hadoop Version&lt;/TD&gt;&lt;TD&gt;2.7.1.2.4.0.0-169, revision=26104d8ac833884c8776473823007f176854f2eb&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;All information gotten from Ambari Dashboard. The hbase-site xml were also downloaded from the Ambari dashboard.  I'm currently using hbase-1.1.5 bin version jars in my local java project.  I also had to set a local hadoop home directory in vm arguments because I got  the below error&lt;/P&gt;&lt;P&gt;2016-06-01 10:12:17,088 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.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 00:12:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114860#M77654</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-02T00:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114861#M77655</link>
      <description>&lt;P&gt;The hbase-site xml didn't seem to be on your classpath - that was why 0:0:0:0:0:0:0:1:2181 appeared in the log.&lt;/P&gt;&lt;P&gt;Once you put hbase-site.xml on classpath, you should be able to connect.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 00:37:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114861#M77655</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-02T00:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114862#M77656</link>
      <description>&lt;P&gt;I've put the hbase-site.xml in the classpath. I get an updated log which I've atatched&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4689-errorlog.txt"&gt;errorlog.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 01:03:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114862#M77656</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-02T01:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114863#M77657</link>
      <description>&lt;P&gt;I also added the following to my local windows host file&lt;/P&gt;&lt;P&gt;127.0.0.1 localhost &lt;/P&gt;&lt;P&gt;10.0.2.15 sandbox sandbox.hortonworks.com&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 01:24:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114863#M77657</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-02T01:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114864#M77658</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;You need to set your HADOOP_HOME in the environment.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 01:55:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114864#M77658</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-02T01:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114865#M77659</link>
      <description>&lt;P&gt;I set the hadoop home directory. I'm still getting the same zookeper connection errors&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 03:58:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114865#M77659</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-02T03:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114866#M77660</link>
      <description>&lt;P&gt;Can you check the zookeeper server log on 10.0.2.15 ?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 04:16:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114866#M77660</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-02T04:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114867#M77661</link>
      <description>&lt;P&gt;Is that accessible through ambari or do I have to get it from my SSH Horton client&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 04:26:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114867#M77661</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-02T04:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114868#M77662</link>
      <description>&lt;P&gt;I navigated Ambari UI w.r.t. the zookeeper server(s)&lt;/P&gt;&lt;P&gt;There is no direct UI for log collection.&lt;/P&gt;&lt;P&gt;Please log onto the VM.&lt;/P&gt;&lt;P&gt;Log should be under /var/log/zookeeper/&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 05:13:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114868#M77662</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-02T05:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114869#M77663</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10819/dburaimo.html" nodeid="10819"&gt;@Daniel Buraimo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you got a chance to check zookeeper log ?&lt;/P&gt;&lt;P&gt;Let us know what help we can provide.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 23:36:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114869#M77663</guid>
      <dc:creator>tyu</dc:creator>
      <dc:date>2016-06-02T23:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong Zookeeper Client Information listed in Eclipse Java Program</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114870#M77664</link>
      <description>&lt;P&gt;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&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2016 03:14:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Wrong-Zookeeper-Client-Information-listed-in-Eclipse-Java/m-p/114870#M77664</guid>
      <dc:creator>DanBur</dc:creator>
      <dc:date>2016-06-03T03:14:09Z</dc:date>
    </item>
  </channel>
</rss>

