File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2727import org .apache .hadoop .classification .InterfaceStability ;
2828import org .apache .hadoop .conf .Configuration ;
2929
30- import static org .apache .hadoop .fs .LocalFileSystemConfigKeys .LOCAL_FS_VERIFY_CHECKSUM ;
30+ import static org .apache .hadoop .fs .local . LocalConfigKeys .LOCAL_FS_VERIFY_CHECKSUM ;
3131
3232/****************************************************************
3333 * Implement the FileSystem API for the checksumed local filesystem.
Original file line number Diff line number Diff line change @@ -43,11 +43,5 @@ public class LocalFileSystemConfigKeys extends CommonConfigurationKeys {
4343 "file.client-write-packet-size" ;
4444 public static final int LOCAL_FS_CLIENT_WRITE_PACKET_SIZE_DEFAULT = 64 *1024 ;
4545
46- /**
47- * Verify checksums on read -default is true.
48- * <p>
49- * {@value}.
50- */
51- public static final String LOCAL_FS_VERIFY_CHECKSUM = "fs.file.checksum.verify" ;
5246}
5347
Original file line number Diff line number Diff line change @@ -57,6 +57,13 @@ public class LocalConfigKeys extends CommonConfigurationKeys {
5757 DataChecksum .Type .CRC32 ;
5858 public static final String KEY_PROVIDER_URI_DEFAULT = "" ;
5959
60+ /**
61+ * Verify checksums on read -default is true.
62+ * <p>
63+ * {@value}.
64+ */
65+ public static final String LOCAL_FS_VERIFY_CHECKSUM = "fs.file.checksum.verify" ;
66+
6067 public static FsServerDefaults getServerDefaults () throws IOException {
6168 return new FsServerDefaults (
6269 BLOCK_SIZE_DEFAULT ,
You can’t perform that action at this time.
0 commit comments