Skip to main content
Eduardohahn
Gold ⭐️
December 8, 2020
Solved

Cloudera Atlas 2.0; error when acess any item, " Unknown Entity-Type"

Hi folks,

  After install Cloudera CDP 7.1.4 we access Altas and searched items . 

 

  When click any item we receive this error "Unknown Entity-Type"

image.png

 

But, looking the searching options we can´t find any ENTITY-TYPE:

image.png

 

Someone have any idea why  not show any ENTITY TYPE?

 

Thanks

Eduardo 

Parth_Pathak
Gold ⭐️
January 6, 2021
  • This happens because the "Read Type" permission is absent in the Ranger-Atlas plugin repository for the Atlas service.
  • During the upgrade, a step to upgrade the ranger DB with the patches is skipped. Which is causing this permission to be not present after the CDP upgrade.
  • The update handler needs to call the right script to install the DB patches for ranger which should automatically update the DB patches (during the upgrade process) and fix the issue.
  • Issue is addressed and should be fixed in the upcoming releases of the the Cloudera Manager product line.

The workaround for this issue:


- Stop the Ranger Admin service.

1. Login in into CM UI -> Ranger -> Instances -> Select Ranger Admin.

Screenshot 2021-01-06 at 1.59.32 PM.png

 

2. From the drop down actions menu, select "Upgrade Ranger database and apply patches".

Screenshot 2021-01-06 at 2.00.44 PM.png

 

3. This step will manually apply the patches and will finish.

4. Once finished, you can restart the Ranger Admin service. 

The atlas policy which is missing the permission (the id of policy can be different in your environment):

Screenshot 2021-01-06 at 2.10.59 PM.png

 

We need something similar to this:

Screenshot 2021-01-06 at 2.11.47 PM.png

 

 

11 replies

BGabor
Silver ⭐️⭐️⭐️
December 16, 2020

Hi

 

how did you resolved this problem?

 

BR,

Gabor

Translate
Eduardohahn
Gold ⭐️
December 16, 2020

Hi Gabor

  

 We didn´t resolve this problem yet.

 

I will try to open a case on Cloudera Support.

 

Thanks

Eduardo 

Translate
BGabor
Silver ⭐️⭐️⭐️
December 16, 2020

19986569-41:] ~ Exception while fetching groups (AtlasAbstractAuthenticationProvider:137) java.io.IOException: No groups found for user HTTP

 

Do you see this kind of errors in your Atlas Logs? Btw, we already upgraded to 7.1.5, but the same problem. Before upgrade it was working fine. If I get an update on this, I will inform you.

 

BR,

Gabor

Translate
Parth_Pathak
Gold ⭐️
Gold ⭐️
January 6, 2021
  • This happens because the "Read Type" permission is absent in the Ranger-Atlas plugin repository for the Atlas service.
  • During the upgrade, a step to upgrade the ranger DB with the patches is skipped. Which is causing this permission to be not present after the CDP upgrade.
  • The update handler needs to call the right script to install the DB patches for ranger which should automatically update the DB patches (during the upgrade process) and fix the issue.
  • Issue is addressed and should be fixed in the upcoming releases of the the Cloudera Manager product line.

The workaround for this issue:


- Stop the Ranger Admin service.

1. Login in into CM UI -> Ranger -> Instances -> Select Ranger Admin.

Screenshot 2021-01-06 at 1.59.32 PM.png

 

2. From the drop down actions menu, select "Upgrade Ranger database and apply patches".

Screenshot 2021-01-06 at 2.00.44 PM.png

 

3. This step will manually apply the patches and will finish.

4. Once finished, you can restart the Ranger Admin service. 

The atlas policy which is missing the permission (the id of policy can be different in your environment):

Screenshot 2021-01-06 at 2.10.59 PM.png

 

We need something similar to this:

Screenshot 2021-01-06 at 2.11.47 PM.png

 

 

Translate
BGabor
Silver ⭐️⭐️⭐️
January 6, 2021

Thank you Parth for your support,
it's working now. Even in DEV, that was just a login problem with a wrong username.

BR,
Gabor

Translate