RE: HBase is able to connect to ZooKeeper but the connection closes immediately

2013-08-11 Thread Ralf R. Kotowski
Thnx St. Ack I Downgraded from current releases in order to follow the Nutch 2.x tutorial EXACTLY, because I could not get Nutch to work and every post I googled, first thing everyone suggested on this error was to follow the Tutorial EXACTLY So far I finally have been able to get Nutch 1.7

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2013-08-10 Thread Stack
On Fri, Aug 9, 2013 at 12:43 PM, Ralf R. Kotowski r...@enlle.com wrote: HI, I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4 Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase quickstart. 0.90.4 hbase is very old, years old. How do you

HBase is able to connect to ZooKeeper but the connection closes immediately

2013-08-09 Thread Ralf R. Kotowski
HI, I'm new to this, I'm trying to set-up, under Fedora Core 19, Hbase 0.90.4 Standalone to use with Nutch 2.2.1 as per the Nutch 2.x tutorial and Hbase quickstart. I'm getting following error, even just in the Hbase shell, just when issuing the status command, and obviously when issuing

HBase is able to connect to ZooKeeper but the connection closes immediately...

2013-03-12 Thread Ryan Compton
When I try to access HBase from a cluster node which is not the zookeeper server I have the following problem: -bash-3.2$ hostname node33 -bash-3.2$ hbase shell HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 0.90.4-cdh3u3, r, Thu

Re: HBase is able to connect to ZooKeeper but the connection closes immediately...

2013-03-12 Thread Kevin O'dell
Hi Ryan, Make sure you have the correct client configurations on the node you are trying to access from. You will need the hbase-site and the zoo.cfg to make this work. On Tue, Mar 12, 2013 at 4:47 PM, Ryan Compton compton.r...@gmail.comwrote: When I try to access HBase from a cluster node

HBase is able to connect to ZooKeeper but the connection closes immediately...

2013-03-12 Thread Ryan Compton
When I try to access HBase from a cluster node which is not the zookeeper server I have the following problem: -bash-3.2$ hostname node33 -bash-3.2$ hbase shell HBase Shell; enter 'helpRETURN' for list of supported commands. Type exitRETURN to leave the HBase Shell Version 0.90.4-cdh3u3, r, Thu

Re: HBase is able to connect to ZooKeeper but the connection closes immediately...

2013-03-12 Thread Ted Yu
Have you seen Kevin's response ? Cheers On Tue, Mar 12, 2013 at 1:42 PM, Ryan Compton compton.r...@gmail.comwrote: When I try to access HBase from a cluster node which is not the zookeeper server I have the following problem: -bash-3.2$ hostname node33 -bash-3.2$ hbase shell HBase Shell;

Re: HBase is able to connect to ZooKeeper but the connection closes immediately...

2013-03-12 Thread Ryan Compton
Yes, I am having success with it. We use Cloudera and there's a button, Generate Client Configuration, which generated a .zip file with a very informative README.txt. The trick is to extract that .zip and export HBASE_CONF_DIR : hbase(main):002:0 exit -bash-3.2$ hostname node33 -bash-3.2$ export

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-07-03 Thread Manu S
Hi All, This issue has been solved by passing Hbase configuration on the mapreduce codes directly. *conf* = HBaseConfiguration.*create*(); *conf*.clear(); *conf.set(hbase.zookeeper.quorum, namenode hostname/IP);* * * *conf.set(hbase.zookeeper.property.clientPort,client port);* * *

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-20 Thread Manu S
Sorry, a mistake in the previous mail. The mapred output is saving to Hbase table. Is there any specific code modifications for writing output into *HBase *using mapreduce or configuration problem?? Because it is working fine in pseudo-distributed node. On Wed, Jun 20, 2012 at 10:50 AM, Manu S

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-19 Thread Manu S
Hi All, I am still facing this issue in our fully distributed cluster, but its working fine in pseudo-distributed node. We have installed *ZooKeeper *on our *Master node* which contains *Hbase-Master, Namenode Job tracker*. 4 slave nodes having *Hbase-region, Datanode Task tracker.* Zookeeper

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-10 Thread Manu S
Hi Marcos, Please fine the below code, this is working fine in pseudo distributed node but not in fully distributed cluster. We are using static for Configuration HtablePool. * public static class ParsingMap extends MapReduceBase implements MapperLongWritable, Text, Text, Text {

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Manu S
Hi All, Thank you for your reply. I tried all these options but still I am facing this issue. @Mayank: I tried the same, but still getting error. export HADOOP_CLASSPATH=/usr/lib/hadoop/:/usr/lib/hadoop/lib/:/usr/lib/hadoop/conf/ export

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Mohammad Tariq
Actually zookeeper servers have an active connections limit, which by default is 30. You can increase this limit by setting maxClientCnxns property accordingly in your zookeeper config file, zoo.cfg. For example - maxClientCnxns=100but before that copy the hadoop-core-*.jar present inside

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Manu S
Hi Tariq, Thank you!! I already changed the maxClientCnxns to 1000. Also we have set CLASSPATH that includes all the Hadoop,HBase Zookeper path's. I think copying hadoop .jar files to Hbase lib folder is the same affect of setting CLASSPATH with all the folders. There is no

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Mohammad Tariq
which distribution are you using??actually this is not possible..it must be there..download it put it there Regards,     Mohammad Tariq On Thu, Jun 7, 2012 at 2:41 PM, Manu S manupk...@gmail.com wrote: Hi Tariq, Thank you!! I already changed the maxClientCnxns to 1000. Also we have set

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread shashwat shriparv
Try this settings check what you have and what you dont have in the configuration : *configuration* *property* *namehbase.rootdir/name* *valuehdfs://{your machine name} or {localhost}:9000/hbase/value* */property* *property* *namehbase.master/name* *value{your machine name} or

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Manu S
Hi Tariq, Version: HBase-0.90.4 I downloaded commons-configuration-1.6.jar and put it inside HBASE_HOME/lib HADOOP_HOME/lib(In pseudo distributed) and tested. *hbase(main):002:0 status 12/06/07 19:59:59 FATAL zookeeper.ZKConfig: The server in zoo.cfg cannot be set to localhost in a

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread shashwat shriparv
If you have separate zookeeper running no need to specify in hbase settings... On Thu, Jun 7, 2012 at 8:12 PM, Manu S manupk...@gmail.com wrote: Hi Tariq, Version: HBase-0.90.4 I downloaded commons-configuration-1.6.jar and put it inside HBASE_HOME/lib HADOOP_HOME/lib(In pseudo

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-07 Thread Mohammad Tariq
This will be thrown when the hbase.cluster.distributed is true and the value in zoo.cfg is localhost. Regards,     Mohammad Tariq On Thu, Jun 7, 2012 at 10:57 PM, shashwat shriparv dwivedishash...@gmail.com wrote: If you have separate zookeeper running no need to specify in hbase settings...

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-06 Thread Mohammad Tariq
Are you creating too many configuration objects..that could create a problem like this?? Regards,     Mohammad Tariq On Wed, Jun 6, 2012 at 7:55 PM, Manu S manupk...@gmail.com wrote: Hi All, We are running a mapreduce job in a fully distributed cluster.The output of the job is writing to

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-06 Thread Kevin O'dell
Manu, If you are creating new objects depending on what version of HBase you are using you could be hitting https://issues.apache.org/jira/browse/HBASE-5466 On Wed, Jun 6, 2012 at 10:43 AM, Mohammad Tariq donta...@gmail.com wrote: Are you creating too many configuration objects..that could

Re: HBase is able to connect to ZooKeeper but the connection closes immediately

2012-06-06 Thread Marcos Ortiz
Can you show us the code that you are developing? Which HBase version are you using ? Yo should check if you are creating multiples HBaseConfiguration objects. The approach to this is to create one single HBaseConfiguration object and then reuse it in all your code. Regards On 06/06/2012