public Path getDefaultWorkFile ( TaskAttemptContext context , String extension ) throws IOException { FileOutputCommitter committer = ( FileOutputCommitter ) getOutputCommitter ( context ) ; return new Path ( committer . getWorkPath ( ) , getUniqueFile ( context , "part" , extension ) ) ; }
Get the default path and filename for the output format .