-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
answer="n" | ||
PATHFILE=./data/TOPDIR | ||
if [ -e ${PATHFILE} ];then | ||
TOPDIR=`cat ./data/TOPDIR` | ||
echo "plz confirm if TOPDIR of arrow is ${TOPDIR}, enter y" | ||
read answer | ||
fi | ||
|
||
if [[ ${answer} != "y" ]];then | ||
echo "plz specify homedir of arrow" | ||
read TOPDIR | ||
echo ${TOPDIR} > ${PATHFILE} | ||
fi | ||
|
||
echo "TOPDIR of arrow is ${TOPDIR}" | ||
|
||
|
||
export PYTHONPATH=${TOPDIR}/../../:${TOPDIR}:$PYTHONPATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[control] | ||
interface: en0 | ||
port : 8435 | ||
|
||
# when auto_pick_port enabled, arrow will automatically | ||
# pick up a new port for agent if port has been used already which may has | ||
# side effects as ip:port is the smallest container for a task execution. | ||
# Arrow MIGHT consider an old ip:port as a brand-new ip:port+1 which | ||
# has NOT been granted any rights for a user. | ||
auto_pick_port : 0 | ||
master_ip : x.x.x.x | ||
master_port : 51100 | ||
httpserver_port : 8449 | ||
heartbeat_interval : 20 | ||
queue_exec_thdnum : 2 | ||
queue_delay_exe_thdnum : 3 | ||
machine_type : 0 | ||
collect_interval : 10 | ||
|
||
[perf] | ||
[.monitor] | ||
[..machine] | ||
netin : 1 | ||
netout : 1 | ||
[..proc] | ||
rss : 1 # 1 for monitor, 0 for close | ||
vms : 1 # 1 | ||
cpu : 1 | ||
[log] | ||
path : arrow_agent.log | ||
split_size : 1024000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
[control] | ||
check_heartbeat_interval : 30 | ||
keep_lost_agent : 1 | ||
port : 8410 | ||
queue_exec_thdnum : 10 | ||
queue_delay_exe_thdnum : 10 | ||
perf_service_interval : 20 | ||
|
||
[db] | ||
type: mysql | ||
[.mysql] | ||
db_name: arrow_on_dev | ||
mysql_addr: qa-arrow-mysqld.agilecloud.com | ||
mysql_port: 8424 | ||
mysql_user: arrow_on_dev | ||
mysql_pwd: sfjsodfjsdkfjk1$@# | ||
conn_poolsize: 5 | ||
|
||
[apiserver] | ||
LOG_FILE : log/httpaccess-master.log | ||
LOG_MAXSIZE: 1024000000 | ||
LOG_ROTATION_COUNTS: 30 | ||
LOG_ENCODE: utf-8 | ||
LOG_LEVEL: log.INFO | ||
|
||
[.flask] | ||
DEBUG : False | ||
TESTING: False | ||
SECRET_KEY: xfsadfsdfd@#4235 | ||
SERVER_BIND: 0.0.0.0:8402 | ||
master_addr: test.agilecloud.com:8402 | ||
MAX_CONTENT_LENGTH: 4194304 #4m | ||
[..ext] | ||
[...cliservice] | ||
prefix: /cliservice/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.mastercliview.QUERYBP | ||
[...testpack] | ||
prefix: /testpack/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.packview.QUERYBP | ||
[...perfevacase] | ||
prefix: /perfevacase/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.perfeva.pemcaseview.QUERYBP | ||
[...perfevatask] | ||
prefix: /perfevatask/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.perfeva.pemtaskview.QUERYBP | ||
[...perfevaresult] | ||
prefix: /perfevaresult/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.perfeva.pemresultview.QUERYBP | ||
[...crontab] | ||
prefix: /crontab/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.crontabview.QUERYBP | ||
[...appmeta] | ||
prefix: /appmeta/v1 | ||
blueprint: arrow.master.services.apicenter.blueprints.appmeta.appmeta_master_view.QUERYBP | ||
|
||
# 1. /cliservice/v1/res/group POST (Add new group) | ||
# 2. /cliservice/v1/res/group/<string:group_name>/auth POST (Grant auth to others) | ||
# 3. /cliservice/v1/res/group/<string:group_name>/auth DELETE (Delete granted auth) | ||
|
||
[timezone] | ||
local_zone: Asia/Shanghai | ||
|
||
[perf] | ||
[.control] | ||
proc_info_buffer: 50 | ||
dump_num_per_time: 30 | ||
pick_agent_timeout: 30 | ||
[data] | ||
local_file_storage: ./data/file_tmp/ | ||
afs_basedir: /arrow-test/ | ||
meta_localdir: ./data/master/meta/ | ||
|
||
[perfeva] | ||
perfeva_result_file: ./data/master/perfeva/ | ||
|
||
[task] | ||
[.ci] | ||
[..dashboard] | ||
url_prefix: http://arrow.com/ci/project/ | ||
[.perf] | ||
[..dashboard] | ||
url_prefix: http://arrow.com/perf/project/ | ||
|
||
[logging] | ||
level : log.INFO | ||
logsize: 1024000000 | ||
|
||
[report] | ||
[.email] | ||
sender: test.mailaddr.com | ||
port: 25 | ||
smtp: | ||
[..toaddr] | ||
@email: guannanma |