001/**
002 * Licensed to the Apache Software Foundation (ASF) under one
003 * or more contributor license agreements.  See the NOTICE file
004 * distributed with this work for additional information
005 * regarding copyright ownership.  The ASF licenses this file
006 * to you under the Apache License, Version 2.0 (the
007 * "License"); you may not use this file except in compliance
008 * with the License.  You may obtain a copy of the License at
009 *
010 *     http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software
013 * distributed under the License is distributed on an "AS IS" BASIS,
014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 * See the License for the specific language governing permissions and
016 * limitations under the License.
017 */
018
019package org.apache.hadoop.fs;
020
021import org.apache.hadoop.classification.InterfaceAudience;
022import org.apache.hadoop.crypto.CipherSuite;
023import org.apache.hadoop.crypto.JceAesCtrCryptoCodec;
024import org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec;
025
026/** 
027 * This class contains constants for configuration keys used
028 * in the common code.
029 *
030 * It includes all publicly documented configuration keys. In general
031 * this class should not be used directly (use CommonConfigurationKeys
032 * instead)
033 *
034 */
035
036@InterfaceAudience.Public
037public class CommonConfigurationKeysPublic {
038  
039  // The Keys
040  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
041  public static final String  NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_KEY =
042    "net.topology.script.number.args";
043  /** Default value for NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_KEY */
044  public static final int     NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_DEFAULT = 100;
045
046  //FS keys
047  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
048  public static final String  FS_DEFAULT_NAME_KEY = "fs.defaultFS";
049  /** Default value for FS_DEFAULT_NAME_KEY */
050  public static final String  FS_DEFAULT_NAME_DEFAULT = "file:///";
051  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
052  public static final String  FS_DF_INTERVAL_KEY = "fs.df.interval"; 
053  /** Default value for FS_DF_INTERVAL_KEY */
054  public static final long    FS_DF_INTERVAL_DEFAULT = 60000;
055  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
056  public static final String  FS_DU_INTERVAL_KEY = "fs.du.interval";
057  /** Default value for FS_DU_INTERVAL_KEY */
058  public static final long    FS_DU_INTERVAL_DEFAULT = 600000;
059  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
060  public static final String  FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_KEY =
061    "fs.client.resolve.remote.symlinks";
062  /** Default value for FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_KEY */
063  public static final boolean FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_DEFAULT = true;
064
065
066  //Defaults are not specified for following keys
067  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
068  public static final String  NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY =
069    "net.topology.script.file.name";
070  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
071  public static final String  NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY =
072    "net.topology.node.switch.mapping.impl";
073  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
074  public static final String  NET_TOPOLOGY_IMPL_KEY =
075    "net.topology.impl";
076  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
077  public static final String  NET_TOPOLOGY_TABLE_MAPPING_FILE_KEY =
078    "net.topology.table.file.name";
079  public static final String NET_DEPENDENCY_SCRIPT_FILE_NAME_KEY = 
080    "net.topology.dependency.script.file.name";
081
082  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
083  public static final String  FS_TRASH_CHECKPOINT_INTERVAL_KEY =
084    "fs.trash.checkpoint.interval";
085  /** Default value for FS_TRASH_CHECKPOINT_INTERVAL_KEY */
086  public static final long    FS_TRASH_CHECKPOINT_INTERVAL_DEFAULT = 0;
087
088  // TBD: Code is still using hardcoded values (e.g. "fs.automatic.close")
089  // instead of constant (e.g. FS_AUTOMATIC_CLOSE_KEY)
090  //
091  /** Not used anywhere, looks like default value for FS_LOCAL_BLOCK_SIZE */
092  public static final long    FS_LOCAL_BLOCK_SIZE_DEFAULT = 32*1024*1024;
093  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
094  public static final String  FS_AUTOMATIC_CLOSE_KEY = "fs.automatic.close";
095  /** Default value for FS_AUTOMATIC_CLOSE_KEY */
096  public static final boolean FS_AUTOMATIC_CLOSE_DEFAULT = true;
097  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
098  public static final String  FS_FILE_IMPL_KEY = "fs.file.impl";
099  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
100  public static final String  FS_FTP_HOST_KEY = "fs.ftp.host";
101  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
102  public static final String  FS_FTP_HOST_PORT_KEY = "fs.ftp.host.port";
103  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
104  public static final String  FS_TRASH_INTERVAL_KEY = "fs.trash.interval";
105  /** Default value for FS_TRASH_INTERVAL_KEY */
106  public static final long    FS_TRASH_INTERVAL_DEFAULT = 0;
107
108  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
109  public static final String  IO_MAPFILE_BLOOM_SIZE_KEY =
110    "io.mapfile.bloom.size";
111  /** Default value for IO_MAPFILE_BLOOM_SIZE_KEY */
112  public static final int     IO_MAPFILE_BLOOM_SIZE_DEFAULT = 1024*1024;
113  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
114  public static final String  IO_MAPFILE_BLOOM_ERROR_RATE_KEY =
115    "io.mapfile.bloom.error.rate" ;
116  /** Default value for IO_MAPFILE_BLOOM_ERROR_RATE_KEY */
117  public static final float   IO_MAPFILE_BLOOM_ERROR_RATE_DEFAULT = 0.005f;
118  /** Codec class that implements Lzo compression algorithm */
119  public static final String  IO_COMPRESSION_CODEC_LZO_CLASS_KEY =
120    "io.compression.codec.lzo.class";
121  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
122  public static final String  IO_MAP_INDEX_INTERVAL_KEY =
123    "io.map.index.interval";
124  /** Default value for IO_MAP_INDEX_INTERVAL_DEFAULT */
125  public static final int     IO_MAP_INDEX_INTERVAL_DEFAULT = 128;
126  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
127  public static final String  IO_MAP_INDEX_SKIP_KEY = "io.map.index.skip";
128  /** Default value for IO_MAP_INDEX_SKIP_KEY */
129  public static final int     IO_MAP_INDEX_SKIP_DEFAULT = 0;
130  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
131  public static final String  IO_SEQFILE_COMPRESS_BLOCKSIZE_KEY =
132    "io.seqfile.compress.blocksize";
133  /** Default value for IO_SEQFILE_COMPRESS_BLOCKSIZE_KEY */
134  public static final int     IO_SEQFILE_COMPRESS_BLOCKSIZE_DEFAULT = 1000000;
135  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
136  public static final String  IO_FILE_BUFFER_SIZE_KEY =
137    "io.file.buffer.size";
138  /** Default value for IO_FILE_BUFFER_SIZE_KEY */
139  public static final int     IO_FILE_BUFFER_SIZE_DEFAULT = 4096;
140  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
141  public static final String  IO_SKIP_CHECKSUM_ERRORS_KEY =
142    "io.skip.checksum.errors";
143  /** Default value for IO_SKIP_CHECKSUM_ERRORS_KEY */
144  public static final boolean IO_SKIP_CHECKSUM_ERRORS_DEFAULT = false;
145  /**
146   * @deprecated Moved to mapreduce, see mapreduce.task.io.sort.mb
147   * in mapred-default.xml
148   * See https://issues.apache.org/jira/browse/HADOOP-6801
149   */
150  public static final String  IO_SORT_MB_KEY = "io.sort.mb";
151  /** Default value for IO_SORT_MB_DEFAULT */
152  public static final int     IO_SORT_MB_DEFAULT = 100;
153  /**
154   * @deprecated Moved to mapreduce, see mapreduce.task.io.sort.factor
155   * in mapred-default.xml
156   * See https://issues.apache.org/jira/browse/HADOOP-6801
157   */
158  public static final String  IO_SORT_FACTOR_KEY = "io.sort.factor";
159  /** Default value for IO_SORT_FACTOR_DEFAULT */
160  public static final int     IO_SORT_FACTOR_DEFAULT = 100;
161  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
162  public static final String  IO_SERIALIZATIONS_KEY = "io.serializations";
163
164  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
165  public static final String  TFILE_IO_CHUNK_SIZE_KEY = "tfile.io.chunk.size";
166  /** Default value for TFILE_IO_CHUNK_SIZE_DEFAULT */
167  public static final int     TFILE_IO_CHUNK_SIZE_DEFAULT = 1024*1024;
168  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
169  public static final String  TFILE_FS_INPUT_BUFFER_SIZE_KEY =
170    "tfile.fs.input.buffer.size";
171  /** Default value for TFILE_FS_INPUT_BUFFER_SIZE_KEY */
172  public static final int     TFILE_FS_INPUT_BUFFER_SIZE_DEFAULT = 256*1024;
173  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
174  public static final String  TFILE_FS_OUTPUT_BUFFER_SIZE_KEY =
175    "tfile.fs.output.buffer.size";
176  /** Default value for TFILE_FS_OUTPUT_BUFFER_SIZE_KEY */
177  public static final int     TFILE_FS_OUTPUT_BUFFER_SIZE_DEFAULT = 256*1024;
178
179  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
180  public static final String  IPC_CLIENT_CONNECTION_MAXIDLETIME_KEY =
181    "ipc.client.connection.maxidletime";
182  /** Default value for IPC_CLIENT_CONNECTION_MAXIDLETIME_KEY */
183  public static final int     IPC_CLIENT_CONNECTION_MAXIDLETIME_DEFAULT = 10000; // 10s
184  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
185  public static final String  IPC_CLIENT_CONNECT_TIMEOUT_KEY =
186    "ipc.client.connect.timeout";
187  /** Default value for IPC_CLIENT_CONNECT_TIMEOUT_KEY */
188  public static final int     IPC_CLIENT_CONNECT_TIMEOUT_DEFAULT = 20000; // 20s
189  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
190  public static final String  IPC_CLIENT_CONNECT_MAX_RETRIES_KEY =
191    "ipc.client.connect.max.retries";
192  /** Default value for IPC_CLIENT_CONNECT_MAX_RETRIES_KEY */
193  public static final int     IPC_CLIENT_CONNECT_MAX_RETRIES_DEFAULT = 10;
194  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
195  public static final String  IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY =
196      "ipc.client.connect.retry.interval";
197  /** Default value for IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY */
198  public static final int     IPC_CLIENT_CONNECT_RETRY_INTERVAL_DEFAULT = 1000;
199  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
200  public static final String  IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY =
201    "ipc.client.connect.max.retries.on.timeouts";
202  /** Default value for IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY */
203  public static final int  IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_DEFAULT = 45;
204  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
205  public static final String  IPC_CLIENT_TCPNODELAY_KEY =
206    "ipc.client.tcpnodelay";
207  /** Default value for IPC_CLIENT_TCPNODELAY_KEY */
208  public static final boolean IPC_CLIENT_TCPNODELAY_DEFAULT = true;
209  /** Enable low-latency connections from the client */
210  public static final String   IPC_CLIENT_LOW_LATENCY = "ipc.client.low-latency";
211  /** Default value of IPC_CLIENT_LOW_LATENCY */
212  public static final boolean  IPC_CLIENT_LOW_LATENCY_DEFAULT = false;
213  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
214  public static final String  IPC_SERVER_LISTEN_QUEUE_SIZE_KEY =
215    "ipc.server.listen.queue.size";
216  /** Default value for IPC_SERVER_LISTEN_QUEUE_SIZE_KEY */
217  public static final int     IPC_SERVER_LISTEN_QUEUE_SIZE_DEFAULT = 128;
218  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
219  public static final String  IPC_CLIENT_KILL_MAX_KEY = "ipc.client.kill.max";
220  /** Default value for IPC_CLIENT_KILL_MAX_KEY */
221  public static final int     IPC_CLIENT_KILL_MAX_DEFAULT = 10;
222  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
223  public static final String  IPC_CLIENT_IDLETHRESHOLD_KEY =
224    "ipc.client.idlethreshold";
225  /** Default value for IPC_CLIENT_IDLETHRESHOLD_DEFAULT */
226  public static final int     IPC_CLIENT_IDLETHRESHOLD_DEFAULT = 4000;
227  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
228  public static final String  IPC_SERVER_TCPNODELAY_KEY =
229    "ipc.server.tcpnodelay";
230  /** Default value for IPC_SERVER_TCPNODELAY_KEY */
231  public static final boolean IPC_SERVER_TCPNODELAY_DEFAULT = true;
232  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
233  public static final String  IPC_SERVER_MAX_CONNECTIONS_KEY =
234    "ipc.server.max.connections";
235  /** Default value for IPC_SERVER_MAX_CONNECTIONS_KEY */
236  public static final int     IPC_SERVER_MAX_CONNECTIONS_DEFAULT = 0;
237
238  /** Logs if a RPC is really slow compared to rest of RPCs. */
239  public static final String IPC_SERVER_LOG_SLOW_RPC =
240                                                "ipc.server.log.slow.rpc";
241  public static final boolean IPC_SERVER_LOG_SLOW_RPC_DEFAULT = false;
242
243  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
244  public static final String  HADOOP_RPC_SOCKET_FACTORY_CLASS_DEFAULT_KEY =
245    "hadoop.rpc.socket.factory.class.default";
246  public static final String  HADOOP_RPC_SOCKET_FACTORY_CLASS_DEFAULT_DEFAULT =
247    "org.apache.hadoop.net.StandardSocketFactory";
248  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
249  public static final String  HADOOP_SOCKS_SERVER_KEY = "hadoop.socks.server";
250  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
251  public static final String  HADOOP_UTIL_HASH_TYPE_KEY =
252    "hadoop.util.hash.type";
253  /** Default value for HADOOP_UTIL_HASH_TYPE_KEY */
254  public static final String  HADOOP_UTIL_HASH_TYPE_DEFAULT = "murmur";
255  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
256  public static final String  HADOOP_SECURITY_GROUP_MAPPING =
257    "hadoop.security.group.mapping";
258  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
259  public static final String  HADOOP_SECURITY_GROUPS_CACHE_SECS =
260    "hadoop.security.groups.cache.secs";
261  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
262  public static final long HADOOP_SECURITY_GROUPS_CACHE_SECS_DEFAULT =
263    300;
264  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
265  public static final String  HADOOP_SECURITY_GROUPS_NEGATIVE_CACHE_SECS =
266    "hadoop.security.groups.negative-cache.secs";
267  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
268  public static final long HADOOP_SECURITY_GROUPS_NEGATIVE_CACHE_SECS_DEFAULT =
269    30;
270  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
271  public static final String HADOOP_SECURITY_GROUPS_CACHE_WARN_AFTER_MS =
272    "hadoop.security.groups.cache.warn.after.ms";
273  public static final long HADOOP_SECURITY_GROUPS_CACHE_WARN_AFTER_MS_DEFAULT =
274    5000;
275  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
276  public static final String  HADOOP_SECURITY_AUTHENTICATION =
277    "hadoop.security.authentication";
278  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
279  public static final String HADOOP_SECURITY_AUTHORIZATION =
280    "hadoop.security.authorization";
281  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
282  public static final String HADOOP_SECURITY_INSTRUMENTATION_REQUIRES_ADMIN =
283    "hadoop.security.instrumentation.requires.admin";
284  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
285  public static final String  HADOOP_SECURITY_SERVICE_USER_NAME_KEY =
286    "hadoop.security.service.user.name.key";
287  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
288  public static final String  HADOOP_SECURITY_AUTH_TO_LOCAL =
289    "hadoop.security.auth_to_local";
290
291  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
292  public static final String HADOOP_KERBEROS_MIN_SECONDS_BEFORE_RELOGIN =
293          "hadoop.kerberos.min.seconds.before.relogin";
294  /** Default value for HADOOP_KERBEROS_MIN_SECONDS_BEFORE_RELOGIN */
295  public static final int HADOOP_KERBEROS_MIN_SECONDS_BEFORE_RELOGIN_DEFAULT =
296          60;
297  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
298  public static final String  HADOOP_RPC_PROTECTION =
299    "hadoop.rpc.protection";
300  /** Class to override Sasl Properties for a connection */
301  public static final String  HADOOP_SECURITY_SASL_PROPS_RESOLVER_CLASS =
302    "hadoop.security.saslproperties.resolver.class";
303  public static final String HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_KEY_PREFIX = 
304    "hadoop.security.crypto.codec.classes";
305  public static final String
306      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_AES_CTR_NOPADDING_KEY =
307      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_KEY_PREFIX
308          + CipherSuite.AES_CTR_NOPADDING.getConfigSuffix();
309  public static final String
310      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_AES_CTR_NOPADDING_DEFAULT =
311      OpensslAesCtrCryptoCodec.class.getName() + "," +
312          JceAesCtrCryptoCodec.class.getName();
313  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
314  public static final String HADOOP_SECURITY_CRYPTO_CIPHER_SUITE_KEY =
315    "hadoop.security.crypto.cipher.suite";
316  public static final String HADOOP_SECURITY_CRYPTO_CIPHER_SUITE_DEFAULT = 
317    "AES/CTR/NoPadding";
318  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
319  public static final String HADOOP_SECURITY_CRYPTO_JCE_PROVIDER_KEY =
320    "hadoop.security.crypto.jce.provider";
321  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
322  public static final String HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_KEY = 
323    "hadoop.security.crypto.buffer.size";
324  /** Defalt value for HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_KEY */
325  public static final int HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_DEFAULT = 8192;
326  /** Class to override Impersonation provider */
327  public static final String  HADOOP_SECURITY_IMPERSONATION_PROVIDER_CLASS =
328    "hadoop.security.impersonation.provider.class";
329
330  //  <!-- KMSClientProvider configurations -->
331  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
332  public static final String KMS_CLIENT_ENC_KEY_CACHE_SIZE =
333      "hadoop.security.kms.client.encrypted.key.cache.size";
334  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_SIZE */
335  public static final int KMS_CLIENT_ENC_KEY_CACHE_SIZE_DEFAULT = 500;
336
337  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
338  public static final String KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK =
339      "hadoop.security.kms.client.encrypted.key.cache.low-watermark";
340  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK */
341  public static final float KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK_DEFAULT =
342      0.3f;
343
344  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
345  public static final String KMS_CLIENT_ENC_KEY_CACHE_NUM_REFILL_THREADS =
346      "hadoop.security.kms.client.encrypted.key.cache.num.refill.threads";
347  /** Default value for KMS_CLIENT_ENC_KEY_NUM_REFILL_THREADS */
348  public static final int KMS_CLIENT_ENC_KEY_CACHE_NUM_REFILL_THREADS_DEFAULT =
349      2;
350
351  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
352  public static final String KMS_CLIENT_ENC_KEY_CACHE_EXPIRY_MS =
353      "hadoop.security.kms.client.encrypted.key.cache.expiry";
354  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_EXPIRY (12 hrs)*/
355  public static final int KMS_CLIENT_ENC_KEY_CACHE_EXPIRY_DEFAULT = 43200000;
356
357  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
358  public static final String HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_KEY = 
359    "hadoop.security.java.secure.random.algorithm";
360  /** Defalt value for HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_KEY */
361  public static final String HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_DEFAULT = 
362    "SHA1PRNG";
363  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
364  public static final String HADOOP_SECURITY_SECURE_RANDOM_IMPL_KEY = 
365    "hadoop.security.secure.random.impl";
366  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
367  public static final String HADOOP_SECURITY_SECURE_RANDOM_DEVICE_FILE_PATH_KEY = 
368    "hadoop.security.random.device.file.path";
369  public static final String HADOOP_SECURITY_SECURE_RANDOM_DEVICE_FILE_PATH_DEFAULT = 
370    "/dev/urandom";
371
372  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
373  public static final String HADOOP_SHELL_MISSING_DEFAULT_FS_WARNING_KEY =
374      "hadoop.shell.missing.defaultFs.warning";
375  public static final boolean HADOOP_SHELL_MISSING_DEFAULT_FS_WARNING_DEFAULT =
376      false;
377}
378