name |
value |
description |
hadoop.tmp.dir |
/tmp/hadoop-${user.name} |
A base for other temporary directories. |
hadoop.native.lib |
true |
Should native hadoop libraries, if present, be used. |
hadoop.http.filter.initializers |
|
A comma separated list of class names. Each class in the list must extend org.apache.hadoop.http.FilterInitializer. The corresponding Filter will be initialized. Then, the Filter will be applied to all user facing jsp and servlet web pages. The ordering of the list defines the ordering of the filters. |
hadoop.security.group.mapping |
org.apache.hadoop.security.ShellBasedUnixGroupsMapping |
Class for user to group mapping (get groups for a given user) |
hadoop.security.authorization |
false |
Is service-level authorization enabled? |
hadoop.security.authentication |
simple |
Possible values are simple (no authentication), and kerberos |
hadoop.security.token.service.use_ip |
true |
Controls whether tokens always use IP addresses. DNS changes will not be detected if this option is enabled. Existing client connections that break will always reconnect to the IP of the original host. New clients will connect to the host's new IP but fail to locate a token. Disabling this option will allow existing and new clients to detect an IP change and continue to locate the new host's token. |
hadoop.logfile.size |
10000000 |
The max size of each log file |
hadoop.logfile.count |
10 |
The max number of log files |
io.file.buffer.size |
4096 |
The size of buffer for use in sequence files. The size of this buffer should probably be a multiple of hardware page size (4096 on Intel x86), and it determines how much data is buffered during read and write operations. |
io.bytes.per.checksum |
512 |
The number of bytes per checksum. Must not be larger than io.file.buffer.size. |
io.skip.checksum.errors |
false |
If true, when a checksum error is encountered while reading a sequence file, entries are skipped, instead of throwing an exception. |
io.compression.codecs |
org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.BZip2Codec |
A list of the compression codec classes that can be used for compression/decompression. |
io.serializations |
org.apache.hadoop.io.serializer.WritableSerialization |
A list of serialization classes that can be used for obtaining serializers and deserializers. |
fs.default.name |
file:/// |
The name of the default file system. A URI whose scheme and authority determine the FileSystem implementation. The uri's scheme determines the config property (fs.SCHEME.impl) naming the FileSystem implementation class. The uri's authority is used to determine the host, port, etc. for a filesystem. |
fs.trash.interval |
0 |
Number of minutes between trash checkpoints. If zero, the trash feature is disabled. |
fs.file.impl |
org.apache.hadoop.fs.LocalFileSystem |
The FileSystem for file: uris. |
fs.hdfs.impl |
org.apache.hadoop.hdfs.DistributedFileSystem |
The FileSystem for hdfs: uris. |
fs.s3.impl |
org.apache.hadoop.fs.s3.S3FileSystem |
The FileSystem for s3: uris. |
fs.s3n.impl |
org.apache.hadoop.fs.s3native.NativeS3FileSystem |
The FileSystem for s3n: (Native S3) uris. |
fs.kfs.impl |
org.apache.hadoop.fs.kfs.KosmosFileSystem |
The FileSystem for kfs: uris. |
fs.hftp.impl |
org.apache.hadoop.hdfs.HftpFileSystem |
|
fs.hsftp.impl |
org.apache.hadoop.hdfs.HsftpFileSystem |
|
fs.webhdfs.impl |
org.apache.hadoop.hdfs.web.WebHdfsFileSystem |
|
fs.ftp.impl |
org.apache.hadoop.fs.ftp.FTPFileSystem |
The FileSystem for ftp: uris. |
fs.ramfs.impl |
org.apache.hadoop.fs.InMemoryFileSystem |
The FileSystem for ramfs: uris. |
fs.har.impl |
org.apache.hadoop.fs.HarFileSystem |
The filesystem for Hadoop archives. |
fs.har.impl.disable.cache |
true |
Don't cache 'har' filesystem instances. |
fs.checkpoint.dir |
${hadoop.tmp.dir}/dfs/namesecondary |
Determines where on the local filesystem the DFS secondary name node should store the temporary images to merge. If this is a comma-delimited list of directories then the image is replicated in all of the directories for redundancy. |
fs.checkpoint.edits.dir |
${fs.checkpoint.dir} |
Determines where on the local filesystem the DFS secondary name node should store the temporary edits to merge. If this is a comma-delimited list of directoires then teh edits is replicated in all of the directoires for redundancy. Default value is same as fs.checkpoint.dir |
fs.checkpoint.period |
3600 |
The number of seconds between two periodic checkpoints. |
fs.checkpoint.size |
67108864 |
The size of the current edit log (in bytes) that triggers a periodic checkpoint even if the fs.checkpoint.period hasn't expired. |
fs.s3.block.size |
67108864 |
Block size to use when writing files to S3. |
fs.s3.buffer.dir |
${hadoop.tmp.dir}/s3 |
Determines where on the local filesystem the S3 filesystem should store files before sending them to S3 (or after retrieving them from S3). |
fs.s3.maxRetries |
4 |
The maximum number of retries for reading or writing files to S3, before we signal failure to the application. |
fs.s3.sleepTimeSeconds |
10 |
The number of seconds to sleep between each S3 retry. |
local.cache.size |
10737418240 |
The limit on the size of cache you want to keep, set by default to 10GB. This will act as a soft limit on the cache directory for out of band data. |
io.seqfile.compress.blocksize |
1000000 |
The minimum block size for compression in block compressed SequenceFiles. |
io.seqfile.lazydecompress |
true |
Should values of block-compressed SequenceFiles be decompressed only when necessary. |
io.seqfile.sorter.recordlimit |
1000000 |
The limit on number of records to be kept in memory in a spill in SequenceFiles.Sorter |
io.mapfile.bloom.size |
1048576 |
The size of BloomFilter-s used in BloomMapFile. Each time this many keys is appended the next BloomFilter will be created (inside a DynamicBloomFilter). Larger values minimize the number of filters, which slightly increases the performance, but may waste too much space if the total number of keys is usually much smaller than this number. |
io.mapfile.bloom.error.rate |
0.005 |
The rate of false positives in BloomFilter-s used in BloomMapFile. As this value decreases, the size of BloomFilter-s increases exponentially. This value is the probability of encountering false positives (default is 0.5%). |
hadoop.util.hash.type |
murmur |
The default implementation of Hash. Currently this can take one of the two values: 'murmur' to select MurmurHash and 'jenkins' to select JenkinsHash. |
ipc.client.idlethreshold |
4000 |
Defines the threshold number of connections after which connections will be inspected for idleness. |
ipc.client.kill.max |
10 |
Defines the maximum number of clients to disconnect in one go. |
ipc.client.connection.maxidletime |
10000 |
The maximum time in msec after which a client will bring down the connection to the server. |
ipc.client.connect.max.retries |
10 |
Indicates the number of retries a client will make to establish a server connection. |
ipc.server.listen.queue.size |
128 |
Indicates the length of the listen queue for servers accepting client connections. |
ipc.server.tcpnodelay |
false |
Turn on/off Nagle's algorithm for the TCP socket connection on the server. Setting to true disables the algorithm and may decrease latency with a cost of more/smaller packets. |
ipc.client.tcpnodelay |
false |
Turn on/off Nagle's algorithm for the TCP socket connection on the client. Setting to true disables the algorithm and may decrease latency with a cost of more/smaller packets. |
webinterface.private.actions |
false |
If set to true, the web interfaces of JT and NN may contain actions, such as kill job, delete file, etc., that should not be exposed to public. Enable this option if the interfaces are only reachable by those who have the right authorization. |
hadoop.rpc.socket.factory.class.default |
org.apache.hadoop.net.StandardSocketFactory |
Default SocketFactory to use. This parameter is expected to be formatted as "package.FactoryClassName". |
hadoop.rpc.socket.factory.class.ClientProtocol |
|
SocketFactory to use to connect to a DFS. If null or empty, use hadoop.rpc.socket.class.default. This socket factory is also used by DFSClient to create sockets to DataNodes. |
hadoop.socks.server |
|
Address (host:port) of the SOCKS server to be used by the SocksSocketFactory. |
topology.node.switch.mapping.impl |
org.apache.hadoop.net.ScriptBasedMapping |
The default implementation of the DNSToSwitchMapping. It invokes a script specified in topology.script.file.name to resolve node names. If the value for topology.script.file.name is not set, the default value of DEFAULT_RACK is returned for all node names. |
topology.script.file.name |
|
The script name that should be invoked to resolve DNS names to NetworkTopology names. Example: the script would take host.foo.bar as an argument, and return /rack1 as the output. |
topology.script.number.args |
100 |
The max number of args that the script configured with topology.script.file.name should be run with. Each arg is an IP address. |
hadoop.security.uid.cache.secs |
14400 |
NativeIO maintains a cache from UID to UserName. This is the timeout for an entry in that cache. |
相关推荐
本篇文章将深入探讨Hadoop的默认配置文件,包括`core-default.xml`、`hdfs-default.xml`、`mapred-default.xml`和`yarn-default.xml`,以及这些文件中的关键配置选项。 首先,`core-default.xml`是Hadoop的核心配置...
Hadoop 2.9.0版本是该框架的一个稳定版本,它提供了一个配置文件“core-default.xml”,在这个文件中定义了一系列的核心属性及其默认值。核心属性集是Hadoop分布式环境设置的基础,对于Hadoop集群的配置和使用至关...
,在mac 系统下编译的,用法:解压后把hadoop-lzo-0.4.20.jar 放到你的hadoop 安装路径下的lib 下,把里面lib/Mac_OS_X-x86_64-64 下的所有文件 拷到 hadoop 安装路径下的lib/native ,再把core-site.xml 增加 ...
在Hadoop的配置目录($HADOOP_HOME/etc/hadoop)下,有两个主要的配置文件:core-site.xml和hdfs-site.xml。核心配置core-site.xml主要设置临时目录和HDFS的访问方式,例如: ```xml <name>fs.defaultFS ...
在搭建Hadoop高可用(High Availability, HA)集群时,`core-site.xml`是其中一个至关重要的配置文件。它主要用于定义Hadoop集群的基本属性,如默认的文件系统路径、临时目录以及与ZooKeeper集成的相关设置等。本文...
,在mac 系统下编译的,用法:解压后把hadoop-lzo-0.4.15.jar 放到你的hadoop 安装路径下的lib 下,把里面lib/Mac_OS_X-x86_64-64 下的所有文件 拷到 hadoop 安装路径下的lib/native ,再把core-site.xml 增加 ...
Hadoop的配置主要通过修改conf目录下的两个核心文件:hadoop-env.cmd和core-site.xml。在hadoop-env.cmd中,设置HADOOP_OPTS以包含Java内存参数,例如"-Xmx1024m",根据你的系统资源进行适当调整。在core-site.xml中...
Hadoop默认配置文件core-default.xml
1. 修改`etc/hadoop/core-site.xml`,配置HDFS的基本参数: ```xml <name>fs.defaultFS <value>hdfs://localhost:9000 ``` 2. 修改`etc/hadoop/hdfs-site.xml`,配置HDFS的副本数量和其他参数: ```xml...
Hadoop的core默认配置文件
export CLASSPATH="$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:${HADOOP_HOME}/lib/commons-logging-1.0.4.jar:${HADOOP_HOME}/lib/guava-r09-jarjar.jar:${HADOOP_HOME}/hadoop-core-0.20.2-cdh3u3.jar:/usr/...
4. `hdfs-default.xml`、`mapred-default.xml`、`yarn-default.xml`、`core-default.xml`:这些都是 Hadoop 的默认配置文件,定义了 HDFS(Hadoop 分布式文件系统)、MapReduce(Hadoop 的并行计算模型)和 YARN 的...
此外,还需要配置Hadoop的核心配置文件(如`core-site.xml`、`hdfs-site.xml`、`yarn-site.xml`和`mapred-site.xml`),以定义数据存储、集群通信和其他关键参数。 对于Windows用户,可能还需要配置Hadoop与本地...
3. **配置Hadoop**:在Hadoop的conf目录下,编辑`core-site.xml`,设置HDFS的默认FS(如`fs.defaultFS`为`hdfs://localhost:9000`),以及临时目录(如`hadoop.tmp.dir`为`C:\Hadoop\tmp`)。然后编辑`hdfs-site.xml...
3. **core-default.xml**:此文件是Hadoop的核心配置,它涉及网络通信、日志管理、I/O设置等通用配置。比如,`fs.defaultFS`指定了HDFS的默认名称节点地址,`io.file.buffer.size`决定了读写文件时缓冲区的大小。`fs...
这些配置包括了Java环境的安装、SSH免密码登录的配置、Hadoop和HBase的核心文件配置以及防火墙规则的设置等关键环节。这些步骤确保了Hadoop和HBase可以在单机或集群环境下稳定运行,为后续的大数据分析提供了坚实的...
1. **修改配置文件**: 打开"Hadoop-2.7.5-master"目录下的`conf`文件夹,主要需要编辑两个核心配置文件:`core-site.xml`和`hdfs-site.xml`。 2. **core-site.xml**: 这个文件主要设置Hadoop的基本属性,例如数据...
core-site.xml是Hadoop的核心配置文件,用于存储Hadoop集群的基本配置信息。该文件通常位于Hadoop安装目录下的etc/hadoop目录下。core-site.xml文件的主要配置项包括: * fs.default.name:指定了Hadoop集群的文件...
`conf`目录则存放配置文件,如`core-site.xml`, `hdfs-site.xml`, `mapred-site.xml`和`yarn-site.xml`。 配置Hadoop集群时,需要在这些配置文件中指定诸如NameNode、DataNode、ResourceManager、NodeManager等节点...