hive配置
./hive --service metastore
初始化 将元数据存储在MySQL
bin/schematool -initSchema -dbType mysql
hive-env.sh:
export HADOOP_HOME=/opt/module/hadoop
export HIVE_CONF_DIR=/opt/module/hive/conf
hive-site.xml:
./hive --service metastore
初始化 将元数据存储在MySQL
bin/schematool -initSchema -dbType mysql
hive-env.sh:
export HADOOP_HOME=/opt/module/hadoop
export HIVE_CONF_DIR=/opt/module/hive/conf
hive-site.xml: