通过hive --service metastore & 命令启动hive时报错:
hive下hive -site.xml配置错误,重新配置了下好了(我的hive是整合了hue的)
下面是我的配置信息
hive.server2.thrift.port 10000 hive.server2.thrift.bind.host mini1 hive.server2.long.polling.timeout 5000 hive.metastore.uris thrift://mini1:9083 javax.jdo.option.ConnectionURL jdbc:mysql://mini1:3306/metastore?createDatabaseIfNotExist=true JDBC connect string for a JDBC metastore javax.jdo.option.ConnectionDriverName com.mysql.jdbc.Driver Driver class name for a JDBC metastore javax.jdo.option.ConnectionUserName root username to use against metastore database javax.jdo.option.ConnectionPassword root password to use against metastore database hive.cli.print.current.db true Whether to include the current database in the Hive prompt. hive.cli.print.header true Whether to print the names of the columns in query output.