Re: example of mapreduce output to hbase

2012-03-12 Thread Weishung Chung
Thank you ! On Sun, Mar 11, 2012 at 4:07 PM, Doug Meil doug.m...@explorysmedical.comwrote: Hi there- Have you seen the examples in here? http://hbase.apache.org/book.html#mapreduce On 3/11/12 4:59 PM, Weishung Chung weish...@gmail.com wrote: Hey users, I am trying to store

Java Programming and Hbase

2012-03-12 Thread Mahdi Negahi
Dear Friends I try to write a simple application with Java and manipulate my Hbase table. so I read this post and try to follow it. http://hbase.apache.org/docs/current/api/index.html I use eclipse and add hbase-092.0.jar as external jar file for my project. but i have problem in the first

Re: Java Programming and Hbase

2012-03-12 Thread kim young ill
you also need to import hadoop.jar, since hbase runs on hahoop On Mon, Mar 12, 2012 at 9:45 AM, Mahdi Negahi negahi.ma...@hotmail.comwrote: Dear Friends I try to write a simple application with Java and manipulate my Hbase table. so I read this post and try to follow it.

Re: Why ScannerTimeoutException is not handled in TableInputFormat?

2012-03-12 Thread Jan Lukavský
Hi Jon, sorry I forgot to include the details of our environment. We are using cdh3u3, which includes the patch (I think cdh3u2 did not). I went a bit through the patches for the two issues (HBASE-4196) and (HBASE-4269) and I think the problem is that the patch to HBASE-4196 did not change

RE: Java Programming and Hbase

2012-03-12 Thread Mahdi Negahi
I install habse in standalone and I don't install Hadoop. Date: Mon, 12 Mar 2012 10:43:44 +0100 Subject: Re: Java Programming and Hbase From: khi...@googlemail.com To: user@hbase.apache.org you also need to import hadoop.jar, since hbase runs on hahoop On Mon, Mar 12, 2012 at 9:45

RE: Java Programming and Hbase

2012-03-12 Thread Mahdi Negahi
Is it necessary to install hadoop for hbase, if want use Hbase in my laptop and use it via Java ? Date: Mon, 12 Mar 2012 10:43:44 +0100 Subject: Re: Java Programming and Hbase From: khi...@googlemail.com To: user@hbase.apache.org you also need to import hadoop.jar, since hbase runs

RE: Java Programming and Hbase

2012-03-12 Thread N Keywal
You will need the hadoop jar for this. Hbase uses hadoop for common stuff like the configuration you've seen, so even a simple client needs it. N. Le 12 mars 2012 12:06, Mahdi Negahi negahi.ma...@hotmail.com a écrit : Is it necessary to install hadoop for hbase, if want use Hbase in my

RE: Java Programming and Hbase

2012-03-12 Thread Mahdi Negahi
I so confused. I must install Hadoop or use only jar files ? Date: Mon, 12 Mar 2012 12:46:09 +0100 Subject: RE: Java Programming and Hbase From: nkey...@gmail.com To: user@hbase.apache.org You will need the hadoop jar for this. Hbase uses hadoop for common stuff like the configuration

Re: Java Programming and Hbase

2012-03-12 Thread N Keywal
only jar files. They are already in the hbase distrib (i.e. if you download hbase, you get the hadoop jar files you need). You just need to import them in your IDE. On Mon, Mar 12, 2012 at 1:05 PM, Mahdi Negahi negahi.ma...@hotmail.comwrote: I so confused. I must install Hadoop or use only

Re: Error when Upgrading from 0.90.x to 0.92.x

2012-03-12 Thread Harsh J
Jiajun, Your problem isn't coprocessor related, per those logs. It appears that one of the regions Master tried to look up in your .META. entries had no region info associated with it (and hence got a null). Before upgrading, did your hbck report proper health? Does your master not start at all

Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread Doug Meil
Hi there- You probably want to see this... http://hbase.apache.org/book.html#dm.column.metadata You can get the CF's from HTableDescriptor. http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/HTableDescriptor.ht ml On 3/12/12 10:10 AM, Mahdi Negahi negahi.ma...@hotmail.com wrote:

Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread N Keywal
Hi, Yes and no. No, because as a table can have millions of columns and these columns can be different for every row, the only way to get all the columns is to scan the whole table. Yes, because if you scan the table you can have the columns names. See Result#getMap: it's organized by family --

Re: Retrieve Column Family and Column with Java API

2012-03-12 Thread Takuya UESHIN
Hi, I think you want to know about the following methods: http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#addColumn(byte[], byte[]) http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#addFamily(byte[]) Thanks. 2012/3/12 Mahdi Negahi

Re: Problem in start Hbase Rest Server

2012-03-12 Thread Stack
On Sun, Mar 11, 2012 at 7:42 PM, mahdi negahi negahi.ma...@hotmail.com wrote: Thanks for ur reply but I run the following command and happened the same issue ./bin/hbase rest start -p 6060 Is hbase running? St.Ack

Re: The hbase is able to deploy on AIX?

2012-03-12 Thread Stack
2012/3/12 庄阳 zhuangy...@asiainfo-linkage.com: Hi guys! The hbase is able to deploy on AIX? 2012-03-12 Try it. Let us know how it goes. St.Ack

Re: Error when Upgrading from 0.90.x to 0.92.x

2012-03-12 Thread Stack
On Mon, Mar 12, 2012 at 7:24 AM, Jiajun Chen cjjvict...@gmail.com wrote: 2012-03-12 22:05:52,822 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. java.lang.NullPointerException This looks like https://issues.apache.org/jira/browse/HBASE-5279. Try the

Re: [proposal] HUG, March 27 @ SU

2012-03-12 Thread Stack
On Wed, Mar 7, 2012 at 1:48 PM, Nicolas Spiegelberg nspiegelb...@fb.com wrote: Looking for +1s on a March 27th HBase Users Group.  Just want to make sure there are no huge conflicts before we post the official meetup.  StumbleUpon has shiny new office space, so it seems like a great spot to

HBase Users Group: March 27 @ StumbleUpon

2012-03-12 Thread Nicolas Spiegelberg
We will be hosting a HBase users group in two weeks (Tuesday, March 27 @ 6PM) at StumbleUpon HQ. This is a perfect opportunity for people evaluating HBase to meet other users, new HBase users to learn more from others, and existing users to stay up to date on the latest open source

Re: Bulkload discards duplicates

2012-03-12 Thread lars hofhansl
Hi Laxman, can you clarify what you mean by duplicates? The TreeSet is using KeyValue.COMPARATOR,which treats KVs as the same only if the entire key (including column and timestamp) is the same. Do you have KVs with the same rowKey, columnKey, and timestamp, but different values? Thanks. --

Re: hbase performance issue

2012-03-12 Thread Jean-Daniel Cryans
Your post is missing the most important configurations, mainly the region server heap size and GC configs. Also, how much of those 300GB do you need to serve? Does the working dataset fit in cache? J-D On Sun, Mar 11, 2012 at 12:39 PM, Антон Лыска ant...@wildec.com wrote: Hi guys! I have a

ext3 to ext4 upgrade Was: HBase cluster on heterogeneous filesystems

2012-03-12 Thread Ted Yu
Is it possible to upgrade ext4 without losing existing data ? Thanks On Fri, Nov 11, 2011 at 2:24 PM, Edward Capriolo edlinuxg...@gmail.comwrote: On Fri, Nov 11, 2011 at 4:42 PM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Hello, I was wondering if anyone has done an experiment

Re: ext3 to ext4 upgrade Was: HBase cluster on heterogeneous filesystems

2012-03-12 Thread Harsh J
Yep, it can be: http://kernelnewbies.org/Ext4#head-3891522e0601162aab24c73c1f148a1e28c6a9d4 On Mon, Mar 12, 2012 at 11:13 PM, Ted Yu yuzhih...@gmail.com wrote: Is it possible to upgrade ext4 without losing existing data ? Thanks On Fri, Nov 11, 2011 at 2:24 PM, Edward Capriolo

Re: Java Programming and Hbase

2012-03-12 Thread Mohammad Tariq
Hello Mahdi, Have you imported org.apache.hadoop.conf.Configuration in your code.May be you have added the jar but forgot to import it. Regards,     Mohammad Tariq On Mon, Mar 12, 2012 at 6:06 PM, N Keywal nkey...@gmail.com wrote: only jar files. They are already in the hbase distrib (i.e.

Re: Java Programming and Hbase

2012-03-12 Thread shashwat shriparv
Check out this mail thread and follow hope this will solve your problem http://mail-archives.apache.org/mod_mbox/hadoop-common-user/201012.mbox/%3c6b159e02-5c17-4371-b764-a572d9f10...@umail.ucsb.edu%3E Dont forget to import hadoop.jar and check if hadoop is running Regards Shashwat On Mon,

Hbase column families

2012-03-12 Thread Dalia Sobhy
Hiii all, I want to make a simple example using hbase. First I made a table called Student with one column family info.. After creating the table, I discovered that I need to add a new column family called courses..So any idea how to do that using hbase shell. I tried these commands disable

Re: export schema only

2012-03-12 Thread Stack
On Mon, Mar 12, 2012 at 5:28 PM, Rita rmorgan...@gmail.com wrote: Hello, Is it possible to export table schema only versus exporting the entire table?  I need this so I can create a separate table for QA purposes. In shell, if you do 'describe TABLENAME', the output can be used create the