Member since
11-11-2021
5
Posts
0
Kudos Received
0
Solutions
03-01-2023
06:17 AM
Hello team, We are facing issue and expecting your help here regarding Problem Statement : We create groups using in Cloudera user management using APIs. We can see those groups in Cloudera user management but not could not find them as Ranger Groups. It seems groups are not being synced in Ranger. What are the possible solutions ? Any API is exist to sync users and groups?
... View more
Labels:
- Labels:
-
Cloudera Manager
12-01-2021
07:33 AM
Below UDF works fine with Hive, but with Impala we are not able create function,
it give following error:
SQL Error [500051] [HY000]: [Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:CatalogException: No compatible function signatures found
public class SumCols extends UDF {
public double evaluate(Text... string) {
double d = 0.0;
for (Text s : string) {
String str = s.toString();
if (str != null)
d += Double.parseDouble(str.toString());
}
return d;
}
}
I believe it is because of Variable length of arguments Text...
I am looking for its alternate solution in Impala.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Impala
11-19-2021
02:30 AM
Is there any way to cast string to map in Impala? e.g: select cast("A:1,B:1,C:1") as map<string, int>
... View more
Labels:
- Labels:
-
Apache Impala
11-16-2021
09:08 AM
Thanks @smruti for your reply. I will check this option.
... View more
11-11-2021
01:25 AM
Impala is not supporting org.apache.hadoop.hive.serde2.OpenCSVSerde SerDe class. Please suggest the solution. Table aggregate_test is created using Hive and org.apache.hadoop.hive.serde2.OpenCSVSerde SerDe class. Following query is not working: SELECT * from open_aggregate_test.aggregate_test ; Above query gives following error: SQL Error [500051] [HY000]: [Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: 0, SQL state: TStatus(statusCode:ERROR_STATUS, sqlState:HY000, errorMessage:AnalysisException: Failed to load metadata for table: 'open_aggregate_test.aggregate_test' CAUSED BY: TableLoadingException: Could not load table open_aggregate_test.aggregate_test from catalog CAUSED BY: TException: TGetPartialCatalogObjectResponse(status:TStatus(status_code:GENERAL, error_msgs:[TableLoadingException: Failed to load metadata for table: open_aggregate_test.aggregate_test CAUSED BY: InvalidStorageDescriptorException: Impala does not support tables of this type. REASON: SerDe library 'org.apache.hadoop.hive.serde2.OpenCSVSerde' is not supported.]), lookup_status:OK) ), Query: SELECT * from open_aggregate_test.aggregate_test.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Impala