hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandeep vura <sandeepv...@gmail.com>
Subject Re: Importing data from Hhbase to TSV file
Date Thu, 16 Apr 2015 11:31:32 GMT
Hi Jeetendra,

Add the below jar files in HBASE shell using the below command.

add jar hbase-0.94.17.jar;
add jar hbase-0.94.17-tests.jar;
add jar guava-11.0.2.jar;
add jar zookeeper-3.4.5.jar;
add jar protobuf-java-2.4.0a.jar;

The above jars are located in HBase lib directory.Later execute the below
command in HBase shell to import data as tsv file.

Example: ((Below is the example code,You need to do make changes as your
schema,and filenames.)

Note : Make sure load the input data into HDFS

hbase org.apache.hadoop.hbase.mapreduce.ImportTsv '-Dimporttsv.separator=,'
sales_data /user/data/salesdata/05_salesdata.csv


On Thu, Apr 16, 2015 at 2:43 PM, Jeetendra Gangele <gangele397@gmail.com>

> Hi All does anybody know how to import data from hbase table as tsv file.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message