HIVE笔记
启动hive和内置derby:
hive --service hiveserver2
测试连接:
- bin/beeline
- !connect jdbc:hive2://192.168.70.128:10000/test
阅读全文停止hive:hive>exit;
一些重要的配置
- hive-site.xml
12345678910 <property><name>javax.jdo.option.ConnectionUserName</name><value>root</value><description>Username to use against metastore database</description></property><property><name>javax.jdo.option.ConnectionPassword</name><value>root</value><description>password to use against metastore database</description></property>