Package com.mapr.cli

Class JobLogLinkUtils

java.lang.Object
com.mapr.cli.JobLogLinkUtils

public final class JobLogLinkUtils extends Object
  • Constructor Details

    • JobLogLinkUtils

      public JobLogLinkUtils()
  • Method Details

    • setupTargetJobDir

      public static org.apache.hadoop.fs.Path setupTargetJobDir(org.apache.hadoop.fs.FileSystem fs, String targetBaseDir, String jobId, boolean mapreduce) throws IOException
      Throws:
      IOException
    • getHostDirPath

      public static org.apache.hadoop.fs.Path getHostDirPath(org.apache.hadoop.fs.Path dirPath)
    • getMapperDirPath

      public static org.apache.hadoop.fs.Path getMapperDirPath(org.apache.hadoop.fs.Path dirPath)
    • getReducerDirPath

      public static org.apache.hadoop.fs.Path getReducerDirPath(org.apache.hadoop.fs.Path dirPath)
    • createSymlinkIfAbsent

      public static void createSymlinkIfAbsent(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path targetPath, org.apache.hadoop.fs.Path linkPath) throws IOException
      Throws:
      IOException