Altering table column family attributes without disabling the table

2013-07-23 Thread techbuddy
Hi, We need to enable replication on a live cluster. However it requires disabling the table and bringing the required column families under the scope of replication as under. disable 'your_table' alter 'your_table', {NAME = 'family_name', REPLICATION_SCOPE = '1'} enable 'your_table' This is

HBase Master not running Exception

2013-07-23 Thread arun sirimalla
I am running mapreduce job to insert the data into HBase, Map phase is running fine, but when the reducer starts it fails on all nodes except one node and i notice below error on failed tasks. Out of 12 tasktrackers, one tasktracker can connect to HBase and insert the data. Class path is set on

Re: HBase Master not running Exception

2013-07-23 Thread Ted Yu
Which HBase release are you using ? Mind showing us how you initialize the reduce tasks ? Cheers On Tue, Jul 23, 2013 at 12:26 PM, arun sirimalla arunsi...@gmail.comwrote: I am running mapreduce job to insert the data into HBase, Map phase is running fine, but when the reducer starts it

Re: HBase Master not running Exception

2013-07-23 Thread arun sirimalla
I am using HBase 94.6, i am not pretty sure about how we intialize reducers. I can ask my developer regarding that. Is there any other issue that can cause reduce task not connecting to HBase? I Set only 1 reducer to this job, it succeeds only if that reducer task is assigned to one of the

Re: Altering table column family attributes without disabling the table

2013-07-23 Thread Jean-Daniel Cryans
You could always set hbase.online.schema.update.enable to true on your master, restart it (but not the cluster), and you could do what you are describing... but it's a risky feature to use before 0.96.0. Did you also set hbase.replication to true? If not, you'll have to do it on the region

Re: HBase Master not running Exception

2013-07-23 Thread Ted Yu
More information from the developer would help. Also take a look at TableMapReduceUtil#initTableReducerJob() and how it is used in 0.94 code base. Cheers On Tue, Jul 23, 2013 at 12:50 PM, arun sirimalla arunsi...@gmail.comwrote: I am using HBase 94.6, i am not pretty sure about how we

Re: Altering table column family attributes without disabling the table

2013-07-23 Thread techbuddy
Thanks for the reply JD! I came to know about this online schema setting shortly after I made the post. And yes ,I know the hbase.replication needs to be kept set to true. However enabling that on a live cluster is not an issue for as we can do that incrementally one region server at a time after

Data missing in import bulk data

2013-07-23 Thread Huangmao (Homer) Quan
Hi hbase users, We got an issue when import data from thrift (perl) We found the number of data is less than expected. when scan the table, we got: ERROR: java.lang.RuntimeException: org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=7, exceptions: Tue Jul 23

Re: Data missing in import bulk data

2013-07-23 Thread Ted Yu
Which HBase release are you using ? Was it possible that the import included Delete's ? Cheers On Tue, Jul 23, 2013 at 5:23 PM, Huangmao (Homer) Quan luj...@gmail.comwrote: Hi hbase users, We got an issue when import data from thrift (perl) We found the number of data is less than