[ https://issues.apache.org/jira/browse/HIVE-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14156695#comment-14156695 ]
Carl Laird commented on HIVE-8307: ---------------------------------- Thanks for your suggestion Navis. I tried but got the same result. In fact it appears that false is the default value for hive.exec.submitviachild ... I've gotten around this by commenting out the following line in MetaStoreUtils: schema.setProperty("columns.comments", colComment.toString()); as we don't use column comments. > 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: > <property><name>columns.comments</name><value>������������</value></property> > 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)