Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E171317BD1 for ; Thu, 26 Mar 2015 06:04:52 +0000 (UTC) Received: (qmail 27171 invoked by uid 500); 26 Mar 2015 06:04:52 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 27145 invoked by uid 500); 26 Mar 2015 06:04:52 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 27135 invoked by uid 99); 26 Mar 2015 06:04:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 06:04:52 +0000 Date: Thu, 26 Mar 2015 06:04:52 +0000 (UTC) From: "Chengxiang Li (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10073) Runtime exception when querying HBase with Spark [Spark Branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-10073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14381424#comment-14381424 ] Chengxiang Li commented on HIVE-10073: -------------------------------------- Hi, [~jxiang], I saw you only call checkOutputSpecs for ReduceWork, but there may be a FileSinkOperator in map-only job as well, so we may also need to checkOutputSpecs for MapWork. Besides, the checkOutputSpecs is invoked at SparkRecordHandler::init which would be executed for each task, SparkPlanGenerator::generate(BaseWork work) may be a better place to do this, we can checkOutputSpecs between clone jobconf and serialized jobconf, so this would only be checked once time at RSC side. > Runtime exception when querying HBase with Spark [Spark Branch] > --------------------------------------------------------------- > > Key: HIVE-10073 > URL: https://issues.apache.org/jira/browse/HIVE-10073 > Project: Hive > Issue Type: Bug > Components: Spark > Affects Versions: spark-branch > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Fix For: spark-branch > > Attachments: HIVE-10073.1-spark.patch > > > When querying HBase with Spark, we got > {noformat} > 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) > {noformat} > But it works fine for MapReduce. -- This message was sent by Atlassian JIRA (v6.3.4#6332)