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  IO_NATIVE_LIB_AVAILABLE_KEY =
042    "io.native.lib.available";
043  /** Default value for IO_NATIVE_LIB_AVAILABLE_KEY */
044  public static final boolean IO_NATIVE_LIB_AVAILABLE_DEFAULT = true;
045  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
046  public static final String  NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_KEY =
047    "net.topology.script.number.args";
048  /** Default value for NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_KEY */
049  public static final int     NET_TOPOLOGY_SCRIPT_NUMBER_ARGS_DEFAULT = 100;
050
051  //FS keys
052  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
053  public static final String  FS_DEFAULT_NAME_KEY = "fs.defaultFS";
054  /** Default value for FS_DEFAULT_NAME_KEY */
055  public static final String  FS_DEFAULT_NAME_DEFAULT = "file:///";
056  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
057  public static final String  FS_DF_INTERVAL_KEY = "fs.df.interval"; 
058  /** Default value for FS_DF_INTERVAL_KEY */
059  public static final long    FS_DF_INTERVAL_DEFAULT = 60000;
060  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
061  public static final String  FS_DU_INTERVAL_KEY = "fs.du.interval";
062  /** Default value for FS_DU_INTERVAL_KEY */
063  public static final long    FS_DU_INTERVAL_DEFAULT = 600000;
064  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
065  public static final String  FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_KEY =
066    "fs.client.resolve.remote.symlinks";
067  /** Default value for FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_KEY */
068  public static final boolean FS_CLIENT_RESOLVE_REMOTE_SYMLINKS_DEFAULT = true;
069
070
071  //Defaults are not specified for following keys
072  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
073  public static final String  NET_TOPOLOGY_SCRIPT_FILE_NAME_KEY =
074    "net.topology.script.file.name";
075  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
076  public static final String  NET_TOPOLOGY_NODE_SWITCH_MAPPING_IMPL_KEY =
077    "net.topology.node.switch.mapping.impl";
078  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
079  public static final String  NET_TOPOLOGY_IMPL_KEY =
080    "net.topology.impl";
081  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
082  public static final String  NET_TOPOLOGY_TABLE_MAPPING_FILE_KEY =
083    "net.topology.table.file.name";
084  public static final String NET_DEPENDENCY_SCRIPT_FILE_NAME_KEY = 
085    "net.topology.dependency.script.file.name";
086
087  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
088  public static final String  FS_TRASH_CHECKPOINT_INTERVAL_KEY =
089    "fs.trash.checkpoint.interval";
090  /** Default value for FS_TRASH_CHECKPOINT_INTERVAL_KEY */
091  public static final long    FS_TRASH_CHECKPOINT_INTERVAL_DEFAULT = 0;
092
093  // TBD: Code is still using hardcoded values (e.g. "fs.automatic.close")
094  // instead of constant (e.g. FS_AUTOMATIC_CLOSE_KEY)
095  //
096  /** Not used anywhere, looks like default value for FS_LOCAL_BLOCK_SIZE */
097  public static final long    FS_LOCAL_BLOCK_SIZE_DEFAULT = 32*1024*1024;
098  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
099  public static final String  FS_AUTOMATIC_CLOSE_KEY = "fs.automatic.close";
100  /** Default value for FS_AUTOMATIC_CLOSE_KEY */
101  public static final boolean FS_AUTOMATIC_CLOSE_DEFAULT = true;
102  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
103  public static final String  FS_FILE_IMPL_KEY = "fs.file.impl";
104  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
105  public static final String  FS_FTP_HOST_KEY = "fs.ftp.host";
106  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
107  public static final String  FS_FTP_HOST_PORT_KEY = "fs.ftp.host.port";
108  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
109  public static final String  FS_TRASH_INTERVAL_KEY = "fs.trash.interval";
110  /** Default value for FS_TRASH_INTERVAL_KEY */
111  public static final long    FS_TRASH_INTERVAL_DEFAULT = 0;
112
113  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
114  public static final String  IO_MAPFILE_BLOOM_SIZE_KEY =
115    "io.mapfile.bloom.size";
116  /** Default value for IO_MAPFILE_BLOOM_SIZE_KEY */
117  public static final int     IO_MAPFILE_BLOOM_SIZE_DEFAULT = 1024*1024;
118  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
119  public static final String  IO_MAPFILE_BLOOM_ERROR_RATE_KEY =
120    "io.mapfile.bloom.error.rate" ;
121  /** Default value for IO_MAPFILE_BLOOM_ERROR_RATE_KEY */
122  public static final float   IO_MAPFILE_BLOOM_ERROR_RATE_DEFAULT = 0.005f;
123  /** Codec class that implements Lzo compression algorithm */
124  public static final String  IO_COMPRESSION_CODEC_LZO_CLASS_KEY =
125    "io.compression.codec.lzo.class";
126  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
127  public static final String  IO_MAP_INDEX_INTERVAL_KEY =
128    "io.map.index.interval";
129  /** Default value for IO_MAP_INDEX_INTERVAL_DEFAULT */
130  public static final int     IO_MAP_INDEX_INTERVAL_DEFAULT = 128;
131  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
132  public static final String  IO_MAP_INDEX_SKIP_KEY = "io.map.index.skip";
133  /** Default value for IO_MAP_INDEX_SKIP_KEY */
134  public static final int     IO_MAP_INDEX_SKIP_DEFAULT = 0;
135  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
136  public static final String  IO_SEQFILE_COMPRESS_BLOCKSIZE_KEY =
137    "io.seqfile.compress.blocksize";
138  /** Default value for IO_SEQFILE_COMPRESS_BLOCKSIZE_KEY */
139  public static final int     IO_SEQFILE_COMPRESS_BLOCKSIZE_DEFAULT = 1000000;
140  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
141  public static final String  IO_FILE_BUFFER_SIZE_KEY =
142    "io.file.buffer.size";
143  /** Default value for IO_FILE_BUFFER_SIZE_KEY */
144  public static final int     IO_FILE_BUFFER_SIZE_DEFAULT = 4096;
145  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
146  public static final String  IO_SKIP_CHECKSUM_ERRORS_KEY =
147    "io.skip.checksum.errors";
148  /** Default value for IO_SKIP_CHECKSUM_ERRORS_KEY */
149  public static final boolean IO_SKIP_CHECKSUM_ERRORS_DEFAULT = false;
150  /**
151   * @deprecated Moved to mapreduce, see mapreduce.task.io.sort.mb
152   * in mapred-default.xml
153   * See https://issues.apache.org/jira/browse/HADOOP-6801
154   */
155  public static final String  IO_SORT_MB_KEY = "io.sort.mb";
156  /** Default value for IO_SORT_MB_DEFAULT */
157  public static final int     IO_SORT_MB_DEFAULT = 100;
158  /**
159   * @deprecated Moved to mapreduce, see mapreduce.task.io.sort.factor
160   * in mapred-default.xml
161   * See https://issues.apache.org/jira/browse/HADOOP-6801
162   */
163  public static final String  IO_SORT_FACTOR_KEY = "io.sort.factor";
164  /** Default value for IO_SORT_FACTOR_DEFAULT */
165  public static final int     IO_SORT_FACTOR_DEFAULT = 100;
166  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
167  public static final String  IO_SERIALIZATIONS_KEY = "io.serializations";
168
169  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
170  public static final String  TFILE_IO_CHUNK_SIZE_KEY = "tfile.io.chunk.size";
171  /** Default value for TFILE_IO_CHUNK_SIZE_DEFAULT */
172  public static final int     TFILE_IO_CHUNK_SIZE_DEFAULT = 1024*1024;
173  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
174  public static final String  TFILE_FS_INPUT_BUFFER_SIZE_KEY =
175    "tfile.fs.input.buffer.size";
176  /** Default value for TFILE_FS_INPUT_BUFFER_SIZE_KEY */
177  public static final int     TFILE_FS_INPUT_BUFFER_SIZE_DEFAULT = 256*1024;
178  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
179  public static final String  TFILE_FS_OUTPUT_BUFFER_SIZE_KEY =
180    "tfile.fs.output.buffer.size";
181  /** Default value for TFILE_FS_OUTPUT_BUFFER_SIZE_KEY */
182  public static final int     TFILE_FS_OUTPUT_BUFFER_SIZE_DEFAULT = 256*1024;
183
184  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
185  public static final String  IPC_CLIENT_CONNECTION_MAXIDLETIME_KEY =
186    "ipc.client.connection.maxidletime";
187  /** Default value for IPC_CLIENT_CONNECTION_MAXIDLETIME_KEY */
188  public static final int     IPC_CLIENT_CONNECTION_MAXIDLETIME_DEFAULT = 10000; // 10s
189  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
190  public static final String  IPC_CLIENT_CONNECT_TIMEOUT_KEY =
191    "ipc.client.connect.timeout";
192  /** Default value for IPC_CLIENT_CONNECT_TIMEOUT_KEY */
193  public static final int     IPC_CLIENT_CONNECT_TIMEOUT_DEFAULT = 20000; // 20s
194  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
195  public static final String  IPC_CLIENT_CONNECT_MAX_RETRIES_KEY =
196    "ipc.client.connect.max.retries";
197  /** Default value for IPC_CLIENT_CONNECT_MAX_RETRIES_KEY */
198  public static final int     IPC_CLIENT_CONNECT_MAX_RETRIES_DEFAULT = 10;
199  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
200  public static final String  IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY =
201      "ipc.client.connect.retry.interval";
202  /** Default value for IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY */
203  public static final int     IPC_CLIENT_CONNECT_RETRY_INTERVAL_DEFAULT = 1000;
204  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
205  public static final String  IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY =
206    "ipc.client.connect.max.retries.on.timeouts";
207  /** Default value for IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_KEY */
208  public static final int  IPC_CLIENT_CONNECT_MAX_RETRIES_ON_SOCKET_TIMEOUTS_DEFAULT = 45;
209  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
210  public static final String  IPC_CLIENT_TCPNODELAY_KEY =
211    "ipc.client.tcpnodelay";
212  /** Defalt value for IPC_CLIENT_TCPNODELAY_KEY */
213  public static final boolean IPC_CLIENT_TCPNODELAY_DEFAULT = true;
214  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
215  public static final String  IPC_SERVER_LISTEN_QUEUE_SIZE_KEY =
216    "ipc.server.listen.queue.size";
217  /** Default value for IPC_SERVER_LISTEN_QUEUE_SIZE_KEY */
218  public static final int     IPC_SERVER_LISTEN_QUEUE_SIZE_DEFAULT = 128;
219  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
220  public static final String  IPC_CLIENT_KILL_MAX_KEY = "ipc.client.kill.max";
221  /** Default value for IPC_CLIENT_KILL_MAX_KEY */
222  public static final int     IPC_CLIENT_KILL_MAX_DEFAULT = 10;
223  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
224  public static final String  IPC_CLIENT_IDLETHRESHOLD_KEY =
225    "ipc.client.idlethreshold";
226  /** Default value for IPC_CLIENT_IDLETHRESHOLD_DEFAULT */
227  public static final int     IPC_CLIENT_IDLETHRESHOLD_DEFAULT = 4000;
228  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
229  public static final String  IPC_SERVER_TCPNODELAY_KEY =
230    "ipc.server.tcpnodelay";
231  /** Default value for IPC_SERVER_TCPNODELAY_KEY */
232  public static final boolean IPC_SERVER_TCPNODELAY_DEFAULT = true;
233
234  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
235  public static final String  HADOOP_RPC_SOCKET_FACTORY_CLASS_DEFAULT_KEY =
236    "hadoop.rpc.socket.factory.class.default";
237  public static final String  HADOOP_RPC_SOCKET_FACTORY_CLASS_DEFAULT_DEFAULT =
238    "org.apache.hadoop.net.StandardSocketFactory";
239  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
240  public static final String  HADOOP_SOCKS_SERVER_KEY = "hadoop.socks.server";
241  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
242  public static final String  HADOOP_UTIL_HASH_TYPE_KEY =
243    "hadoop.util.hash.type";
244  /** Default value for HADOOP_UTIL_HASH_TYPE_KEY */
245  public static final String  HADOOP_UTIL_HASH_TYPE_DEFAULT = "murmur";
246  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
247  public static final String  HADOOP_SECURITY_GROUP_MAPPING =
248    "hadoop.security.group.mapping";
249  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
250  public static final String  HADOOP_SECURITY_GROUPS_CACHE_SECS =
251    "hadoop.security.groups.cache.secs";
252  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
253  public static final long HADOOP_SECURITY_GROUPS_CACHE_SECS_DEFAULT =
254    300;
255  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
256  public static final String  HADOOP_SECURITY_GROUPS_NEGATIVE_CACHE_SECS =
257    "hadoop.security.groups.negative-cache.secs";
258  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
259  public static final long HADOOP_SECURITY_GROUPS_NEGATIVE_CACHE_SECS_DEFAULT =
260    30;
261  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
262  public static final String HADOOP_SECURITY_GROUPS_CACHE_WARN_AFTER_MS =
263    "hadoop.security.groups.cache.warn.after.ms";
264  public static final long HADOOP_SECURITY_GROUPS_CACHE_WARN_AFTER_MS_DEFAULT =
265    5000;
266  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
267  public static final String  HADOOP_SECURITY_AUTHENTICATION =
268    "hadoop.security.authentication";
269  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
270  public static final String HADOOP_SECURITY_AUTHORIZATION =
271    "hadoop.security.authorization";
272  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
273  public static final String HADOOP_SECURITY_INSTRUMENTATION_REQUIRES_ADMIN =
274    "hadoop.security.instrumentation.requires.admin";
275  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
276  public static final String  HADOOP_SECURITY_SERVICE_USER_NAME_KEY =
277    "hadoop.security.service.user.name.key";
278  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
279  public static final String  HADOOP_SECURITY_AUTH_TO_LOCAL =
280    "hadoop.security.auth_to_local";
281
282  @Deprecated
283  /** Only used by HttpServer. */
284  public static final String HADOOP_SSL_ENABLED_KEY = "hadoop.ssl.enabled";
285  @Deprecated
286  /** Only used by HttpServer. */
287  public static final boolean HADOOP_SSL_ENABLED_DEFAULT = false;
288
289
290  // HTTP policies to be used in configuration
291  // Use HttpPolicy.name() instead
292  @Deprecated
293  public static final String HTTP_POLICY_HTTP_ONLY = "HTTP_ONLY";
294  @Deprecated
295  public static final String HTTP_POLICY_HTTPS_ONLY = "HTTPS_ONLY";
296  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
297  public static final String  HADOOP_RPC_PROTECTION =
298    "hadoop.rpc.protection";
299  /** Class to override Sasl Properties for a connection */
300  public static final String  HADOOP_SECURITY_SASL_PROPS_RESOLVER_CLASS =
301    "hadoop.security.saslproperties.resolver.class";
302  public static final String HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_KEY_PREFIX = 
303    "hadoop.security.crypto.codec.classes";
304  public static final String
305      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_AES_CTR_NOPADDING_KEY =
306      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_KEY_PREFIX
307          + CipherSuite.AES_CTR_NOPADDING.getConfigSuffix();
308  public static final String
309      HADOOP_SECURITY_CRYPTO_CODEC_CLASSES_AES_CTR_NOPADDING_DEFAULT =
310      OpensslAesCtrCryptoCodec.class.getName() + "," +
311          JceAesCtrCryptoCodec.class.getName();
312  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
313  public static final String HADOOP_SECURITY_CRYPTO_CIPHER_SUITE_KEY =
314    "hadoop.security.crypto.cipher.suite";
315  public static final String HADOOP_SECURITY_CRYPTO_CIPHER_SUITE_DEFAULT = 
316    "AES/CTR/NoPadding";
317  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
318  public static final String HADOOP_SECURITY_CRYPTO_JCE_PROVIDER_KEY =
319    "hadoop.security.crypto.jce.provider";
320  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
321  public static final String HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_KEY = 
322    "hadoop.security.crypto.buffer.size";
323  /** Defalt value for HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_KEY */
324  public static final int HADOOP_SECURITY_CRYPTO_BUFFER_SIZE_DEFAULT = 8192;
325  /** Class to override Impersonation provider */
326  public static final String  HADOOP_SECURITY_IMPERSONATION_PROVIDER_CLASS =
327    "hadoop.security.impersonation.provider.class";
328
329  //  <!--- KMSClientProvider configurations ???>
330  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
331  public static final String KMS_CLIENT_ENC_KEY_CACHE_SIZE =
332      "hadoop.security.kms.client.encrypted.key.cache.size";
333  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_SIZE */
334  public static final int KMS_CLIENT_ENC_KEY_CACHE_SIZE_DEFAULT = 500;
335
336  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
337  public static final String KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK =
338      "hadoop.security.kms.client.encrypted.key.cache.low-watermark";
339  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK */
340  public static final float KMS_CLIENT_ENC_KEY_CACHE_LOW_WATERMARK_DEFAULT =
341      0.3f;
342
343  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
344  public static final String KMS_CLIENT_ENC_KEY_CACHE_NUM_REFILL_THREADS =
345      "hadoop.security.kms.client.encrypted.key.cache.num.refill.threads";
346  /** Default value for KMS_CLIENT_ENC_KEY_NUM_REFILL_THREADS */
347  public static final int KMS_CLIENT_ENC_KEY_CACHE_NUM_REFILL_THREADS_DEFAULT =
348      2;
349
350  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
351  public static final String KMS_CLIENT_ENC_KEY_CACHE_EXPIRY_MS =
352      "hadoop.security.kms.client.encrypted.key.cache.expiry";
353  /** Default value for KMS_CLIENT_ENC_KEY_CACHE_EXPIRY (12 hrs)*/
354  public static final int KMS_CLIENT_ENC_KEY_CACHE_EXPIRY_DEFAULT = 43200000;
355
356  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
357  public static final String HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_KEY = 
358    "hadoop.security.java.secure.random.algorithm";
359  /** Defalt value for HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_KEY */
360  public static final String HADOOP_SECURITY_JAVA_SECURE_RANDOM_ALGORITHM_DEFAULT = 
361    "SHA1PRNG";
362  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
363  public static final String HADOOP_SECURITY_SECURE_RANDOM_IMPL_KEY = 
364    "hadoop.security.secure.random.impl";
365  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
366  public static final String HADOOP_SECURITY_SECURE_RANDOM_DEVICE_FILE_PATH_KEY = 
367    "hadoop.security.random.device.file.path";
368  public static final String HADOOP_SECURITY_SECURE_RANDOM_DEVICE_FILE_PATH_DEFAULT = 
369    "/dev/urandom";
370
371  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
372  public static final String HADOOP_SHELL_MISSING_DEFAULT_FS_WARNING_KEY =
373      "hadoop.shell.missing.defaultFs.warning";
374  // CLOUDERA-BUILD: enable the shell warnings by default.
375  public static final boolean HADOOP_SHELL_MISSING_DEFAULT_FS_WARNING_DEFAULT =
376      true;
377
378  /** See <a href="{@docRoot}/../core-default.html">core-default.xml</a> */
379  public static final String HADOOP_HTTP_LOGS_ENABLED =
380      "hadoop.http.logs.enabled";
381  /** Defalt value for HADOOP_HTTP_LOGS_ENABLED */
382  public static final boolean HADOOP_HTTP_LOGS_ENABLED_DEFAULT = true;
383}
384