You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Kazuki Ohta (JIRA)" <ji...@apache.org> on 2011/03/29 22:12:05 UTC

[jira] [Commented] (HBASE-3711) importtsv fails if rowkey exceeds MAX_ROW_LENGTH

    [ https://issues.apache.org/jira/browse/HBASE-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012664#comment-13012664 ] 

Kazuki Ohta commented on HBASE-3711:
------------------------------------

Put constructor throws IllegalArgumentException, when long rowkey is given.

The patch changed to ignore that exception, when skipBadLines==true.


> importtsv fails if rowkey exceeds MAX_ROW_LENGTH
> ------------------------------------------------
>
>                 Key: HBASE-3711
>                 URL: https://issues.apache.org/jira/browse/HBASE-3711
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>            Reporter: Kazuki Ohta
>            Assignee: Todd Lipcon
>         Attachments: HBASE-3711.patch
>
>
> importtsv MapTask fails with this error, when long row key (exceeds MAX_ROW_LENGTH) was given.
> {quote}
> 11/03/30 04:59:16 INFO mapred.JobClient: Task Id : attempt_201103252231_0077_m_000003_0, Status : FAILED
> java.lang.IllegalArgumentException: Row key is invalid
> 	at org.apache.hadoop.hbase.client.Put.<init>(Put.java:101)
> 	at org.apache.hadoop.hbase.client.Put.<init>(Put.java:80)
> 	at org.apache.hadoop.hbase.client.Put.<init>(Put.java:71)
> 	at org.apache.hadoop.hbase.mapreduce.ImportTsv$TsvImporter.map(ImportTsv.java:235)
> 	at org.apache.hadoop.hbase.mapreduce.ImportTsv$TsvImporter.map(ImportTsv.java:190)
> 	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
> 	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:646)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:322)
> 	at org.apache.hadoop.mapred.Child$4.run(Child.java:240)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115)
> 	at org.apache.hadoop.mapred.Child.main(Child.java:234)
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira