org.apache.hadoop.mapreduce.jobhistory
Class TaskAttemptUnsuccessfulCompletion

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.TaskAttemptUnsuccessfulCompletion
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class TaskAttemptUnsuccessfulCompletion
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class TaskAttemptUnsuccessfulCompletion.Builder
          RecordBuilder for TaskAttemptUnsuccessfulCompletion instances.
 
Field Summary
 CharSequence attemptId
          Deprecated. 
 List<Integer> clockSplits
          Deprecated. 
 JhCounters counters
          Deprecated. 
 List<Integer> cpuUsages
          Deprecated. 
 CharSequence error
          Deprecated. 
 long finishTime
          Deprecated. 
 CharSequence hostname
          Deprecated. 
 List<Integer> physMemKbytes
          Deprecated. 
 int port
          Deprecated. 
 CharSequence rackname
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 CharSequence status
          Deprecated. 
 CharSequence taskid
          Deprecated. 
 CharSequence taskType
          Deprecated. 
 List<Integer> vMemKbytes
          Deprecated. 
 
Constructor Summary
TaskAttemptUnsuccessfulCompletion()
          Default constructor.
TaskAttemptUnsuccessfulCompletion(CharSequence taskid, CharSequence taskType, CharSequence attemptId, Long finishTime, CharSequence hostname, Integer port, CharSequence rackname, CharSequence status, CharSequence error, JhCounters counters, List<Integer> clockSplits, List<Integer> cpuUsages, List<Integer> vMemKbytes, List<Integer> physMemKbytes)
          All-args constructor.
 
Method Summary
 Object get(int field$)
           
 CharSequence getAttemptId()
          Gets the value of the 'attemptId' field.
static org.apache.avro.Schema getClassSchema()
           
 List<Integer> getClockSplits()
          Gets the value of the 'clockSplits' field.
 JhCounters getCounters()
          Gets the value of the 'counters' field.
 List<Integer> getCpuUsages()
          Gets the value of the 'cpuUsages' field.
 CharSequence getError()
          Gets the value of the 'error' field.
 Long getFinishTime()
          Gets the value of the 'finishTime' field.
 CharSequence getHostname()
          Gets the value of the 'hostname' field.
 List<Integer> getPhysMemKbytes()
          Gets the value of the 'physMemKbytes' field.
 Integer getPort()
          Gets the value of the 'port' field.
 CharSequence getRackname()
          Gets the value of the 'rackname' field.
 org.apache.avro.Schema getSchema()
           
 CharSequence getStatus()
          Gets the value of the 'status' field.
 CharSequence getTaskid()
          Gets the value of the 'taskid' field.
 CharSequence getTaskType()
          Gets the value of the 'taskType' field.
 List<Integer> getVMemKbytes()
          Gets the value of the 'vMemKbytes' field.
static TaskAttemptUnsuccessfulCompletion.Builder newBuilder()
          Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder
static TaskAttemptUnsuccessfulCompletion.Builder newBuilder(TaskAttemptUnsuccessfulCompletion.Builder other)
          Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder by copying an existing Builder
static TaskAttemptUnsuccessfulCompletion.Builder newBuilder(TaskAttemptUnsuccessfulCompletion other)
          Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder by copying an existing TaskAttemptUnsuccessfulCompletion instance
 void put(int field$, Object value$)
           
 void setAttemptId(CharSequence value)
          Sets the value of the 'attemptId' field.
 void setClockSplits(List<Integer> value)
          Sets the value of the 'clockSplits' field.
 void setCounters(JhCounters value)
          Sets the value of the 'counters' field.
 void setCpuUsages(List<Integer> value)
          Sets the value of the 'cpuUsages' field.
 void setError(CharSequence value)
          Sets the value of the 'error' field.
 void setFinishTime(Long value)
          Sets the value of the 'finishTime' field.
 void setHostname(CharSequence value)
          Sets the value of the 'hostname' field.
 void setPhysMemKbytes(List<Integer> value)
          Sets the value of the 'physMemKbytes' field.
 void setPort(Integer value)
          Sets the value of the 'port' field.
 void setRackname(CharSequence value)
          Sets the value of the 'rackname' field.
 void setStatus(CharSequence value)
          Sets the value of the 'status' field.
 void setTaskid(CharSequence value)
          Sets the value of the 'taskid' field.
 void setTaskType(CharSequence value)
          Sets the value of the 'taskType' field.
 void setVMemKbytes(List<Integer> value)
          Sets the value of the 'vMemKbytes' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

taskid

@Deprecated
public CharSequence taskid
Deprecated. 

taskType

@Deprecated
public CharSequence taskType
Deprecated. 

attemptId

@Deprecated
public CharSequence attemptId
Deprecated. 

finishTime

@Deprecated
public long finishTime
Deprecated. 

hostname

@Deprecated
public CharSequence hostname
Deprecated. 

port

@Deprecated
public int port
Deprecated. 

rackname

@Deprecated
public CharSequence rackname
Deprecated. 

status

@Deprecated
public CharSequence status
Deprecated. 

error

@Deprecated
public CharSequence error
Deprecated. 

counters

@Deprecated
public JhCounters counters
Deprecated. 

clockSplits

@Deprecated
public List<Integer> clockSplits
Deprecated. 

cpuUsages

@Deprecated
public List<Integer> cpuUsages
Deprecated. 

vMemKbytes

@Deprecated
public List<Integer> vMemKbytes
Deprecated. 

physMemKbytes

@Deprecated
public List<Integer> physMemKbytes
Deprecated. 
Constructor Detail

TaskAttemptUnsuccessfulCompletion

public TaskAttemptUnsuccessfulCompletion()
Default constructor.


TaskAttemptUnsuccessfulCompletion

public TaskAttemptUnsuccessfulCompletion(CharSequence taskid,
                                         CharSequence taskType,
                                         CharSequence attemptId,
                                         Long finishTime,
                                         CharSequence hostname,
                                         Integer port,
                                         CharSequence rackname,
                                         CharSequence status,
                                         CharSequence error,
                                         JhCounters counters,
                                         List<Integer> clockSplits,
                                         List<Integer> cpuUsages,
                                         List<Integer> vMemKbytes,
                                         List<Integer> physMemKbytes)
All-args constructor.

Method Detail

getClassSchema

public static org.apache.avro.Schema getClassSchema()

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getTaskid

public CharSequence getTaskid()
Gets the value of the 'taskid' field.


setTaskid

public void setTaskid(CharSequence value)
Sets the value of the 'taskid' field.

Parameters:
value - the value to set.

getTaskType

public CharSequence getTaskType()
Gets the value of the 'taskType' field.


setTaskType

public void setTaskType(CharSequence value)
Sets the value of the 'taskType' field.

Parameters:
value - the value to set.

getAttemptId

public CharSequence getAttemptId()
Gets the value of the 'attemptId' field.


setAttemptId

public void setAttemptId(CharSequence value)
Sets the value of the 'attemptId' field.

Parameters:
value - the value to set.

getFinishTime

public Long getFinishTime()
Gets the value of the 'finishTime' field.


setFinishTime

public void setFinishTime(Long value)
Sets the value of the 'finishTime' field.

Parameters:
value - the value to set.

getHostname

public CharSequence getHostname()
Gets the value of the 'hostname' field.


setHostname

public void setHostname(CharSequence value)
Sets the value of the 'hostname' field.

Parameters:
value - the value to set.

getPort

public Integer getPort()
Gets the value of the 'port' field.


setPort

public void setPort(Integer value)
Sets the value of the 'port' field.

Parameters:
value - the value to set.

getRackname

public CharSequence getRackname()
Gets the value of the 'rackname' field.


setRackname

public void setRackname(CharSequence value)
Sets the value of the 'rackname' field.

Parameters:
value - the value to set.

getStatus

public CharSequence getStatus()
Gets the value of the 'status' field.


setStatus

public void setStatus(CharSequence value)
Sets the value of the 'status' field.

Parameters:
value - the value to set.

getError

public CharSequence getError()
Gets the value of the 'error' field.


setError

public void setError(CharSequence value)
Sets the value of the 'error' field.

Parameters:
value - the value to set.

getCounters

public JhCounters getCounters()
Gets the value of the 'counters' field.


setCounters

public void setCounters(JhCounters value)
Sets the value of the 'counters' field.

Parameters:
value - the value to set.

getClockSplits

public List<Integer> getClockSplits()
Gets the value of the 'clockSplits' field.


setClockSplits

public void setClockSplits(List<Integer> value)
Sets the value of the 'clockSplits' field.

Parameters:
value - the value to set.

getCpuUsages

public List<Integer> getCpuUsages()
Gets the value of the 'cpuUsages' field.


setCpuUsages

public void setCpuUsages(List<Integer> value)
Sets the value of the 'cpuUsages' field.

Parameters:
value - the value to set.

getVMemKbytes

public List<Integer> getVMemKbytes()
Gets the value of the 'vMemKbytes' field.


setVMemKbytes

public void setVMemKbytes(List<Integer> value)
Sets the value of the 'vMemKbytes' field.

Parameters:
value - the value to set.

getPhysMemKbytes

public List<Integer> getPhysMemKbytes()
Gets the value of the 'physMemKbytes' field.


setPhysMemKbytes

public void setPhysMemKbytes(List<Integer> value)
Sets the value of the 'physMemKbytes' field.

Parameters:
value - the value to set.

newBuilder

public static TaskAttemptUnsuccessfulCompletion.Builder newBuilder()
Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder


newBuilder

public static TaskAttemptUnsuccessfulCompletion.Builder newBuilder(TaskAttemptUnsuccessfulCompletion.Builder other)
Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder by copying an existing Builder


newBuilder

public static TaskAttemptUnsuccessfulCompletion.Builder newBuilder(TaskAttemptUnsuccessfulCompletion other)
Creates a new TaskAttemptUnsuccessfulCompletion RecordBuilder by copying an existing TaskAttemptUnsuccessfulCompletion instance



Copyright © 2014 Apache Software Foundation. All Rights Reserved.