V
V
Vadim Shatalov2019-10-11 12:15:10
Python
Vadim Shatalov, 2019-10-11 12:15:10

How to call Python UDF for Hive?

Hello everyone, has anyone come across - I use Hortonworks Sandbox HDP - for Hive I add python udf, when I call it from cli I get: Query with transform clause is disallowed in current configuration.
Authorization is through Ranger, all possible rights for the hive user are
Apache Hive (version 3.1.0.3.0.1.0-187)
It is not clear that this message is clearly from the standard authorization plugin
https://github.com/apache/hive /blob/master/ql/src/...
and ranger is clearly used here
0: jdbc:hive2://sandbox-hdp.hortonworks.com:2> show roles;
…..
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. getAllRoles() not implemented in Ranger HiveAuthorizer (state=08S01,code=1)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question