check whether the datanode can be started . 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 void testNameNodePorts concode_elem_sep boolean canStartSecondaryNode concode_elem_sep DataNode startDataNode concode_elem_sep String getFullHostName concode_elem_sep void stopDataNode
boolean function ( Configuration arg0 ) { DataNode loc0 = null ; try { loc0 = DataNode . createDataNode ( new String [ ] { } , arg0 ) ; } catch ( IOException loc1 ) { if ( loc1 instanceof java . net . BindException ) return false ; throw loc1 ; } finally { if ( loc0 != null ) loc0 . shutdown ( ) ; } return true ; }