forked from peelframework/peelconfig.devhost
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhadoop-2.conf
More file actions
40 lines (39 loc) · 1.37 KB
/
hadoop-2.conf
File metadata and controls
40 lines (39 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
################################################################################
# Host-specific Hadoop 2.x configuration
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Customize Peel configuration values appearing in
#
# https://github.com/stratosphere/peel/blob/master/peel-extensions/src/main/resources/reference.hadoop-2.x.conf
#
# here.
#
system {
hadoop-2 {
config {
# hadoop-env.sh entries
env {
# directory where process IDs are stored
# HADOOP_PID_DIR = "/tmp/hdfs-2/pid"
}
# core-site.xml entries
core {
# directory for temp storage
# hadoop.tmp.dir = "file:///tmp/hdfs-2/check"
}
# hdfs-site.xml entries
hdfs {
# filesystem data and index directories
# dfs.namenode.name.dir = "file:///tmp/hdfs-2/name"
# dfs.datanode.data.dir = "file:///tmp/hdfs-2/data"
# dfs.namenode.checkpoint.dir = "file:///tmp/hdfs-2/check"
dfs.replication = 1
dfs.permissions.enabled = true
dfs.blocksize = 67108864
# namenode
dfs.namenode.safemode.threshold-pct = "0.9f"
dfs.namenode.safemode.extension = 3000
}
}
}
}