MiniDFSNNTopology function ( String arg0 ) { MiniDFSNNTopology loc0 = new MiniDFSNNTopology ( ) ; String loc1 [ ] = arg0 . split ( "srini_string" ) ; for ( String loc2 : loc1 ) { loc0 . addNameservice ( new MiniDFSNNTopology . NSConf ( loc2 ) . addNN ( new MiniDFSNNTopology . NNConf ( null ) ) ) ; } loc0 . setFederation ( true ) ; return loc0 ; }
set up federated cluster with the given nameservices , each of which has only a single namenode . 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 MiniDFSNNTopology simpleHATopology 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 List<NSConf> getNameservices concode_elem_sep int getHttpPort concode_elem_sep boolean allHttpPortsSpecified concode_elem_sep boolean allIpcPortsSpecified concode_elem_sep NNConf setIpcPort