public final class JobLogLinkUtils
extends java.lang.Object
| Constructor and Description |
|---|
JobLogLinkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createSymlinkIfAbsent(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path targetPath,
org.apache.hadoop.fs.Path linkPath) |
static org.apache.hadoop.fs.Path |
getHostDirPath(org.apache.hadoop.fs.Path dirPath) |
static org.apache.hadoop.fs.Path |
getMapperDirPath(org.apache.hadoop.fs.Path dirPath) |
static org.apache.hadoop.fs.Path |
getReducerDirPath(org.apache.hadoop.fs.Path dirPath) |
static org.apache.hadoop.fs.Path |
setupTargetJobDir(org.apache.hadoop.fs.FileSystem fs,
java.lang.String targetBaseDir,
java.lang.String jobId,
boolean mapreduce) |
public static org.apache.hadoop.fs.Path setupTargetJobDir(org.apache.hadoop.fs.FileSystem fs,
java.lang.String targetBaseDir,
java.lang.String jobId,
boolean mapreduce)
throws java.io.IOException
java.io.IOExceptionpublic static org.apache.hadoop.fs.Path getHostDirPath(org.apache.hadoop.fs.Path dirPath)
public static org.apache.hadoop.fs.Path getMapperDirPath(org.apache.hadoop.fs.Path dirPath)
public static org.apache.hadoop.fs.Path getReducerDirPath(org.apache.hadoop.fs.Path dirPath)
public static void createSymlinkIfAbsent(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path targetPath,
org.apache.hadoop.fs.Path linkPath)
throws java.io.IOException
java.io.IOException