You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Fateh Singh (Jira)" <ji...@apache.org> on 2024/08/21 16:03:00 UTC

[jira] [Created] (RANGER-4914) Ranger TagSync does not support ofs path parsing for Ozone-Atlas currently

Fateh Singh created RANGER-4914:
-----------------------------------

             Summary: Ranger TagSync does not support ofs path parsing for Ozone-Atlas currently
                 Key: RANGER-4914
                 URL: https://issues.apache.org/jira/browse/RANGER-4914
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Fateh Singh
            Assignee: Fateh Singh


When trying to create hive table on top of ozone ofs path, tagsync throws below error  
{code:java}
2024-08-06 13:33:00,805 ERROR org.apache.ranger.tagsync.source.atlas.AtlasResourceMapperUtil: Could not get serviceResource for atlas entity:91faefd3-0592-400e-b452-0c9a437555db: java.lang.Exception: volume-name not found in attribute 'qualifiedName': ofs://ozone1722927741/vol1/bucket1/employee_db/meh1_hive_ozone_table_171@cm at org.apache.ranger.tagsync.source.atlas.AtlasResourceMapper.throwExceptionWithMessage(AtlasResourceMapper.java:120) at org.apache.ranger.tagsync.source.atlas.AtlasOzoneResourceMapper.buildResource(AtlasOzoneResourceMapper.java:113) at org.apache.ranger.tagsync.source.atlas.AtlasResourceMapperUtil.getRangerServiceResource(AtlasResourceMapperUtil.java:64) at org.apache.ranger.tagsync.source.atlas.AtlasNotificationMapper.buildServiceTags(AtlasNotificationMapper.java:259) at org.apache.ranger.tagsync.source.atlas.AtlasNotificationMapper.buildServiceTags(AtlasNotificationMapper.java:198) at org.apache.ranger.tagsync.source.atlas.AtlasNotificationMapper.processAtlasEntities(AtlasNotificationMapper.java:105) at org.apache.ranger.tagsync.source.atlas.AtlasTagSource$ConsumerRunnable.buildAndUploadServiceTags(AtlasTagSource.java:255) at org.apache.ranger.tagsync.source.atlas.AtlasTagSource$ConsumerRunnable.run(AtlasTagSource.java:230) at java.lang.Thread.run(Thread.java:748){code}
Sample command which causes issues: 
{code:java}
$ CREATE EXTERNAL TABLE t1 (id int, name string) row format delimited fields terminated by ' ' stored as textfile location 'ofs://ozone1/volume1/bucket1/table_oz_demo1';{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)