phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siva <>
Subject Line separator option in Bulk loader
Date Thu, 05 Feb 2015 21:28:13 GMT
We have table contains a NOTE column, this column contains lines of text
separated by new lines. When I export the data from .csv through
bulkloader, Phoenix is failing with error and Hbase terminates the text
till encounters the new line and assumes rest of NOTE as new record.

Is there a way to specify new line separator in Hbase or Phoenix bulk load?

With phoenix:

hadoop jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool --table test_leadwarehouse
--input /user/sbhavanari/test_leadwarehouse.csv --zookeeper <zookeeper

With hbase importtsv:

base org.apache.hadoop.hbase.mapreduce.ImportTsv '-Dimporttsv.separator=,'
-Dimporttsv.columns=<col_list> test_leadwarehouse

View raw message