HBASE-3711 importtsv fails if rowkey length exceeds MAX_ROW_LENGTH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1086724 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1685e9b536
commit
fbd1666643
|
@ -52,6 +52,8 @@ Release 0.91.0 - Unreleased
|
|||
HBASE-3688 Setters of class HTableDescriptor do not work properly
|
||||
HBASE-3702 Fix NPE in Exec method parameter serialization
|
||||
HBASE-3709 HFile compression not sharing configuration
|
||||
HBASE-3711 importtsv fails if rowkey length exceeds MAX_ROW_LENGTH
|
||||
(Kazuki Ohta via todd)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||
|
|
|
@ -267,6 +267,16 @@ public class ImportTsv {
|
|||
} else {
|
||||
throw new IOException(badLine);
|
||||
}
|
||||
} catch (IllegalArgumentException e) {
|
||||
if (skipBadLines) {
|
||||
System.err.println(
|
||||
"Bad line at offset: " + offset.get() + ":\n" +
|
||||
badLine.getMessage());
|
||||
badLineCount.increment(1);
|
||||
return;
|
||||
} else {
|
||||
throw new IOException(badLine);
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue