【发布时间】:2016-10-11 17:55:18
【问题描述】:
当我尝试使用以下命令在 HIVE 中创建表时,
CREATE TABLE IF NOT EXISTS employee ( eid int, name String,
salary String, destination String)
COMMENT 'Employee details'
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n'
STORED AS TEXTFILE;
我得到以下错误。
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)
我已授予 HDFS 中 /user/hive/warehouse 目录的完全权限。
【问题讨论】:
-
请分享 hive-site.xml 文件,看起来您的 hive 元存储设置不正确。
-
您能否将完整的异常日志跟踪添加到配置单元日志中的问题中。
标签: hadoop hive hiveql hadoop2 bigdata