void function ( DatanodeID arg0 ) { setIpAndXferPort ( arg0 . getIpAddr ( ) , arg0 . getXferPort ( ) ) ; hostName = arg0 . getHostName ( ) ; peerHostName = arg0 . getPeerHostName ( ) ; infoPort = arg0 . getInfoPort ( ) ; infoSecurePort = arg0 . getInfoSecurePort ( ) ; ipcPort = arg0 . getIpcPort ( ) ; }
update fields when a new registration request comes in . note that this does not update storageid . concode_field_sep String hostName concode_elem_sep int xferPort concode_elem_sep String datanodeUuid concode_elem_sep String peerHostName concode_elem_sep int infoPort concode_elem_sep int infoSecurePort concode_elem_sep DatanodeID[] EMPTY_ARRAY concode_elem_sep int ipcPort concode_elem_sep String xferAddr concode_elem_sep String ipAddr concode_field_sep String getIpAddr concode_elem_sep String getXferAddr concode_elem_sep String getXferAddr concode_elem_sep String getHostName concode_elem_sep String checkDatanodeUuid concode_elem_sep int compareTo concode_elem_sep String getInfoSecureAddr concode_elem_sep String getPeerHostName concode_elem_sep String getXferAddrWithHostname concode_elem_sep int getInfoSecurePort concode_elem_sep int getIpcPort concode_elem_sep int getInfoPort concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setIpAddr concode_elem_sep String getDatanodeUuid concode_elem_sep void setPeerHostName concode_elem_sep String getInfoAddr concode_elem_sep void setIpAndXferPort concode_elem_sep int getXferPort concode_elem_sep String toString concode_elem_sep String getIpcAddr concode_elem_sep String getIpcAddr concode_elem_sep String getIpcAddrWithHostname