Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15496

hive client version 0.17 : Column has wrong number of index entries found: 1 expected: 9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.14.0
    • None
    • Clients
    • None

    Description

      hive appears that 'Column has wrong number of index entries found: 1 expected: 9' in hive client.But we restart all cluster,the problem disappears and not reappear.The hive server version is 0.13 and the hive client version is 0.17.The following is stack information:
      java.lang.IllegalArgumentException: Column has wrong number of index entries found: 1 expected: 9
      at org.apache.hadoop.hive.ql.io.orc.WriterImpl$TreeWriter.writeStripe(WriterImpl.java:802)
      at org.apache.hadoop.hive.ql.io.orc.WriterImpl$StructTreeWriter.writeStripe(WriterImpl.java:1742)
      at org.apache.hadoop.hive.ql.io.orc.WriterImpl.flushStripe(WriterImpl.java:2133)
      at org.apache.hadoop.hive.ql.io.orc.WriterImpl.checkMemory(WriterImpl.java:352)
      at org.apache.hadoop.hive.ql.io.orc.MemoryManager.notifyWriters(MemoryManager.java:168)
      at org.apache.hadoop.hive.ql.io.orc.MemoryManager.addedRow(MemoryManager.java:157)
      at org.apache.hadoop.hive.ql.io.orc.WriterImpl.addRow(WriterImpl.java:2413)
      at org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat$OrcRecordWriter.write(OrcOutputFormat.java:86)
      at com.facebook.presto.hive.HivePageSink$HiveRecordWriter.addRow(HivePageSink.java:590)
      at com.facebook.presto.hive.HivePageSink.appendPage(HivePageSink.java:287)
      at com.facebook.presto.spi.classloader.ClassLoaderSafeConnectorPageSink.appendPage(ClassLoaderSafeConnectorPageSink.java:42)
      at com.facebook.presto.operator.TableWriterOperator.addInput(TableWriterOperator.java:207)
      at com.facebook.presto.operator.Driver.processInternal(Driver.java:386)
      at com.facebook.presto.operator.Driver.processFor(Driver.java:303)
      at com.facebook.presto.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:577)
      at com.facebook.presto.execution.TaskExecutor$PrioritizedSplitRunner.process(TaskExecutor.java:529)
      at com.facebook.presto.execution.TaskExecutor$Runner.run(TaskExecutor.java:665)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

      Attachments

        Activity

          People

            bolt bolt
            bolt bolt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: