java.lang.IllegalArgumentException

offset (0) + length (4) exceed the capacity of the array: 2

Solutions on the web12260

  • offset (0) + length (4) exceed the capacity of the array: 2
  • via nutch-user by Stanislav Orlenko, 1 year ago
    offset (0) + length (4) exceed the capacity of the array: 2
  • via nutch-user by Lewis John Mcgibbney, 1 year ago
    offset (0) + length (4) exceed the capacity of the array: 2
  • Stack trace

    • java.lang.IllegalArgumentException: offset (0) + length (4) exceed the capacity of the array: 2 at org.apache.hadoop.hbase.util.Bytes.explainWrongLengthOrOffset(Bytes.java:625) at org.apache.hadoop.hbase.util.Bytes.toInt(Bytes.java:795) at org.apache.hadoop.hbase.util.Bytes.toInt(Bytes.java:771) at com.ngdata.hbaseindexer.parse.ByteArrayValueMappers$1.mapInternal(ByteArrayValueMappers.java:37) at com.ngdata.hbaseindexer.parse.ByteArrayValueMappers$AbstractByteValueMapper.map(ByteArrayValueMappers.java:157) at com.ngdata.hbaseindexer.morphline.ExtractHBaseCellsBuilder$Mapping.extractWithSingleOutputField(ExtractHBaseCellsBuilder.java:204) at com.ngdata.hbaseindexer.morphline.ExtractHBaseCellsBuilder$Mapping.apply(ExtractHBaseCellsBuilder.java:197) at com.ngdata.hbaseindexer.morphline.ExtractHBaseCellsBuilder$ExtractHBaseCells.doProcess(ExtractHBaseCellsBuilder.java:83) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:161) at org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:186) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:161) at com.ngdata.hbaseindexer.morphline.LocalMorphlineResultToSolrMapper.map(LocalMorphlineResultToSolrMapper.java:242) at com.ngdata.hbaseindexer.morphline.MorphlineResultToSolrMapper.map(MorphlineResultToSolrMapper.java:145) at com.ngdata.hbaseindexer.indexer.Indexer$RowBasedIndexer.calculateIndexUpdates(Indexer.java:289) at com.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:144) at com.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99) at com.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago