Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vanilla dataproc (no cloudsql configured)
- hive-site.xml
- root@cluster-3ec2-m:/# cat ./etc/hive/conf.dist/hive-site.xml
- <?xml version="1.0" ?>
- <!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <configuration>
- <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files -->
- <!-- that are implied by Hadoop setup variables. -->
- <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive -->
- <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized -->
- <!-- resource). -->
- <!-- Hive Execution Parameters -->
- <property>
- <name>javax.jdo.option.ConnectionURL</name>
- <!--
- Will be clobbered at startup by master 0.
- Required to run schema tool during image build.
- -->
- <value>jdbc:mysql://cluster-3ec2-m/metastore</value>
- <description>the URL of the MySQL database</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionDriverName</name>
- <value>com.mysql.jdbc.Driver</value>
- </property>
- <property>
- <name>hive.hwi.war.file</name>
- <value>/usr/lib/hive/lib/hive-hwi-2.3.2.war</value>
- <description>
- This is the WAR file with the jsp content for Hive Web Interface
- </description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionUserName</name>
- <value>hive</value>
- </property>
- <property>
- <name>datanucleus.fixedDatastore</name>
- <value>true</value>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionPassword</name>
- <value>hive-password</value>
- </property>
- <property>
- <name>datanucleus.autoStartMechanism</name>
- <value>SchemaTable</value>
- </property>
- <property>
- <!--
- Crank up low-level retries from default value of 3. Hive 2.* will have
- metastore connection attempts fast-fail instead of hanging between
- "Starting hive metastore" and "Started the new metastore...", and
- these retries happen with only 1 second between attempts. Metastore
- startup appears to take ~5 seconds; in the rare case of startup
- longer than 60 seconds, the secondary retry loop waits 1 minute between
- attempts.
- -->
- <name>hive.metastore.connect.retries</name>
- <value>60</value>
- </property>
- <property>
- <name>datanucleus.autoCreateSchema</name>
- <value>false</value>
- </property>
- <property>
- <name>hive.execution.engine</name>
- <value>tez</value>
- </property>
- <property>
- <name>hive.metastore.uris</name>
- <value>thrift://cluster-3ec2-m:9083</value>
- </property>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement