DataNode function ( int arg0 , Configuration arg1 ) { File loc0 = new File ( TEST_DATA_DIR , "srini_string" + arg0 ) ; arg1 . set ( DFSConfigKeys . DFS_DATANODE_DATA_DIR_KEY , loc0 . getPath ( ) ) ; String [ ] loc1 = new String [ ] { } ; return DataNode . createDataNode ( loc1 , arg1 ) ; }
start the datanode . concode_field_sep File TEST_DATA_DIR concode_elem_sep File hdfsDir concode_elem_sep Log LOG concode_elem_sep Configuration config concode_elem_sep String THIS_HOST concode_field_sep void testSecondaryNodePorts concode_elem_sep boolean canStartNameNode concode_elem_sep void runTestNameNodePorts concode_elem_sep NameNode startNameNode concode_elem_sep NameNode startNameNode concode_elem_sep boolean canStartBackupNode concode_elem_sep void testBackupNodePorts concode_elem_sep void stopNameNode concode_elem_sep Configuration getConfig concode_elem_sep BackupNode startBackupNode concode_elem_sep void testDataNodePorts concode_elem_sep boolean canStartDataNode concode_elem_sep void testNameNodePorts concode_elem_sep boolean canStartSecondaryNode concode_elem_sep String getFullHostName concode_elem_sep void stopDataNode