public Path getLocalPathToRead ( String pathStr , Configuration conf ) throws IOException { AllocatorPerContext context = obtainContext ( contextCfgItemName ) ; return context . getLocalPathToRead ( pathStr , conf ) ; }
Get a path from the local FS for reading . We search through all the configured dirs for the file s existence and return the complete path to the file when we find one