I have completed database and hadoop installation. And done hite-site.xml configuration for jdbc. When I try hive prompt it fail with error message. -bash-4.1$ export HADOOP_HOME=/u01/hive/hadoop/hadoop-1.2.1 -bash-4.1$ bin/hive [Fatal Error] hive-site.xml:1994:16: The element type "value" must be terminated by the matching end-tag "". 16/10/12 10:21:15 FATAL conf.Configuration: error parsing conf file: org.xml.sax.SAXParseException: The element type "value" must be terminated by the matching end-tag "". Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException: The element type "value" must be terminated by the matching end-tag "". at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1249) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1117) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1053) at org.apache.hadoop.conf.Configuration.get(Configuration.java:460) at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:1141) at org.apache.hadoop.hive.conf.HiveConf.(HiveConf.java:1087) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:74) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4j(LogUtils.java:58) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:630) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:160) Caused by: org.xml.sax.SAXParseException: The element type "value" must be terminated by the matching end-tag "". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1148) ... 14 more
↧