set up an ha topology with a single ha nameservice . concode_field_sep boolean federation concode_elem_sep int httpPort concode_elem_sep String nnId concode_elem_sep List<NSConf> nameservices concode_elem_sep String id concode_elem_sep int ipcPort concode_elem_sep String clusterId concode_elem_sep List<NNConf> nns concode_field_sep NSConf addNN concode_elem_sep NNConf setHttpPort concode_elem_sep int countNameNodes concode_elem_sep String getId concode_elem_sep NNConf setClusterId concode_elem_sep MiniDFSNNTopology simpleHAFederatedTopology concode_elem_sep MiniDFSNNTopology setFederation concode_elem_sep boolean isFederated concode_elem_sep NNConf getOnlyNameNode concode_elem_sep boolean isHA concode_elem_sep String getNnId concode_elem_sep int getIpcPort concode_elem_sep String getClusterId concode_elem_sep MiniDFSNNTopology simpleSingleNN concode_elem_sep MiniDFSNNTopology addNameservice concode_elem_sep List<NNConf> getNNs concode_elem_sep MiniDFSNNTopology simpleFederatedTopology concode_elem_sep MiniDFSNNTopology simpleFederatedTopology concode_elem_sep List<NSConf> getNameservices concode_elem_sep int getHttpPort concode_elem_sep boolean allHttpPortsSpecified concode_elem_sep boolean allIpcPortsSpecified concode_elem_sep NNConf setIpcPort
MiniDFSNNTopology function ( ) { return new MiniDFSNNTopology ( ) . addNameservice ( new MiniDFSNNTopology . NSConf ( "srini_string" ) . addNN ( new MiniDFSNNTopology . NNConf ( "srini_string" ) ) . addNN ( new MiniDFSNNTopology . NNConf ( "srini_string" ) ) ) ; }