-
Notifications
You must be signed in to change notification settings - Fork 87
/
.conf
executable file
·66 lines (53 loc) · 3.04 KB
/
.conf
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
###################################################
# Global configuration
###################################################
# The role of the cluster - either hadoop or chukwa
_CLUSTER_ROLE="@TODO_CLUSTER_ROLE@"
# The folder to install HiTune
_INSTALL_DIR="@TODO_INSTALL_DIR@"
###################################################
# HADOOP_CLUSTER
###################################################
#----------------------------------------
# chukwa's agent related configuration
#----------------------------------------
#The list of nodes in the Hadoop cluster - multiple nodes can be separated with comma, and can also be specified as hostname1-100 or 192.168.0.1-100
_HADOOP_CLUSTER_AGENTS_LIST="@TODO_HADOOP_CLUSTER_AGENTS_LIST@"
#The list of collector nodes in the Chukwa cluster - multiple nodes can be separated with comma, and can also be specified as hostname1-100 pattern or 192.168.0.1-100
_HADOOP_CLUSTER_COLLECTORS_LIST="@TODO_HADOOP_CLUSTER_COLLECTORS_LIST@"
_HADOOP_CLUSTER_JAVA_HOME="@TODO_HADOOP_CLUSTER_JAVA_HOME@"
_HADOOP_CLUSTER_JAVA_PLATFORM="@TODO_HADOOP_CLUSTER_JAVA_PLATFORM@"
_HADOOP_CLUSTER_CHUKWA_LOG_DIR="@TODO_HADOOP_CLUSTER_CHUKWA_LOG_DIR@"
#----------------------------------------
# hadoop related configuration
#----------------------------------------
_HADOOP_CLUSTER_HADOOP_HOME="@TODO_HADOOP_CLUSTER_HADOOP_HOME@"
_HADOOP_CLUSTER_HADOOP_CONF_DIR="@TODO_HADOOP_CLUSTER_HADOOP_CONF_DIR@"
#Hadoop core jar file
_HADOOP_CLUSTER_HADOOP_JAR="@TODO_HADOOP_CLUSTER_HADOOP_JAR@"
_HADOOP_CLUSTER_HADOOP_JOB_HISTORY_LOG="@TODO_HADOOP_CLUSTER_HADOOP_JOB_HISTORY_LOG@" # it is usually under /history/done
###################################################
# CHUKWA_CLUSTER
###################################################
#----------------------------------------
# collectors' related configuration
#----------------------------------------
#The list of collector nodes in the Chukwa cluster - multiple nodes can be separated with comma, and can also be specified as hostname1-100 pattern or 192.168.0.1-100
_CHUKWA_CLUSTER_COLLECTORS_LIST="@TODO_CHUKWA_CLUSTER_COLLECTORS_LIST@" #chukwa-hitune-dist/conf/collectors
# The HDFS URI of the Chukwa cluster, writer.hdfs.filesystem in chukwa-hitune-dist/conf/chukwa-collector-conf.xml
_CHUKWA_CLUSTER_WRITE_HDFS_FILESYSTEM="@TODO_CHUKWA_CLUSTER_WRITE_HDFS_FILESYSTEM@"
#----------------------------------------
# chukwa related configuration
#----------------------------------------
#it is strongly recommended to put the Chukwa log folder under the hadoop_log_dir
_CHUKWA_CLUSTER_CHUKWA_LOG_DIR="@TODO_CHUKWA_CLUSTER_CHUKWA_LOG_DIR@"
_CHUKWA_CLUSTER_JAVA_HOME="@TODO_CHUKWA_CLUSTER_JAVA_HOME@"
_CHUKWA_CLUSTER_JAVA_PLATFORM="@TODO_CHUKWA_CLUSTER_JAVA_PLATFORM@"
#----------------------------------------
# hadoop related configuration
#----------------------------------------
_CHUKWA_CLUSTER_HADOOP_HOME="@TODO_CHUKWA_CLUSTER_HADOOP_HOME@"
_CHUKWA_CLUSTER_HADOOP_CONF_DIR="@TODO_CHUKWA_CLUSTER_HADOOP_CONF_DIR@"
#Hadoop core jar file
_CHUKWA_CLUSTER_HADOOP_JAR="@TODO_CHUKWA_CLUSTER_HADOOP_JAR@"