Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7292 Hive on Spark
  3. HIVE-7843

orc_analyze.q fails due to random mapred.task.id in FileSinkOperator [Spark Branch]

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • spark-branch
    • 1.1.0
    • Spark

    Description

      java.lang.AssertionError: data length is different from num of DP columns
      org.apache.hadoop.hive.ql.exec.FileSinkOperator.getDynPartDirectory(FileSinkOperator.java:809)
      org.apache.hadoop.hive.ql.exec.FileSinkOperator.getDynOutPaths(FileSinkOperator.java:730)
      org.apache.hadoop.hive.ql.exec.FileSinkOperator.startGroup(FileSinkOperator.java:829)
      org.apache.hadoop.hive.ql.exec.Operator.defaultStartGroup(Operator.java:502)
      org.apache.hadoop.hive.ql.exec.Operator.startGroup(Operator.java:525)
      org.apache.hadoop.hive.ql.exec.spark.SparkReduceRecordHandler.processRow(SparkReduceRecordHandler.java:198)
      org.apache.hadoop.hive.ql.exec.spark.HiveReduceFunctionResultList.processNextRecord(HiveReduceFunctionResultList.java:47)
      org.apache.hadoop.hive.ql.exec.spark.HiveReduceFunctionResultList.processNextRecord(HiveReduceFunctionResultList.java:27)
      org.apache.hadoop.hive.ql.exec.spark.HiveBaseFunctionResultList$ResultIterator.hasNext(HiveBaseFunctionResultList.java:98)
      scala.collection.convert.Wrappers$JIteratorWrapper.hasNext(Wrappers.scala:41)
      scala.collection.Iterator$class.foreach(Iterator.scala:727)
      scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
      org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:759)
      org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:759)
      org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1121)
      org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1121)
      org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:62)
      org.apache.spark.scheduler.Task.run(Task.scala:54)
      org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:199)
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      java.lang.Thread.run(Thread.java:744)
      

      Attachments

        1. HIVE-7843.1-spark.patch
          57 kB
          Venki Korukanti

        Issue Links

          Activity

            People

              vkorukanti Venki Korukanti
              vkorukanti Venki Korukanti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: