hive-site.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  17. <configuration>
  18. <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
  19. <!-- that are implied by Hadoop setup variables. -->
  20. <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
  21. <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
  22. <!-- resource). -->
  23. <property>
  24. <name>hive.server2.authentication</name>
  25. <value>NOSASL</value>
  26. </property>
  27. <!-- Hive Execution Parameters -->
  28. <property>
  29. <name>javax.jdo.option.ConnectionURL</name>
  30. <value>jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore_db;create=true</value>
  31. <description>JDBC connect string for a JDBC metastore</description>
  32. </property>
  33. <property>
  34. <name>javax.jdo.option.ConnectionDriverName</name>
  35. <value>org.apache.derby.jdbc.EmbeddedDriver</value>
  36. <description>Driver class name for a JDBC metastore</description>
  37. </property>
  38. </configuration>