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 HBASE_CLASSPATH="/usr/lib/hbase/:/usr/lib/hbase/lib/:/usr

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 hadoo

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 commons-configuration

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 wrote: > Hi Tariq, > > Thank you!! > I already changed the maxClientCnxns to 1000. > Also we have set CLASSPATH that inc

Re:: Pseudo Distributed: ERROR org.apache.hadoop.hbase.HServerAddress: Could not resolve the DNS name of localhost.localdomain

2012-06-07 Thread Dhaval Shah
Have you restarted zookeeper? Also clearing zookeeper data dir and data log dir might also help.. it seems that localhost.localdomain is being cached somewhere -- On Thu 7 Jun, 2012 2:48 PM IST Manu S wrote: >Hi All, > >In pseudo distributed node HBaseMaster is sto

Dynamic load of Coprocessors

2012-06-07 Thread Amit Sela
Hi all, I can't seem to understand if there is a way to dynamically load coprocessors ? The best way I found so far is using the shell: *alter 'URLS', METHOD => 'table_att', 'coprocessor'=>'|com.infolinks.hbase.coprocessors.HBaseTestRegionObserver||' * I leave the path empty because I put the j

Re: Dynamic load of Coprocessors

2012-06-07 Thread Marcos Ortiz
You should see the explaination on the HBase´s book hbase.coprocessor.region.classes A comma-separated list of Coprocessors that are loaded by default on all tables. For any override coprocessor method, these classes will be called in order. After implementing your own Coprocessor, just put it

Re: : Pseudo Distributed: ERROR org.apache.hadoop.hbase.HServerAddress: Could not resolve the DNS name of localhost.localdomain

2012-06-07 Thread shashwat shriparv
what is the hostname of your machine suppose if it is ubuntu then i hosts file specify like this ubuntu then try... On Thu, Jun 7, 2012 at 6:22 PM, Dhaval Shah wrote: > > Have you restarted zookeeper? Also clearing zookeeper data dir and data > log dir might also help.. it seems that loc

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 : ** ** *hbase.rootdir* *hdfs://{your machine name} or {localhost}:9000/hbase* ** ** *hbase.master* *{your machine name} or {localhost}:6* *The host and port that the HBase master runs at. * ** ** *hbase.regions

Re: Dynamic load of Coprocessors

2012-06-07 Thread Keith Wyss
I believe there is a ticket relevant to your issue under current development. On 6/7/12 9:28 AM, "Marcos Ortiz" wrote: >You should see the explaination on the HBase´s book > >hbase.coprocessor.region.classes > >A comma-separated list of Coprocessors that are loaded by default on all >tables. Fo

Re: Dynamic load of Coprocessors

2012-06-07 Thread Keith Wyss
I apologize for hit send with an incomplete message. I will add that the ticket is HBASE-1936: ClassLoader that loads from HDFS. If I am not mistaken, this could be used to load coprocessors and filters without a grid or table bounce. Perhaps someone more in tune than me has more information. Ch

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 fully-distr

Re: Dynamic load of Coprocessors

2012-06-07 Thread Andrew Purtell
When using the table attribute method you must specify a fully qualified Hadoop path URI to a jar, and it must be accessible to all regionservers i.e. on HDFS. (When opening a region of this table the regionserver will use the Hadoop Filesystem abstraction to copy the jar to a local temporary direc

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 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 distributed) and tested.

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 wrote: > If you have separate zookeeper running no need to specify in hbase > settings... > > On Thu, Jun 7, 2012

Region is not online Execptions

2012-06-07 Thread arun sirimalla
Hi, My Hbase cluster seems to work fine, but i see some exepctions in one of the RegionServer with below message 2012-06-07 19:24:48,809 DEBUG org.apache.hadoop.hbase.regionserver.HRegionServer: NotServingRegionException; Region is not online: -ROOT-,,0 2012-06-07 19:24:56,154 DEBUG org.apache.h

About cells with duplicate timestamp information

2012-06-07 Thread Tom Brown
I have read all I could find regarding what happens when you have multiple cells with the exact same address (r/f/q/t), and I'm still a little confused about the resolution. If I create 2 puts for the exact same address (r/f/q/t), the last one wins? Can I get different results from a scan as from

Re: Region is not online Execptions

2012-06-07 Thread N Keywal
Hi, You can have this if the region moved, i.e. was previously managed by this region server and is now managed by another. The client keeps a cache of the locations, so after a move it will first contact the wrong server. Then the client will update its cache. By default there are 10 internal ret

Re: Dynamic load of Coprocessors

2012-06-07 Thread NNever
*1.Coprocessor on all tables:* When coprocessor on all tables, config hbase-site.xml: > > hbase.coprocessor.region.classes > cp classPath > and config the hbase-env.sh > # Extra Java CLASSPATH elements. Optional. > export > HBASE_CLASSPATH=$HBASE_HOME/libextra/xxx.jar:$HBASE_HOME/libextr

Re: About cells with duplicate timestamp information

2012-06-07 Thread NNever
> If I create 2 puts for the exact same address (r/f/q/t), the last one wins? later one wins. A simple test tells everything. > Can I get different results from a scan as from a get? (What if I specify "max versions = 1"?) Get is finally changed to a Scan, too. > I am currently using HBase 0.92.1

Re: Full text search on HBase

2012-06-07 Thread dong.yajun
Hi Jack you can use solr over hbase, solr stores the index data, and hbase stores the actual data . Thanks Rick On Wed, Jun 6, 2012 at 9:56 PM, Otis Gospodnetic wrote: > https://issues.apache.org/jira/browse/HBASE-3529 > > > Otis > > Performance Monitoring for Solr / ElasticSearch / HBas

Re: Region is not online Execptions

2012-06-07 Thread AnandaVelMurugan Chandra Mohan
Hi, We had a similar issue. It our hbase-site.xml, we had given our hdfs path like this "hdfs://abc.xyz.com:9000\hbase". After checking in hdfs, we changed it to "hdfs://abc.xyz.com:9000:9000/user/hadoop/hbase" and then restarted HBase. It worked it. Please check your conf. On Fri, Jun 8, 2012

Re: Region is not online Execptions

2012-06-07 Thread arun sirimalla
Keywal, Thanks for the information, it makes sense. I restarted the regionserver and now looks fine. Thanks arun On Thu, Jun 7, 2012 at 3:34 PM, N Keywal wrote: > Hi, > > You can have this if the region moved, i.e. was previously managed by > this region server and is now managed by another.