void function ( boolean arg0 ) { NameNode loc0 = cluster . getNameNode ( ) ; if ( arg0 ) { NameNodeAdapter . enterSafeMode ( loc0 , false ) ; NameNodeAdapter . saveNamespace ( loc0 ) ; } shutdown ( ) ; initCluster ( false ) ; }
restart the cluster , optionally saving a new checkpoint . concode_field_sep String name1 concode_elem_sep MiniDFSCluster cluster concode_elem_sep Path snapshotPath2 concode_elem_sep byte[] value1 concode_elem_sep String name2 concode_elem_sep Path snapshotPath3 concode_elem_sep Configuration conf concode_elem_sep int SUCCESS concode_elem_sep ExpectedException exception concode_elem_sep byte[] value2 concode_elem_sep Path path concode_elem_sep Path snapshotPath concode_elem_sep String snapshotName2 concode_elem_sep int pathCount concode_elem_sep byte[] newValue1 concode_elem_sep String snapshotName3 concode_elem_sep String snapshotName concode_elem_sep DistributedFileSystem hdfs concode_field_sep void init concode_elem_sep void testRemoveXAttrSnapshotPath concode_elem_sep void initCluster concode_elem_sep void doSnapshotRootChangeAssertions concode_elem_sep void testSetXAttrSnapshotPath concode_elem_sep void testRemoveReadsCurrentState concode_elem_sep void testModifyReadsCurrentState concode_elem_sep void testCopySnapshotShouldPreserveXAttrs concode_elem_sep void doSnapshotRootRemovalAssertions concode_elem_sep void testXAttrForSnapshotRootAfterChange concode_elem_sep void setUp concode_elem_sep void testSuccessiveSnapshotXAttrChanges concode_elem_sep void shutdown concode_elem_sep void testXAttrForSnapshotRootAfterRemove