Re: RS unresponsive after series of deletes

2012-06-22 Thread lars hofhansl
Sorry for chiming in late. Are you sure you want to use Delete.deleteColumn and not Delete.deleteColumns (note the plural form). deleteColumn marks a single version of a column (of a CF of a Row) for deletion deleteColumns marks all versions of a column as deleted (unless you specify a timestamp

Re: Timestamp as a key good practice?

2012-06-22 Thread Jean-Marc Spaggiari
Hum... Seems that it's not working that way: ERROR [main:QuorumPeerConfig@283] - Invalid configuration, only one server specified (ignoring) So most porbably the secondary should looks exactly like the master, but I'm not 100% sure... 2012/6/22, Jean-Marc Spaggiari : > Ok. So if I understand cor

RE: access permission denied on table creation

2012-06-22 Thread Tony Dean
I figured this out. groups must be prefixed with @... hbase.superuser=@hadoop one other question. does anyone know where I can find the internal JAAS login configuration used by hbase named "hadoop-user-kerberos"? thanks. ___

Re: Hbase Replication

2012-06-22 Thread Mohammad Tariq
Hello Jerry, Thank you so much for the valuable reply..It makes perfect sense..I think this topic needs some labor and testing from my side. Regards,     Mohammad Tariq On Sat, Jun 23, 2012 at 3:35 AM, Mohammad Tariq wrote: > Thanks a lot for the quick response J-D..Could you please

Re: Hbase Replication

2012-06-22 Thread Mohammad Tariq
Thanks a lot for the quick response J-D..Could you please give me some direction on how to do this at the application level??I am not able to figure it out.(Please pardon my ignorance). Regards,     Mohammad Tariq On Sat, Jun 23, 2012 at 2:52 AM, Jean-Daniel Cryans wrote: > For the moment each

Re: ConnectionLoss

2012-06-22 Thread Guilherme Vanz
Hi I configured in pseudo-distributed mode and it's running fine. But I'll back the old configuration and try simulate the problem again and get the logs for understand what was happening and I'll try your tip Regards, Guilherme 2012/6/22 shashwat shriparv > try this thread > > > http://stacko

Re: ConnectionLoss

2012-06-22 Thread Guilherme Vanz
Hi Mohammad I configured in pseudo-distributed mode and it's running fine. But I'll back the old configuration and try simulate the problem again and get the logs for understand what was happening Regards, Guilherme 2012/6/22 Mohammad Tariq > Hello Guilherme, > > Can you copy the logs

Re: Hbase Replication

2012-06-22 Thread Jerry Lam
Hi Mohammad: The current HBase replication (as far as I understand) is designed to replicate data from one data center to another data center. The client application has no knowledge of the zookeeper ensemble in the slave cluster and therefore, it cannot switch to the slave cluster in case of a sy

Re: Hbase Replication

2012-06-22 Thread Jean-Daniel Cryans
For the moment each cluster is viewed as a completely different entity, HBase doesn't offer a layer on top of it all (much like MySQL). Thus the "taking it's place" part needs to be solved at the application level. Hope this helps, J-D On Fri, Jun 22, 2012 at 2:18 PM, Mohammad Tariq wrote: > He

Hbase Replication

2012-06-22 Thread Mohammad Tariq
Hello list, I was going through the Hbase Replication documentation(at http://hbase.apache.org/replication.html) to get myself clear with the concepts..One thing which I could not find is that whether it is possible to configure the replication in such a way that if my master cluster goe

Re: ConnectionLoss

2012-06-22 Thread shashwat shriparv
try this thread http://stackoverflow.com/questions/6153560/hbase-client-connectionloss-for-hbase-error and can try this also sudo bin/start-hbase.sh On Fri, Jun 22, 2012 at 1:27 PM, Mohammad Tariq wrote: > Hello Guilherme, > > Can you copy the logs from hbase/logs directory here?

Re: ServerNotRunningException

2012-06-22 Thread shashwat shriparv
Add the remote ip and the domain name(the pc id where you are trying to connect) in your hosts file and then try. Regards ∞ Shashwat Shriparv On Fri, Jun 22, 2012 at 10:58 PM, Jean-Daniel Cryans wrote: > For sure there's nothing in the master's log? > > Also if you want Cloudera-specific he

Re: Timestamp as a key good practice?

2012-06-22 Thread Jean-Marc Spaggiari
Ok. So if I understand correctly, I need: PC1 => HMaster (HBase), JobTracker (Hadoop), Name Node (Hadoop), and ZooKeeper (ZK) PC2 => Secondary Name Node (Hadoop) PC3 to x => Data Node (Hadoop), Task Tracker (Hadoop), Restion Server (HBase) For PC2, should I run Zookeeper, JobTracker and master too

Re: HBase upgrade

2012-06-22 Thread Christian Schäfer
sorry ..wrong mailing list. moved to scm-users - Ursprüngliche Message - Von: Christian Schäfer An: "user@hbase.apache.org" CC: Gesendet: 20:56 Freitag, 22.Juni 2012 Betreff: Re: HBase upgrade Hi, have you checked the logs of hdfs namenode? "Could not obtain the last block locat

Re: HBase upgrade

2012-06-22 Thread Christian Schäfer
Hi, have you checked the logs of hdfs namenode? "Could not obtain the last block locations" sounds like problem onn the namenode (which manages HDFS metadata like block locations) Btw. status green/healthy of HDFS in CM needn't mean (as I experienced) that everything is fine.  regards Chri

Re: When node is down

2012-06-22 Thread Dave Barr
Don't bother excluding the host first if the host is already considered dead in the namenode. Which version of Hadoop? In Hadoop versions nearer to 1.0.0 you will see "Number of Under-Replicated Blocks" in the namenode web UI as it's re-replicating data when a node is down (it will go away when i

Re: ServerNotRunningException

2012-06-22 Thread Jean-Daniel Cryans
For sure there's nothing in the master's log? Also if you want Cloudera-specific help, I recommend that you contact their mailing list: http://www.cloudera.com/community/ J-D On Fri, Jun 22, 2012 at 9:12 AM, Richard Rodseth wrote: > Newbie question. My colleague has set up a Cloudera cluster an

ServerNotRunningException

2012-06-22 Thread Richard Rodseth
Newbie question. My colleague has set up a Cloudera cluster and I am trying to access it remotely from Java, as follows: Configuration config = HBaseConfiguration.create(); config.set("hbase.zookeeper.quorum", "some.domain.com"); config.set("hbase.zo

Re: When node is down

2012-06-22 Thread David Charle
Hi Tom On Fri, Jun 22, 2012 at 6:41 AM, Tom Brown wrote: > Can it notice the node is down sooner? If that node is serving an active > region (or if it's a datanode for an active region), that would be a > potentially large amount of downtime. With comodity hardware, and a large > enough cluster

Re: When node is down

2012-06-22 Thread Tom Brown
Can it notice the node is down sooner? If that node is serving an active region (or if it's a datanode for an active region), that would be a potentially large amount of downtime. With comodity hardware, and a large enough cluster, there will always be a machine or two being rebuilt... Thanks! -

Re: When node is down

2012-06-22 Thread David Charle
Thanks Michael. Does that mean, do I need to exclude the node first and then add it or simply bring the node back; and hadoop/hbase will rebuild the missing blocks (as data is speed on multiple drives, one drive is dead, so 1/4th of data ~300G). Or we need to do any special fs check to ensure the

Re: Isolation level

2012-06-22 Thread Cristina
Thanks everyone for your useful answers. Cristina

Re: ConnectionLoss

2012-06-22 Thread Mohammad Tariq
Hello Guilherme, Can you copy the logs from hbase/logs directory here??it'll help me in understanding the problem in a better way. Regards,     Mohammad Tariq On Thu, Jun 21, 2012 at 11:11 AM, Guilherme Vanz wrote: > Hello! > > I have started studied HBase and I'm having a problem whe

ConnectionLoss

2012-06-22 Thread Guilherme Vanz
Hello! I have started studied HBase and I'm having a problem when tried execute some command on Hbase shell. I configured my HBase on Standalone mode. I have started HBase without troubles, any exception have been throwed. But when I tried execute command for create a table, for example, the follo

Re: Stopping Hbase

2012-06-22 Thread AnandaVelMurugan Chandra Mohan
Hi Lars, Thanks for detailed response. I will check this. On Fri, Jun 22, 2012 at 12:49 PM, Lars George wrote: > Hi Anand, > > The stop-hbase.sh needs two things a) the list of hostnames in the > conf/regionservers file and b) ssh access to all machines. The script then > iterates over that lis

Re: Stopping Hbase

2012-06-22 Thread Lars George
Hi Anand, The stop-hbase.sh needs two things a) the list of hostnames in the conf/regionservers file and b) ssh access to all machines. The script then iterates over that list and sends the "hbase regionserver stop" command to each machine using ssh. In the past we had a shell command that co

Re: Stopping Hbase

2012-06-22 Thread AnandaVelMurugan Chandra Mohan
Hi, I dont have ssh credentials to access master node. So I want to stop Hbase cluster from region server node. Is it possible? On Fri, Jun 22, 2012 at 12:34 PM, Mohammad Tariq wrote: > You can ssh into that machine and stop the Hbase. > > Regards, > Mohammad Tariq > > > On Fri, Jun 22, 2

Re: Stopping Hbase

2012-06-22 Thread Mohammad Tariq
You can ssh into that machine and stop the Hbase. Regards,     Mohammad Tariq On Fri, Jun 22, 2012 at 11:46 AM, AnandaVelMurugan Chandra Mohan wrote: > Hi, > > Can I stop Hbase from any node in the cluster? We have a three node cluster > and owner of two nodes is out of office. I have access to