----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73855/#review224086 -----------------------------------------------------------
common/src/main/java/org/apache/atlas/utils/AtlasPathExtractorUtil.java Line 646 (original), 648 (patched) <https://reviews.apache.org/r/73855/#comment313046> Consider checking the array size to avoid ArrayIndexOutOfBoundsException while accessing strpath.split array - Radhika Kundam On Feb. 21, 2022, 4:39 a.m., Mandar Ambawane wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73855/ > ----------------------------------------------------------- > > (Updated Feb. 21, 2022, 4:39 a.m.) > > > Review request for atlas, Ashutosh Mestry, Jayendra Parab, Pinal Shah, Sarath > Subramanian, and Sidharth Mishra. > > > Bugs: ATLAS-4556 > https://issues.apache.org/jira/browse/ATLAS-4556 > > > Repository: atlas > > > Description > ------- > > When we provide ozone key as a path for an external table in hive, > corresponding Ozone entities of type "Ozone_Volume", "Ozone_Bucket", > "Ozone_Key" etc. get created. > > Currently in Atlas, code supports the above in "o3fs" ozone scheme. > Need to provide improved support in "ofs" scheme, same as that of "o3fs". > > > Diffs > ----- > > common/src/main/java/org/apache/atlas/utils/AtlasPathExtractorUtil.java > cf8f262b9 > common/src/test/java/org/apache/atlas/utils/AtlasPathExtractorUtilTest.java > f35e9ae57 > > > Diff: https://reviews.apache.org/r/73855/diff/2/ > > > Testing > ------- > > PreCommit: > https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1046/consoleFull > > > Thanks, > > Mandar Ambawane > >