Member since
06-03-2017
4
Posts
0
Kudos Received
0
Solutions
06-03-2017
11:26 AM
hive-site.xml Here you go, attached is the xml configuration file, please validate the content, at my end its a valid content.
... View more
06-03-2017
10:46 AM
I validated XML content with http://codebeautify.org/xmlvalidator It's a valid XML.
Also there are no leading space in the first line.
... View more
06-03-2017
09:56 AM
I am not sure what exactly is missing or extra character in this
configuration file, but I am getting this error while loading file. bash: /hive/conf/hive-site.xml: line 1: syntax error near unexpected token newline'
bash: /hive/conf/hive-site.xml: line 1: ' My configuration file is : <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:derby:;databaseName=/hdfs/hive/metastore_db;create=true</value>
<description>
JDBC connect string for a JDBC metastore.
To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL.
For example, jdbc:postgresql://myhost/db?ssl=true for postgres database.
</description>
</property>
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/hdfs/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
<property>
<name>hive.metastore.uris</name>
<value/>
<description>Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>org.apache.derby.jdbc.EmbeddedDriver</value>
<description>Driver class name for a JDBC metastore</description>
</property>
<property>
<name>javax.jdo.PersistenceManagerFactoryClass</name>
<value>org.datanucleus.api.jdo.JDOPersistenceManagerFactory</value>
<description>class implementing the jdo persistence</description>
</property>
</configuration>
... View more
Labels:
- Labels:
-
Apache Hive