Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Struggling to use Zookeeper 3.4.5-1392090 for HBase 0.94.9 tests


+
Lewis John Mcgibbney 2013-11-06, 10:53
+
Lewis John Mcgibbney 2013-11-06, 10:54
+
Flavio Junqueira 2013-11-06, 11:02
+
Lewis John Mcgibbney 2013-11-06, 12:17
Copy link to this message
-
RE: Struggling to use Zookeeper 3.4.5-1392090 for HBase 0.94.9 tests
I don´t think you need to change the server (client) port, instead you need
to change the connect string for the client. If you change the server port
and not the client connect string, then change the client port on the server
to the default value, 2181, because this is the one the client is trying to
use according to your log.

-Flavio

-----Original Message-----
From: Lewis John Mcgibbney [mailto:[EMAIL PROTECTED]]
Sent: 06 November 2013 13:18
To: [EMAIL PROTECTED]
Subject: Re: Struggling to use Zookeeper 3.4.5-1392090 for HBase 0.94.9
tests

Hi Flavio,
Thanks for the feedback.
I tried changing the server port configuration in zoo.cfg to patch the
previous however Zookeeper then assigns a different client port regardless.

Is there anything else I should add to zoo.cfg apart from the following?
All I require is one server running locally.

tickTime=2000
dataDir=${user.dir}/zookeeper
clientPort=65144
maxClientCnxns=300
server.0=localhost:2888:3888

Thanks for the feedback Falvio. Much appreciated.
Best
Lewis
On Wed, Nov 6, 2013 at 11:02 AM, Flavio Junqueira
<[EMAIL PROTECTED]>wrote:

> The server seems to be binding to a different than the one the client
> is trying to connect to:
>
> >> Started MiniZK
> >> Cluster and connect 1 ZK server on client port: 60055
>
>
> >> Opening socket connection to
> >> server localhost/127.0.0.1:2181. Will not attempt to authenticate
> >> using SASL (unknown error)
>
>
> -Flavio
>
> On Nov 6, 2013, at 11:54 AM, Lewis John Mcgibbney <
> [EMAIL PROTECTED]> wrote:
>
> > For anyone who's interested the full build output in all its glory
> > can be found here
> >
> https://builds.apache.org/job/GORA_94_BRANCH/134/org.apache.gora$gora-
> hbase/consoleText
> > Thanks again for any help that comes my way.
> > Best
> > Lewis
> >
> >
> > On Wed, Nov 6, 2013 at 10:53 AM, Lewis John Mcgibbney <
> > [EMAIL PROTECTED]> wrote:
> >
> >> Hi Zookeepers,
> >> I'm in the process of upgrading the HBase version over in Apache
> >> Gora
> from
> >> 0.90.4 to 0.94.9.
> >> For our test suite we use an embedded HBase cluster [0]. The
> configuration
> >> for which can also be seen here [1].
> >> When I attempt to initiate the HBase cluster, I get the following
> >> output (I've removed the classpath entries for brevity).
> >>
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
> >> 17:52
> GMT
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server environment:
> >> host.name=localhost
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.version=1.7.0_45
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.vendor=Oracle Corporation
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.home=/usr/java/jdk1.7.0_45/jre
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >>
>
environment:java.class.path=/home/mary/Downloads/apache/GORA_94/gora-hbase/t
arget/test-classes:
> >> ...
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.library.path=/usr/java/packages/lib/i386:/lib:/usr
> >> /lib
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.io.tmpdir=/tmp
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:java.compiler=<NA>
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server environment:
> os.name
> >> =Linux
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:os.arch=i386
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:os.version=3.5.0-42-generic
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server environment:
> >> user.name=mary
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:user.home=/home/mary
> >> 13/11/06 10:32:21 INFO server.ZooKeeperServer: Server
> >> environment:user.dir=/home/mary/Downloads/apache/GORA_94/gora-hbase
environment:java.class.path=/home/mary/Downloads/apache/GORA_94/gora-hbase/t
arget/test-classes:
*Lewis*
+
Lewis John Mcgibbney 2013-11-08, 14:42
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB