|
|
-
Re: HBase vs. HDFSlars hofhansl 2012-10-02, 01:05
You probably executed 120k next() RPC against your server, unless you enabled scanner caching.
(On a related note, we should probably not default this to 1, but something more sensible, like 10 or 100). -- Lars ----- Original Message ----- From: Juan P. <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Sent: Monday, October 1, 2012 4:01 PM Subject: HBase vs. HDFS Hi guys, I'm trying to get familiarized with HBase and one thing I noticed is that reads seem to very slow. I just tried doing a "scan 'my_table'" to get 120K records and it took about 50 seconds to print it all out. In contrast "hadoop fs -cat my_file.csv" where my_file.csv has 120K lines completed in under a second. Is that possible? Am I missing something about HBase reads? Thanks, Joni +
Andrew Purtell 2012-10-02, 07:08
+
techbuddy 2012-10-02, 00:03
+
Doug Meil 2012-10-02, 00:54
+
Doug Meil 2012-10-02, 12:28
+
gordoslocos 2012-10-02, 12:46
+
Doug Meil 2012-10-02, 14:04
|