[ https://issues.apache.org/jira/browse/RANGER-4914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved RANGER-4914. -------------------------------------- Fix Version/s: 3.0.0 2.6.0 Resolution: Fixed > 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 > Priority: Major > Fix For: 3.0.0, 2.6.0 > > Time Spent: 40m > Remaining Estimate: 0h > > 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)