hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhaval Shah <prince_mithi...@yahoo.co.in>
Subject Re: How can I export HBase table using start and stop row key
Date Tue, 22 Oct 2013 14:33:16 GMT
Hi Karunakar. Unfortunately due to organizational restrictions I am not allowed to share my
code. However, its a very simple modification. 

Basically look at Export.java within the hbase mapreduce package. Look for the function getConfiguredScanForJob
(might be named differently based on your version) and add the required hbase Filter to your
scan or you can also add a start row/stop row to your scan. Should not be more than 3 lines
of code to do what you need
 
Regards,
Dhaval


________________________________
 From: karunakar <lkarunakar86@gmail.com>
To: user@hbase.apache.org 
Sent: Monday, 21 October 2013 7:36 PM
Subject: Re: How can I export HBase table using start and stop row key
 

Hi Dhaval,

Can you please share your code if possible ? it would benefit others as
well.

Thanks,
karunakar.



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/How-can-I-export-HBase-table-using-start-and-stop-row-key-tp4051961p4051972.html

Sent from the HBase User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message