在修改 conf 下面的hive-site.xml
文件这里,题目给的信息是错误的,正确的内容如下:
hive.metastore.warehouse.dir /opt/hive/warehouse hive.exec.scratchdir /opt/hive/tmp hive.querylog.location /opt/hive/logs hive.server2.thrift.port 10000 hive.server2.thrift.bind.host localhost hive.server2.enable.doAs true hive.session.id false hive.session.silent false javax.jdo.option.ConnectionURL jdbc:mysql://localhost:3306/hiveDB?createDatabaseIfNotExist=true javax.jdo.option.ConnectionDriverName com.mysql.jdbc.Driver javax.jdo.option.ConnectionUserName bee javax.jdo.option.ConnectionPassword 123123