|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.tools.rumen.ClusterTopologyReader
public class ClusterTopologyReader
Reading JSON-encoded cluster topology and produce the parsed
LoggedNetworkTopology
object.
Constructor Summary | |
---|---|
ClusterTopologyReader(InputStream input)
Constructor. |
|
ClusterTopologyReader(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Constructor. |
Method Summary | |
---|---|
LoggedNetworkTopology |
get()
Get the LoggedNetworkTopology object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterTopologyReader(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
path
- Path to the JSON-encoded topology file, possibly compressed.conf
-
IOException
public ClusterTopologyReader(InputStream input) throws IOException
input
- The input stream for the JSON-encoded topology data.
IOException
Method Detail |
---|
public LoggedNetworkTopology get()
LoggedNetworkTopology
object.
LoggedNetworkTopology
object parsed from the input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |