Member since
02-09-2017
4
Posts
1
Kudos Received
0
Solutions
04-26-2017
06:07 AM
HDP: 2.6.0.3-8
--
2017-04-26 05:34:06,205 DEBUG - [main:] ~ API http://<hostname>:21000/api/atlas/entities/412e9a07-0fb4-436e-87f7-d52cf5cbbfe5 returned status 500 (AtlasBaseClient:303)
Exception in thread "main" org.apache.atlas.hook.AtlasHookException: HiveMetaStoreBridge.main() failed.
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:650)
Caused by: org.apache.atlas.AtlasServiceException: Metadata service API org.apache.atlas.AtlasBaseClient$APIInfo@c827db failed with status 500 (Internal Server Error) Response Body ({"error":"Failed to notify for change PARTIAL_UPDATE"})
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:337)
at org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:287)
at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:429)
at org.apache.atlas.AtlasClient.callAPIWithBodyAndParams(AtlasClient.java:1006)
at org.apache.atlas.AtlasClient.updateEntity(AtlasClient.java:583)
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.updateInstance(HiveMetaStoreBridge.java:526)
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMetaStoreBridge.java:175)
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:140)
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:134)
at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:647)
Failed to import Hive Data Model!!!
... View more
- Tags:
- Atlas
- hdp-2.6.0
- Upgrade to HDP 2.5.3 : ConcurrentModificationException When Executing Insert Overwrite : Hive
Labels:
02-15-2017
02:20 PM
1 Kudo
I've tried it on SQL Workbench and Aginity Workbench, and I get errors on both clients.
Column is a varchar(9). Here is what I discovered. A table with column names that have spaces (e.g. `account year`), this feature fails. When I added an underscore to the column (account_year), the masking started to work.
... View more
02-10-2017
05:36 PM
I am logged-in as a user that is in the "select user". So yes, this user has permissions to run the query.
... View more
02-09-2017
02:24 AM
I am running a HDP 2.5.3 cluster with HiveServer2 enabled on an edge node. Ranger is enforcing security. In addition, I've created a policy in ranger that redacts a certain column with pii on select. Unfortunately, when I execute the following query in a hive client: select * from <tablename> limit 100; I get the following error: [42000]: Error while compiling statement: FAILED: SemanticException org.apache.hadoop.hive.ql.parse.ParseException: line 1:62 rule Identifier failed predicate: {allowQuotedId()}?
line 1:74 rule Identifier failed predicate: {allowQuotedId()}?
line 1:94 rule Identifier failed predicate: {allowQuotedId()}?
line 1:117 rule Identifier failed predicate: {allowQuotedId()}? If I disable the above policy, the query runs successfully.
... View more
Labels: