1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| <configuration> <property> <name>javax.jdo.option.ConnectionURL</name> <value>jdbc:mysql://localhost:3306/hivedb?createDatabaseIfNotExist=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT</value> </property>
<property> <name>javax.jdo.option.ConnectionDriverName</name> <value>com.mysql.cj.jdbc.Driver</value> </property>
<property> <name>javax.jdo.option.ConnectionUserName</name> <value>root</value> </property>
<property> <name>javax.jdo.option.ConnectionPassword</name> <value>123456</value> </property>
<property> <name>hive.metastore.schema.verification</name> <value>false</value> </property>
<property> <name>hive.cli.print.current.db</name> <value>true</value> </property>
<property> <name>hive.cli.print.header</name> <value>true</value> </property>
<property> <name>hive.server2.thrift.port</name> <value>10000</value> </property>
<property> <name>hive.server2.thrift.bind.host</name> <value>hadoop1</value> </property> </configuration>
|