public class GiraphYarnClient extends Object
Constructor and Description |
---|
GiraphYarnClient(GiraphConfiguration giraphConf,
String jobName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
run(boolean verbose)
Submit a request to the Hadoop YARN cluster's ResourceManager
to obtain an application container.
|
public GiraphYarnClient(GiraphConfiguration giraphConf, String jobName) throws IOException
giraphConf
- User-defined configurationjobName
- User-defined job nameIOException
public boolean run(boolean verbose) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
verbose
- Not implemented yet, to provide compatibility w/GiraphJoborg.apache.hadoop.yarn.exceptions.YarnException
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.