Mukul Kumar Singh created HDDS-2188: ---------------------------------------
Summary: Implement LocatedFileStatus & getFileBlockLocations to provide node/localization information to Yarn/Mapreduce Key: HDDS-2188 URL: https://issues.apache.org/jira/browse/HDDS-2188 Project: Hadoop Distributed Data Store Issue Type: Bug Components: Ozone Filesystem Affects Versions: 0.5.0 Reporter: Mukul Kumar Singh Assignee: Mukul Kumar Singh For applications like Hive/MapReduce to take advantage of the data locality in Ozone, Ozone should return the location of the Ozone blocks. This is needed for better read performance for Hadoop Applications. {code} if (file instanceof LocatedFileStatus) { blkLocations = ((LocatedFileStatus) file).getBlockLocations(); } else { blkLocations = fs.getFileBlockLocations(file, 0, length); } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org