Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D3616E67 for ; Wed, 6 Jul 2011 04:56:46 +0000 (UTC) Received: (qmail 95714 invoked by uid 500); 6 Jul 2011 04:56:45 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95566 invoked by uid 500); 6 Jul 2011 04:56:41 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 95535 invoked by uid 99); 6 Jul 2011 04:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 04:56:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 04:56:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D43BD454FC for ; Wed, 6 Jul 2011 04:56:16 +0000 (UTC) Date: Wed, 6 Jul 2011 04:56:16 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: issues@hbase.apache.org Message-ID: <245958064.2750.1309928176865.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-4065) TableOutputFormat ignores failure to create table instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 TableOutputFormat ignores failure to create table instance ---------------------------------------------------------- Key: HBASE-4065 URL: https://issues.apache.org/jira/browse/HBASE-4065 Project: HBase Issue Type: Bug Affects Versions: 0.90.3 Reporter: Todd Lipcon Fix For: 0.90.4 If TableOutputFormat in the new API fails to create a table, it simply logs this at ERROR level and then continues on its way. Then, the first write() to the table will throw a NPE since table hasn't been set. Instead, it should probably rethrow the exception as a RuntimeException in setConf, or do what the old-API TOF does and not create the HTable instance until getRecordWriter, where it can throw an IOE. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira