File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
hadoop-hdfs-project/hadoop-hdfs/src
main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl
test/java/org/apache/hadoop/hdfs/server/datanode Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 45
45
import java .util .concurrent .atomic .AtomicLong ;
46
46
import java .util .concurrent .TimeUnit ;
47
47
48
- import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_CLASSNAME ;
49
48
import org .apache .hadoop .hdfs .server .datanode .FSCachingGetSpaceUsed ;
50
49
import org .apache .hadoop .util .Preconditions ;
51
50
import org .slf4j .Logger ;
81
80
82
81
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_DU_INTERVAL_KEY ;
83
82
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_JITTER_KEY ;
83
+ import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_CLASSNAME ;
84
84
85
85
/**
86
86
* A block pool slice represents a portion of a block pool stored on a volume.
Original file line number Diff line number Diff line change 18
18
19
19
package org .apache .hadoop .hdfs .server .datanode ;
20
20
21
- import org .apache .hadoop .fs .CachingGetSpaceUsed ;
22
- import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_CLASSNAME ;
23
21
import static org .apache .hadoop .hdfs .DFSConfigKeys .DFS_BLOCKREPORT_INITIAL_DELAY_KEY ;
24
22
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_DU_INTERVAL_DEFAULT ;
25
23
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_DU_INTERVAL_KEY ;
26
24
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_JITTER_DEFAULT ;
27
25
import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_JITTER_KEY ;
26
+ import static org .apache .hadoop .fs .CommonConfigurationKeysPublic .FS_GETSPACEUSED_CLASSNAME ;
28
27
import static org .apache .hadoop .hdfs .DFSConfigKeys .DFS_BLOCKREPORT_INTERVAL_MSEC_DEFAULT ;
29
28
import static org .apache .hadoop .hdfs .DFSConfigKeys .DFS_BLOCKREPORT_INTERVAL_MSEC_KEY ;
30
29
import static org .apache .hadoop .hdfs .DFSConfigKeys .DFS_BLOCKREPORT_SPLIT_THRESHOLD_KEY ;
60
59
61
60
import org .apache .hadoop .conf .Configuration ;
62
61
import org .apache .hadoop .conf .ReconfigurationException ;
62
+ import org .apache .hadoop .fs .CachingGetSpaceUsed ;
63
63
import org .apache .hadoop .fs .CommonConfigurationKeys ;
64
64
import org .apache .hadoop .fs .FileUtil ;
65
65
import org .apache .hadoop .fs .GetSpaceUsed ;
You can’t perform that action at this time.
0 commit comments