我试图在树莓派2上安装配置单元。我通过解压缩压缩的Hive包安装了Hive,并在我创建的hduser用户组下手动配置了$ HADOOP_HOME和$ HIVE_HOME。当运行蜂巢,我得到了以下错误消息: 蜂巢Hive安装问题:Hive Metastore数据库未初始化
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Exception in thread "main" java.lang.RuntimeException: Hive metastore database is not initialized. Please use schematool (e.g. ./schematool -initSchema -dbType ...) to create the schema. If needed, don't forget to include the option to auto-create the underlying database in your JDBC connection string (e.g. ?createDatabaseIfNotExist=true for mysql)
于是我就命令在上面的错误信息提示: schematool -dbType德比-initSchema 我得到的错误信息:
Error: FUNCTION 'NUCLEUS_ASCII' already exists. (state=X0Y68,code=30000) org.apache.hadoop.hive.metastore.HiveMetaException: Schema initialization FAILED! Metastore state would be inconsistent !! * schemaTool failed *
似乎没有任何有用的信息,当我尝试谷歌此错误在线。有关Hive如何与德比合作的任何帮助或任何解释,我们将不胜感激!
你有没有想过解决这个问题? – Newtopian