Member since
12-27-2018
8
Posts
1
Kudos Received
0
Solutions
01-24-2019
10:37 PM
I've set the timeout=30, but it seems got no effect. And in impalad /sessions, I've found the query session's idle timeout(s) is 1800. In /varz both idle session and query timeout are 30.
... View more
01-20-2019
05:34 PM
It seems that only db_name is needed according to https://www.cloudera.com/documentation/enterprise/5-15-x/topics/impala_refresh_functions.html Syntax: REFRESH FUNCTIONS db_name And in 2.X version of impala the only way is to grant all on server to the role, while in Impala 3.0 and higher the minimum level of privileges required by refresh functions is to grant refresh on database to the role. SQL Statement Privileges Scope REFRESH FUNCTIONS REFRESH DATABASE https://impala.apache.org/docs/build/html/topics/impala_grant.html
... View more
01-17-2019
04:58 PM
UDF considerations: In CDH 5.12 / Impala 2.9 and higher, you can refresh the user-defined functions (UDFs) that Impala recognizes, at the database level, by running the REFRESH FUNCTIONS statement with the database name as an argument. Java-based UDFs can be added to the metastore database through Hive CREATE FUNCTION statements, and made visible to Impala by subsequently running REFRESH FUNCTIONS. For example: CREATE DATABASE shared_udfs;
USE shared_udfs;
...use CREATE FUNCTION statements in Hive to create some Java-based UDFs
that Impala is not initially aware of...
REFRESH FUNCTIONS shared_udfs;
SELECT udf_created_by_hive(c1) FROM ...
... View more
01-17-2019
04:41 PM
The user has already got ALL rights on database where the function is built Syntax: REFRESH FUNCTIONS db_name
... View more
01-17-2019
12:42 AM
When using impala under CDH 5.15, refreshing functions under specifc databases by some user will got an error like "AuthorizationException : user aaa does not have privileges to access: server" .
The system is centry enabled with kerberos.
What privileges shall we grant to the user ?
... View more
Labels:
- Labels:
-
Apache Impala
-
Kerberos
12-29-2018
12:50 AM
Yes , we use hue as a query interface very often. What we are concern about is that if the query running in hue last so long , will it occupy the concurrency we have in impala since we have admision control ?
... View more
12-27-2018
06:00 PM
1 Kudo
We have CDH 5.15 deployed and use impala for analitic batch jobs. During using impala we found that even a very simple impala job cost a lot of time to finish. For example , we issue a "select count(*) from shdata.s76_bat_mg_biz_data" ,it runs about 4.8 hours. In query detail we found that in query timeline the unregister query is 4.8h, while all other steps are very fast (in ms). How can we fix this issue to better use the system?
... View more
Labels:
- Labels:
-
Apache Impala