Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <!--
- 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.
- -->
- <!--
- This template file contains settings needed to run Apache Hive queries
- with Ignite In-Memory Accelerator.
- You can replace '$HIVE_HOME/conf/hive-site.xml' file with this one or
- run script '$IGNITE_HOME/bin/setup-hadoop.{sh|bat}' for Apache Hadoop
- and Hive client setup.
- -->
- <configuration>
- <!--
- Ignite requires query plan to be passed not using local resource.
- -->
- <property>
- <name>hive.rpc.query.plan</name>
- <value>true</value>
- </property>
- <configuration>
- <property>
- <name>javax.jdo.option.ConnectionURL</name>
- <value>jdbc:mysql://localhost/hive2_metastore?createDatabaseIfNotExist=true&useSSL=false</value>
- <description>metadata is stored in a MySQL server</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionDriverName</name>
- <value>com.mysql.jdbc.Driver</value>
- <description>MySQL JDBC driver class</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionUserName</name>
- <value>hive</value>
- <description>user name for connecting to mysql server</description>
- </property>
- <property>
- <name>javax.jdo.option.ConnectionPassword</name>
- <value>password</value>
- <description>password for connecting to mysql server</description>
- </property>
- </configuration>
- <property>
- <name>hive.server2.transport.mode</name>
- <value>binary</value>
- </property>
- </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement