org.apache.whirr.service.hadoop
Class HadoopCluster

java.lang.Object
  extended by org.apache.whirr.service.hadoop.HadoopCluster

public class HadoopCluster
extends Object


Field Summary
static int JOBTRACKER_PORT
           
static int JOBTRACKER_WEB_UI_PORT
           
static int NAMENODE_PORT
           
static int NAMENODE_WEB_UI_PORT
           
 
Constructor Summary
HadoopCluster()
           
 
Method Summary
static InetAddress getJobTrackerPrivateAddress(Cluster cluster)
           
static InetAddress getJobTrackerPublicAddress(Cluster cluster)
           
static InetAddress getNamenodePrivateAddress(Cluster cluster)
           
static InetAddress getNamenodePublicAddress(Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMENODE_PORT

public static final int NAMENODE_PORT
See Also:
Constant Field Values

NAMENODE_WEB_UI_PORT

public static final int NAMENODE_WEB_UI_PORT
See Also:
Constant Field Values

JOBTRACKER_PORT

public static final int JOBTRACKER_PORT
See Also:
Constant Field Values

JOBTRACKER_WEB_UI_PORT

public static final int JOBTRACKER_WEB_UI_PORT
See Also:
Constant Field Values
Constructor Detail

HadoopCluster

public HadoopCluster()
Method Detail

getNamenodePublicAddress

public static InetAddress getNamenodePublicAddress(Cluster cluster)
                                            throws IOException
Throws:
IOException

getNamenodePrivateAddress

public static InetAddress getNamenodePrivateAddress(Cluster cluster)
                                             throws IOException
Throws:
IOException

getJobTrackerPublicAddress

public static InetAddress getJobTrackerPublicAddress(Cluster cluster)
                                              throws IOException
Throws:
IOException

getJobTrackerPrivateAddress

public static InetAddress getJobTrackerPrivateAddress(Cluster cluster)
                                               throws IOException
Throws:
IOException


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.