初始化hive报错 dbType myaql

which: no hbase in (/usr/local/hice/bin:/usr/local/hice/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/us r/local/jdk/bin:/usr/local/hadoop/bin:/usr/local/hadoop/sbin:ZOOKEEPER_HOME/bin:/root/bin:/usr/local/jdk/bin:/usr /local/hadoop/bin:/usr/local/hadoop/sbin:ZOOKEEPER_HOME/bin:/usr/local/jdk/bin:/usr/local/hadoop/bin:/usr/local/h adoop/sbin:ZOOKEEPER_HOME/bin:/usr/local/hive/bin)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBind er.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/i mpl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Unsupported dbType myaql

你看看你的 dbType 参数是不是写错了,没有myaql这种数据库类型的 ,最接近的应该是 mysql

参数写错了
应该是mysql的

可以看出来 你是要把mysql作为hive的元数据库。