hadoop - Hive schematool 命令错误 org.apache.hadoop.hive.metastore.HiveMetaException:为初始化指定了未知版本:3.1.0
问题描述
我在 Windows 10 中安装 Hadoop,当我启动 Hadoop 时,我在 IIS accounts.tax.gov.ir 中有一个站点,找到一个名为 accounts.tax.gov.ir 的节点。但是当我想运行这个命令时
$HIVE_HOME/bin/schematool -dbType derby -initSchema
我得到这个错误
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/I:/apache-hive-3.1.2-bin/lib/log4j-slf4j-impl
-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/I:/hadoop/share/hadoop/common/lib/slf4j-log4j
12-1.7.25.jar!/org/slf4j/impl/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]
Metastore connection URL: jdbc:derby://localhost:1527/metastore_db;create
=true
Metastore Connection Driver : org.apache.derby.jdbc.ClientDriver
Metastore connection User: APP
Starting metastore schema initialization to 3.1.0
org.apache.hadoop.hive.metastore.HiveMetaException: Unknown version specified fo
r initialization: 3.1.0
Use --verbose for detailed stacktrace.
*** schemaTool failed ***
有谁能够帮我 ?
解决方案
推荐阅读
- angular-cli - angular-cli 适合初学者吗
- c# - Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationMiddleware 警告:0:收到无效的不记名令牌
- css - Bootstrap 删除列进行打印
- rust - 在一组 &str 上使用 BTreeSet::range 时所需的类型注释
- jbpm - jBPM:如何将元素从数组复制到另一个流程变量
- c++ - 在未安装驱动程序的情况下连接 ODBC
- dialogflow-es - 对话流多选实体
- c# - 将文件从 asp.net Web 表单项目上传到 IIS 服务器时,原始文件位于临时文件夹中错误
- c++ - 传递相同定义但在不同命名空间中的数据类型
- c# - 在 RichTextBox 中设置斜体时阻止选项卡