public class EmptyPigStats extends PigStats
PigStats.JobGraph, PigStats.JobGraphPrinteraliasOuputMap, DATE_FORMAT, endTime, errorCode, errorMessage, errorThrowable, jobPlan, pigContext, returnCode, startTime, userId| Constructor and Description |
|---|
EmptyPigStats() |
EmptyPigStats(PigContext pigContext,
POStore poStore) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllErrorMessages() |
Map<String,List<PigStats>> |
getAllStats() |
long |
getBytesWritten()
Returns the total bytes written to user specified HDFS
locations of this script.
|
String |
getDisplayString()
Returns the display message in pig grunt
|
List<InputStats> |
getInputStats() |
org.apache.hadoop.mapred.JobClient |
getJobClient() |
PigStats.JobGraph |
getJobGraph()
Returns the DAG of jobs spawned by the script
|
long |
getNumberBytes(String location)
Returns the number of bytes for the given output location,
-1 for invalid location or name.
|
int |
getNumberFailedJobs() |
int |
getNumberJobs()
Returns the number of jobs for this script
|
long |
getNumberRecords(String location)
Returns the number of records for the given output location,
-1 for invalid location or name.
|
int |
getNumberSuccessfulJobs() |
String |
getOutputAlias(String location)
Returns the alias associated with this output location
|
List<String> |
getOutputLocations()
Returns the list of output locations in the script
|
List<String> |
getOutputNames()
Returns the list of output names in the script
|
List<OutputStats> |
getOutputStats() |
long |
getProactiveSpillCountObjects()
Returns the total number of bags that spilled proactively
|
long |
getProactiveSpillCountRecords()
Returns the total number of records that spilled proactively
|
long |
getRecordWritten()
Returns the total number of records in user specified output
locations of this script.
|
long |
getSMMSpillCount()
Returns the total spill counts from
SpillableMemoryManager. |
boolean |
isEmbedded() |
OutputStats |
result(String alias) |
void |
setBackendException(String jobId,
Exception e) |
void |
start() |
void |
stop() |
get, getDuration, getErrorCode, getErrorMessage, getErrorThrowable, getFeatures, getFileName, getHadoopVersion, getPigContext, getPigProperties, getPigVersion, getReturnCode, getScript, getScriptId, isSuccessful, setErrorCode, setErrorMessage, setErrorThrowable, setReturnCode, startpublic EmptyPigStats()
public EmptyPigStats(PigContext pigContext, POStore poStore)
public org.apache.hadoop.mapred.JobClient getJobClient()
getJobClient in class PigStatspublic boolean isEmbedded()
isEmbedded in class PigStatspublic Map<String,List<PigStats>> getAllStats()
getAllStats in class PigStatspublic List<String> getAllErrorMessages()
getAllErrorMessages in class PigStatspublic String getDisplayString()
PigStatsgetDisplayString in class PigStatspublic PigStats.JobGraph getJobGraph()
PigStatsgetJobGraph in class PigStatspublic List<String> getOutputLocations()
PigStatsgetOutputLocations in class PigStatspublic List<String> getOutputNames()
PigStatsgetOutputNames in class PigStatspublic long getNumberBytes(String location)
PigStatsgetNumberBytes in class PigStatspublic long getNumberRecords(String location)
PigStatsgetNumberRecords in class PigStatspublic String getOutputAlias(String location)
PigStatsgetOutputAlias in class PigStatspublic long getSMMSpillCount()
PigStatsSpillableMemoryManager.getSMMSpillCount in class PigStatspublic long getProactiveSpillCountRecords()
PigStatsgetProactiveSpillCountRecords in class PigStatspublic long getProactiveSpillCountObjects()
PigStatsgetProactiveSpillCountObjects in class PigStatspublic long getBytesWritten()
PigStatsgetBytesWritten in class PigStatspublic long getRecordWritten()
PigStatsgetRecordWritten in class PigStatspublic int getNumberJobs()
PigStatsgetNumberJobs in class PigStatspublic List<OutputStats> getOutputStats()
getOutputStats in class PigStatspublic OutputStats result(String alias)
public List<InputStats> getInputStats()
getInputStats in class PigStatspublic void setBackendException(String jobId, Exception e)
setBackendException in class PigStatspublic int getNumberSuccessfulJobs()
getNumberSuccessfulJobs in class PigStatspublic int getNumberFailedJobs()
getNumberFailedJobs in class PigStatsCopyright © 2007-2017 The Apache Software Foundation