Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FBAC17516 for ; Thu, 16 Apr 2015 17:46:22 +0000 (UTC) Received: (qmail 3381 invoked by uid 500); 16 Apr 2015 17:46:11 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 3280 invoked by uid 500); 16 Apr 2015 17:46:11 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 3270 invoked by uid 99); 16 Apr 2015 17:46:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2015 17:46:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cnauroth@hortonworks.com designates 64.78.56.46 as permitted sender) Received: from [64.78.56.46] (HELO relayvx11a.securemail.intermedia.net) (64.78.56.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2015 17:45:46 +0000 Received: from securemail.intermedia.net (localhost [127.0.0.1]) by emg-ca-1-1.localdomain (Postfix) with ESMTP id 565BF53DE7 for ; Thu, 16 Apr 2015 10:45:43 -0700 (PDT) Subject: Re: Add keys to column family in HBase using Python MIME-Version: 1.0 x-echoworx-emg-received: Thu, 16 Apr 2015 10:45:43.335 -0700 x-echoworx-msg-id: f92df0ce-5ae1-4ceb-ba6a-60a61a073191 x-echoworx-action: delivered Received: from emg-ca-1-1.securemail.intermedia.net ([10.254.155.11]) by emg-ca-1-1 (JAMES SMTP Server 2.3.2) with SMTP ID 227 for ; Thu, 16 Apr 2015 10:45:43 -0700 (PDT) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) by emg-ca-1-1.localdomain (Postfix) with ESMTP id 232A253DE7 for ; Thu, 16 Apr 2015 10:45:43 -0700 (PDT) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Thu, 16 Apr 2015 10:45:42 -0700 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1044.021; Thu, 16 Apr 2015 10:45:42 -0700 From: Chris Nauroth To: "user@hadoop.apache.org" Thread-Topic: Add keys to column family in HBase using Python Thread-Index: AQHQd6GPGajauK6blUqWCqJ6szUH4J1P6xAA Date: Thu, 16 Apr 2015 17:45:42 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [50.248.208.113] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_D15543191F8A4cnaurothhortonworkscom_" X-Virus-Checked: Checked by ClamAV on apache.org --_000_D15543191F8A4cnaurothhortonworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Manoj, I recommend restarting this thread over at user@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 > Reply-To: "user@hadoop.apache.org" > Date: Wednesday, April 15, 2015 at 10:28 AM To: "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 Ha= doop components. I am currently exploring ways to automate a data migratio= n 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 d= ata into the HBase table, on these lines I tried to add columns to the HBas= e 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 usin= g Python, I have explored the libraries HappyBase and starbase. These libraries provide functionality for creating, deleting and othe= r features but none of these provide an option to add a key to a column fam= ily. Does anybody know of a better way of achieving this with Python, say l= ibraries or through other means. Thanks in advance, Manoj The information transmitted in this email is intended only for the person o= r entity to which it is addressed, and may contain material confidential to= Xoom Corporation, and/or its subsidiary, buyindiaonline.com Inc. Any revie= w, retransmission, dissemination or other use of, or taking of any action i= n reliance upon, this information by persons or entities other than the int= ended recipient(s) is prohibited. If you received this email in error, plea= se contact the sender and delete the material from your files. --_000_D15543191F8A4cnaurothhortonworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-ID: <7640197EB5A7224C9B566CD0E42BC062@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable
Hello Manoj,

I recommend restarting this thread over at user@hbase.apache.org. &nbs= p;The user@hadoop.apache.org list specifically covers issues in Hadoop Comm= on, HDFS, YARN and MapReduce.

Chris Nauroth
Hortonworks


From: Manoj Venkatesh <manoj.venkatesh@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 alon= g with other Hadoop components.  I am currently exploring ways to auto= mate 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 HBas= e 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 HappyBas= e and starbase. These librarie= s 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 kn= ow 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 o= r 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 pers= ons 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.

--_000_D15543191F8A4cnaurothhortonworkscom_--