public class MasterInfo extends TaskInfo
Modifier and Type | Field and Description |
---|---|
static int |
MASTER_TASK_ID
Master task id is always -1
|
Constructor and Description |
---|
MasterInfo()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getTaskId()
This taskId is used internally as a unique identification of the
nettyServer which runs on this task.
|
String |
toString() |
equals, getHostname, getHostnameId, getHostOrIp, getInetSocketAddress, getPort, hashCode, readFields, setInetSocketAddress, setTaskId, write
public static final int MASTER_TASK_ID
public int getTaskId()
GiraphConstants.SPLIT_MASTER_WORKER
is
false works correctly (master needs to have different id than the worker
which runs in the same mapper)Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.