restart the cluster , optionally saving a new checkpoint . concode_field_sep MiniDFSCluster cluster concode_elem_sep Path PATH concode_elem_sep DistributedFileSystem fs concode_elem_sep ExpectedException exception concode_field_sep void testSetXAttr concode_elem_sep void initCluster concode_elem_sep void testFsImage concode_elem_sep void testEditLog concode_elem_sep void testRemoveXAttr concode_elem_sep void testGetXAttrs concode_elem_sep void expectException concode_elem_sep void shutdown
void function ( boolean arg0 , boolean arg1 ) { NameNode loc0 = cluster . getNameNode ( ) ; if ( arg0 ) { NameNodeAdapter . enterSafeMode ( loc0 , false ) ; NameNodeAdapter . saveNamespace ( loc0 ) ; } shutdown ( ) ; initCluster ( false , arg1 ) ; }