Advertisement
Guest User

Untitled

a guest
Oct 13th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3.  
  4. <!--
  5. Licensed to the Apache Software Foundation (ASF) under one or more
  6. contributor license agreements. See the NOTICE file distributed with
  7. this work for additional information regarding copyright ownership.
  8. The ASF licenses this file to You under the Apache License, Version 2.0
  9. (the "License"); you may not use this file except in compliance with
  10. the License. You may obtain a copy of the License at
  11.  
  12. http://www.apache.org/licenses/LICENSE-2.0
  13.  
  14. Unless required by applicable law or agreed to in writing, software
  15. distributed under the License is distributed on an "AS IS" BASIS,
  16. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. See the License for the specific language governing permissions and
  18. limitations under the License.
  19. -->
  20.  
  21. <!--
  22. This template file contains settings needed to run Apache Hive queries
  23. with Ignite In-Memory Accelerator.
  24.  
  25. You can replace '$HIVE_HOME/conf/hive-site.xml' file with this one or
  26. run script '$IGNITE_HOME/bin/setup-hadoop.{sh|bat}' for Apache Hadoop
  27. and Hive client setup.
  28. -->
  29. <configuration>
  30. <!--
  31. Ignite requires query plan to be passed not using local resource.
  32. -->
  33. <property>
  34. <name>hive.rpc.query.plan</name>
  35. <value>true</value>
  36. </property>
  37.  
  38. <configuration>
  39. <property>
  40. <name>javax.jdo.option.ConnectionURL</name>
  41. <value>jdbc:mysql://localhost/hive2_metastore?createDatabaseIfNotExist=true&amp;useSSL=false</value>
  42. <description>metadata is stored in a MySQL server</description>
  43. </property>
  44. <property>
  45. <name>javax.jdo.option.ConnectionDriverName</name>
  46. <value>com.mysql.jdbc.Driver</value>
  47. <description>MySQL JDBC driver class</description>
  48. </property>
  49. <property>
  50. <name>javax.jdo.option.ConnectionUserName</name>
  51. <value>hive</value>
  52. <description>user name for connecting to mysql server</description>
  53. </property>
  54. <property>
  55. <name>javax.jdo.option.ConnectionPassword</name>
  56. <value>password</value>
  57. <description>password for connecting to mysql server</description>
  58. </property>
  59. </configuration>
  60.  
  61. <property>
  62. <name>hive.server2.transport.mode</name>
  63. <value>binary</value>
  64. </property>
  65.  
  66.  
  67. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement