Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2903A174D7 for ; Wed, 28 Jan 2015 19:06:37 +0000 (UTC) Received: (qmail 37656 invoked by uid 500); 28 Jan 2015 19:06:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 37593 invoked by uid 500); 28 Jan 2015 19:06:36 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 37528 invoked by uid 500); 28 Jan 2015 19:06:36 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 37510 invoked by uid 99); 28 Jan 2015 19:06:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2015 19:06:36 +0000 Date: Wed, 28 Jan 2015 19:06:36 +0000 (UTC) From: "Gunther Hagleitner (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8307) null character in columns.comments schema property breaks jobconf.xml 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-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14295633#comment-14295633 ] Gunther Hagleitner commented on HIVE-8307: ------------------------------------------ It's true that it's fixable on their end, but the null byte in column.comments is ugly too. @Ashutosh - I think you put that in, what was that needed for? > null character in columns.comments schema property breaks jobconf.xml > --------------------------------------------------------------------- > > Key: HIVE-8307 > URL: https://issues.apache.org/jira/browse/HIVE-8307 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.13.0, 0.13.1 > Reporter: Carl Laird > > It would appear that the fix for https://issues.apache.org/jira/browse/HIVE-6681 is causing the null character to show up in job config xml files: > I get the following when trying to insert into an elasticsearch backed table: > [Fatal Error] :336:51: Character reference "&# > 14/06/17 14:40:11 FATAL conf.Configuration: error parsing conf file: org.xml.sax.SAXParseException; lineNumber: 336; columnNumber: 51; Character reference "&# > Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException; lineNumber: 336; columnNumber: 51; Character reference "&# > at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1263) > at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1129) > at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063) > at org.apache.hadoop.conf.Configuration.get(Configuration.java:416) > at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:604) > at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:1273) > at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:667) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > Caused by: org.xml.sax.SAXParseException; lineNumber: 336; columnNumber: 51; Character reference "&# > at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:251) > at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300) > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) > at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1181) > ... 11 more > Execution failed with exit status: 1 > Line 336 of jobconf.xml: > columns.comments������������ > See https://groups.google.com/forum/#!msg/mongodb-user/lKbha0SzMP8/jvE8ZrJom4AJ for more discussion. -- This message was sent by Atlassian JIRA (v6.3.4#6332)