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

Runtime exception when querying HBase with Spark [Spark Branch]

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: spark-branch
    • Fix Version/s: 1.2.0
    • Component/s: Spark
    • Labels:
      None

      Description

      When querying HBase with Spark, we got

       Caused by: java.lang.IllegalArgumentException: Must specify table name
      at org.apache.hadoop.hbase.mapreduce.TableOutputFormat.setConf(TableOutputFormat.java:188)
      at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:73)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
      at org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveOutputFormat(HiveFileFormatUtils.java:276)
      at org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveOutputFormat(HiveFileFormatUtils.java:266)
      at org.apache.hadoop.hive.ql.exec.FileSinkOperator.initializeOp(FileSinkOperator.java:331)
      

      But it works fine for MapReduce.

        Attachments

        1. HIVE-10073.1-spark.patch
          4 kB
          Jimmy Xiang
        2. HIVE-10073.2-spark.patch
          2 kB
          Jimmy Xiang
        3. HIVE-10073.3-spark.patch
          2 kB
          Jimmy Xiang

          Activity

            People

            • Assignee:
              jxiang Jimmy Xiang
              Reporter:
              jxiang Jimmy Xiang
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: