Re: Add keys to column family in HBase using Python

2015-04-17 Thread Ted Yu
bq. add columns to the HBase table(from Hive)
Since desired approach is to add column through Hive, please consider Hive
mailing list as well.

Cheers

On Thu, Apr 16, 2015 at 10:45 AM, Chris Nauroth cnaur...@hortonworks.com
wrote:

   Hello Manoj,

  I recommend restarting this thread over at u...@hbase.apache.org.  The
 user@hadoop.apache.org list specifically covers issues in Hadoop Common,
 HDFS, YARN and MapReduce.

   Chris Nauroth
 Hortonworks
 http://hortonworks.com/


   From: Manoj Venkatesh manoj.venkat...@xoom.com
 Reply-To: user@hadoop.apache.org user@hadoop.apache.org
 Date: Wednesday, April 15, 2015 at 10:28 AM
 To: user@hadoop.apache.org user@hadoop.apache.org
 Subject: Add keys to column family in HBase using Python

   Dear Hadoop experts,

  I have a Hadoop cluster which has Hive, HBase installed along with other
 Hadoop components.  I am currently exploring ways to automate a data
 migration process from Hive to HBase which involves new columns of data
 added ever so often.  I was successful in creating a HBase table using Hive
 and load data into the HBase table, on these lines I tried to add columns
 to the HBase table(from Hive) using the alter table syntax and I got the
 error message, “ALTER TABLE cannot be used for a non-native table
 temp_testing”.

  As an alternative to this I am also trying to do this programmatically
 using Python, I have explored the libraries HappyBase
 https://happybase.readthedocs.org/en/latest/index.html and starbase
 http://pythonhosted.org//starbase/. These libraries provide
 functionality for creating, deleting and other features but none of these
 provide an option to add a key to a column family. Does anybody know of a
 better way of achieving this with Python, say libraries or through other
 means.

  Thanks in advance,
 Manoj

 The information transmitted in this email is intended only for the person
 or entity to which it is addressed, and may contain material confidential
 to Xoom Corporation, and/or its subsidiary, buyindiaonline.com Inc. Any
 review, retransmission, dissemination or other use of, or taking of any
 action in reliance upon, this information by persons or entities other than
 the intended recipient(s) is prohibited. If you received this email in
 error, please contact the sender and delete the material from your files.



Re: Add keys to column family in HBase using Python

2015-04-16 Thread Chris Nauroth
Hello Manoj,

I recommend restarting this thread over at u...@hbase.apache.org.  The 
user@hadoop.apache.org list specifically covers issues in Hadoop Common, HDFS, 
YARN and MapReduce.

Chris Nauroth
Hortonworks
http://hortonworks.com/


From: Manoj Venkatesh 
manoj.venkat...@xoom.commailto:manoj.venkat...@xoom.com
Reply-To: user@hadoop.apache.orgmailto:user@hadoop.apache.org 
user@hadoop.apache.orgmailto:user@hadoop.apache.org
Date: Wednesday, April 15, 2015 at 10:28 AM
To: user@hadoop.apache.orgmailto:user@hadoop.apache.org 
user@hadoop.apache.orgmailto:user@hadoop.apache.org
Subject: Add keys to column family in HBase using Python

Dear Hadoop experts,

I have a Hadoop cluster which has Hive, HBase installed along with other Hadoop 
components.  I am currently exploring ways to automate a data migration process 
from Hive to HBase which involves new columns of data added ever so often.  I 
was successful in creating a HBase table using Hive and load data into the 
HBase table, on these lines I tried to add columns to the HBase table(from 
Hive) using the alter table syntax and I got the error message, ALTER TABLE 
cannot be used for a non-native table temp_testing.

As an alternative to this I am also trying to do this programmatically using 
Python, I have explored the libraries 
HappyBasehttps://happybase.readthedocs.org/en/latest/index.html and 
starbasehttp://pythonhosted.org//starbase/. These libraries provide 
functionality for creating, deleting and other features but none of these 
provide an option to add a key to a column family. Does anybody know of a 
better way of achieving this with Python, say libraries or through other means.

Thanks in advance,
Manoj

The information transmitted in this email is intended only for the person or 
entity to which it is addressed, and may contain material confidential to Xoom 
Corporation, and/or its subsidiary, buyindiaonline.com Inc. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient(s) is prohibited. If you received this email in error, please contact 
the sender and delete the material from your files.


Add keys to column family in HBase using Python

2015-04-15 Thread Manoj Venkatesh
Dear Hadoop experts,

I have a Hadoop cluster which has Hive, HBase installed along with other Hadoop 
components.  I am currently exploring ways to automate a data migration process 
from Hive to HBase which involves new columns of data added ever so often.  I 
was successful in creating a HBase table using Hive and load data into the 
HBase table, on these lines I tried to add columns to the HBase table(from 
Hive) using the alter table syntax and I got the error message, ALTER TABLE 
cannot be used for a non-native table temp_testing.

As an alternative to this I am also trying to do this programmatically using 
Python, I have explored the libraries 
HappyBasehttps://happybase.readthedocs.org/en/latest/index.html and 
starbasehttp://pythonhosted.org//starbase/. These libraries provide 
functionality for creating, deleting and other features but none of these 
provide an option to add a key to a column family. Does anybody know of a 
better way of achieving this with Python, say libraries or through other means.

Thanks in advance,
Manoj

The information transmitted in this email is intended only for the person or 
entity to which it is addressed, and may contain material confidential to Xoom 
Corporation, and/or its subsidiary, buyindiaonline.com Inc. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient(s) is prohibited. If you received this email in error, please contact 
the sender and delete the material from your files.