## Uses of Class
org.apache.hadoop.mapreduce.jobhistory.JhCounters

- Packages that use JhCounters
  Package | Description
  --- | ---
  org.apache.hadoop.mapreduce.jobhistory |

- - ### Uses of JhCounters in org.apache.hadoop.mapreduce.jobhistory

    Fields in org.apache.hadoop.mapreduce.jobhistory declared as JhCounters
    Modifier and Type | Field and Description
    --- | ---
    `JhCounters` | TaskAttemptUnsuccessfulCompletion.`counters` Deprecated.
    `JhCounters` | ReduceAttemptFinished.`counters` Deprecated.
    `JhCounters` | MapAttemptFinished.`counters` Deprecated.
    `JhCounters` | TaskAttemptFinished.`counters` Deprecated.
    `JhCounters` | TaskFailed.`counters` Deprecated.
    `JhCounters` | TaskFinished.`counters` Deprecated.
    `JhCounters` | JobFinished.`mapCounters` Deprecated.
    `JhCounters` | JobFinished.`reduceCounters` Deprecated.
    `JhCounters` | JobFinished.`totalCounters` Deprecated.

    Methods in org.apache.hadoop.mapreduce.jobhistory that return JhCounters
    Modifier and Type | Method and Description
    --- | ---
    `JhCounters` | JhCounters.Builder.`build()`
    `JhCounters` | TaskAttemptUnsuccessfulCompletion.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | TaskAttemptUnsuccessfulCompletion.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | ReduceAttemptFinished.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | ReduceAttemptFinished.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | MapAttemptFinished.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | MapAttemptFinished.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | TaskAttemptFinished.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | TaskAttemptFinished.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | TaskFailed.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | TaskFailed.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | TaskFinished.`getCounters()` Gets the value of the 'counters' field.
    `JhCounters` | TaskFinished.Builder.`getCounters()` Gets the value of the 'counters' field
    `JhCounters` | JobFinished.`getMapCounters()` Gets the value of the 'mapCounters' field.
    `JhCounters` | JobFinished.Builder.`getMapCounters()` Gets the value of the 'mapCounters' field
    `JhCounters` | JobFinished.`getReduceCounters()` Gets the value of the 'reduceCounters' field.
    `JhCounters` | JobFinished.Builder.`getReduceCounters()` Gets the value of the 'reduceCounters' field
    `JhCounters` | JobFinished.`getTotalCounters()` Gets the value of the 'totalCounters' field.
    `JhCounters` | JobFinished.Builder.`getTotalCounters()` Gets the value of the 'totalCounters' field

    Methods in org.apache.hadoop.mapreduce.jobhistory with parameters of type JhCounters
    Modifier and Type | Method and Description
    --- | ---
    `static JhCounters.Builder` | JhCounters.`newBuilder(JhCounters other)` Creates a new JhCounters RecordBuilder by copying an existing JhCounters instance
    `void` | TaskAttemptUnsuccessfulCompletion.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `TaskAttemptUnsuccessfulCompletion.Builder` | TaskAttemptUnsuccessfulCompletion.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | ReduceAttemptFinished.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `ReduceAttemptFinished.Builder` | ReduceAttemptFinished.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | MapAttemptFinished.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `MapAttemptFinished.Builder` | MapAttemptFinished.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | TaskAttemptFinished.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `TaskAttemptFinished.Builder` | TaskAttemptFinished.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | TaskFailed.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `TaskFailed.Builder` | TaskFailed.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | TaskFinished.`setCounters(JhCounters value)` Sets the value of the 'counters' field.
    `TaskFinished.Builder` | TaskFinished.Builder.`setCounters(JhCounters value)` Sets the value of the 'counters' field
    `void` | JobFinished.`setMapCounters(JhCounters value)` Sets the value of the 'mapCounters' field.
    `JobFinished.Builder` | JobFinished.Builder.`setMapCounters(JhCounters value)` Sets the value of the 'mapCounters' field
    `void` | JobFinished.`setReduceCounters(JhCounters value)` Sets the value of the 'reduceCounters' field.
    `JobFinished.Builder` | JobFinished.Builder.`setReduceCounters(JhCounters value)` Sets the value of the 'reduceCounters' field
    `void` | JobFinished.`setTotalCounters(JhCounters value)` Sets the value of the 'totalCounters' field.
    `JobFinished.Builder` | JobFinished.Builder.`setTotalCounters(JhCounters value)` Sets the value of the 'totalCounters' field

    Constructors in org.apache.hadoop.mapreduce.jobhistory with parameters of type JhCounters
    Constructor and Description
    `JobFinished(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, Integer failedMaps, Integer failedReduces, JhCounters totalCounters, JhCounters mapCounters, JhCounters reduceCounters, Integer killedMaps, Integer killedReduces)` All-args constructor.
    `MapAttemptFinished(CharSequence taskid, CharSequence attemptId, CharSequence taskType, CharSequence taskStatus, Long mapFinishTime, Long finishTime, CharSequence hostname, Integer port, CharSequence rackname, CharSequence state, JhCounters counters, List<Integer> clockSplits, List<Integer> cpuUsages, List<Integer> vMemKbytes, List<Integer> physMemKbytes)` All-args constructor.
    `ReduceAttemptFinished(CharSequence taskid, CharSequence attemptId, CharSequence taskType, CharSequence taskStatus, Long shuffleFinishTime, Long sortFinishTime, Long finishTime, CharSequence hostname, Integer port, CharSequence rackname, CharSequence state, JhCounters counters, List<Integer> clockSplits, List<Integer> cpuUsages, List<Integer> vMemKbytes, List<Integer> physMemKbytes)` All-args constructor.
    `TaskAttemptFinished(CharSequence taskid, CharSequence attemptId, CharSequence taskType, CharSequence taskStatus, Long finishTime, CharSequence rackname, CharSequence hostname, CharSequence state, JhCounters counters)` All-args 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.
    `TaskFailed(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence error, CharSequence failedDueToAttempt, CharSequence status, JhCounters counters)` All-args constructor.
    `TaskFinished(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence status, JhCounters counters, CharSequence successfulAttemptId)` All-args constructor.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.