Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

使用Sentry创建role时报错:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null

avatar
New Contributor

当我在 CDH 中添加了 Sentry 服务管理 Hive 用户的权限时,在执行 create role admin_role; 时出现错误如下:

信息:编译命令(queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d):创建角色 reader_role_cmd
信息:语义分析已完成
信息:返回 Hive 架构:架构(fieldSchemas:null,属性:null)
信息:完成编译命令(queryId= hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d); 耗时:0.051 秒
信息:执行命令(queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d):创建角色 reader_role_cmd
信息:在串行模式下启动任务 [Stage-0:DDL]
错误:失败:执行错误,返回代码 1来自 org.apache.hadoop.hive.ql.exec.DDLTask。
信息:已完成执行命令(queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d);耗时:161.188 秒
错误:处理语句时出错:FAILED:执行错误,从 org.apache.hadoop.hive.ql.exec.DDLTask 返回代码 1。空(
状态=08S01,代码=1)

1 REPLY 1

avatar
Community Manager

English Translation: 

 

Error when using Sentry to create role: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask.null

When I added the permission of Sentry service to manage Hive users in CDH, I got the following error when executing create role admin_role; :

INFO: Compile command (queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d): create role reader_role_cmd
INFO: Semantic analysis completed
INFO: Return Hive Schema: Schema(fieldSchemas: null, property: null)
INFO: Completing compile command (queryId= hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d); Elapsed time: 0.051 seconds
INFO: Execute command (queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d): create role reader_role_cmd
INFO: Starting task [Stage-0:DDL] in serial mode
Error: Failed: Execution error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
INFO: Finished executing command (queryId=hive_20220307160426_c1b81d20-2da5-4fd1-93ed-ff6313fafa8d); Elapsed time: 161.188 seconds
Error: Error processing statement: FAILED: Execution error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null(
status=08S01, code=1)
More about this source textSource text required for additional translation information
Send feedback
Side panels



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: