AnsweredAssumed Answered

TsvParser only supports single-byte separators

Question asked by dchauhan on Sep 16, 2014
Latest reply on Jan 4, 2017 by catchcharan
Hi I'm trying to load file separated by ascii 034 into hbase 0.94.21-mapr-1407and it's reporting following error msg. Is there any way to load this data into hbase.

<pre>
14/09/16 10:02:39 INFO mapreduce.TableOutputFormat: Created table instance for acct_dtrmn
14/09/16 10:02:39 INFO input.FileInputFormat: Total input paths to process : 1
14/09/16 10:02:39 WARN snappy.LoadSnappy: Snappy native library is available
14/09/16 10:02:39 INFO snappy.LoadSnappy: Snappy native library loaded
14/09/16 10:02:40 INFO mapred.JobClient: root, realuser: null
14/09/16 10:02:40 INFO mapred.JobClient: Running job: job_201409150935_0002
14/09/16 10:02:41 INFO mapred.JobClient:  map 0% reduce 0%
14/09/16 10:03:08 INFO mapred.JobClient: Task Id : attempt_201409150935_0002_m_000000_0, Status : FAILED on node gdslinux19
java.lang.IllegalArgumentException: TsvParser only supports single-byte separators
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
        at org.apache.hadoop.hbase.mapreduce.ImportTsv$TsvParser.<init>(ImportTsv.java:100)
        at org.apache.hadoop.hbase.mapreduce.TsvImporterMapper.setup(TsvImporterMapper.java:81)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:680)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:346)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:282)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1117)
        at org.apache.hadoop.mapred.Child.main(Child.java:271)

</pre>
Thanks for your help

Outcomes