|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.v2.jobhistory.FileNameIndexUtils
public class FileNameIndexUtils
| Constructor Summary | |
|---|---|
FileNameIndexUtils()
|
|
| Method Summary | |
|---|---|
static String |
decodeJobHistoryFileName(String logFileName)
Helper function to decode the URL of the filename of the job-history log file. |
static String |
encodeJobHistoryFileName(String logFileName)
Helper function to encode the URL of the filename of the job-history log file. |
static String |
getDoneFileName(JobIndexInfo indexInfo)
Constructs the job history file name from the JobIndexInfo. |
static JobIndexInfo |
getIndexInfo(String jhFileName)
Parses the provided job history file name to construct a JobIndexInfo object which is returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileNameIndexUtils()
| Method Detail |
|---|
public static String getDoneFileName(JobIndexInfo indexInfo)
throws IOException
indexInfo - the index info.
IOException
public static JobIndexInfo getIndexInfo(String jhFileName)
throws IOException
jhFileName - the job history filename.
IOException
public static String encodeJobHistoryFileName(String logFileName)
throws IOException
logFileName - file name of the job-history file
IOException
public static String decodeJobHistoryFileName(String logFileName)
throws IOException
logFileName - file name of the job-history file
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||