org.apache.hadoop.mapred
Class NetUtils2

java.lang.Object
  extended by org.apache.hadoop.mapred.NetUtils2

public class NetUtils2
extends java.lang.Object


Constructor Summary
NetUtils2()
           
 
Method Summary
static java.lang.String getServerAddress(org.apache.hadoop.conf.Configuration conf, java.lang.String oldBindAddressName, java.lang.String oldPortName, java.lang.String newBindAddressName)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtils2

public NetUtils2()
Method Detail

getServerAddress

@Deprecated
public static java.lang.String getServerAddress(org.apache.hadoop.conf.Configuration conf,
                                                           java.lang.String oldBindAddressName,
                                                           java.lang.String oldPortName,
                                                           java.lang.String newBindAddressName)
Deprecated. 

Handle the transition from pairs of attributes specifying a host and port to a single colon separated one.

Parameters:
conf - the configuration to check
oldBindAddressName - the old address attribute name
oldPortName - the old port attribute name
newBindAddressName - the new combined name
Returns:
the complete address from the configuration


Copyright © 2009 The Apache Software Foundation