1.
bin/schematool -initSchema -dbType mysql
2.
nohup bin/hive --service metastore -p 9083 > /data/hive/log/metastore_9083.log 2>&1 &
nohup bin/hive --service hiveserver2 > /data/hive/log/hiveserver2.log 2>&1 &
netstat -tunpl | grep 9083
bin/hive -f /opt/create-tpcdsdb.hql