public final class StageUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isLocalMode(org.apache.hadoop.mapreduce.JobContext context)
Returns whether the current job is on the local mode or not.
|
public static boolean isLocalMode(org.apache.hadoop.mapreduce.JobContext context)
context
- the current contexttrue
if the target job is running on the local mode, otherwise false
IllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.