-
Notifications
You must be signed in to change notification settings - Fork 2
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
36 additions
and
27 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 |
---|---|---|
@@ -1,19 +1,21 @@ | ||
#服务类型tracker or storage | ||
server_type: "storage" | ||
#http_port | ||
http_port: 9000 | ||
service_type: "storage" | ||
#对外提供服务的ip和端口信息,用于storage上报自己的ip及端口信息 | ||
service_scheme: "http" | ||
service_ip: 127.0.0.1 | ||
service_port: 9001 | ||
#bind_port,服务运行的端口 | ||
bind_port: 9001 | ||
#默认语言 | ||
default_lang: zh_cn | ||
# 存储服务器的配置 | ||
storage: | ||
#http_scheme | ||
http_scheme: http | ||
#存储服务所属的group | ||
group: group1 | ||
#文件大小限制(byte) | ||
file_size_limit: 100000 | ||
file_size_limit: 10000000 | ||
#存储目录 | ||
storage_path: ./ | ||
storage_path: ./dfs | ||
#跟踪服务器,可以有多个 | ||
trackers: | ||
- http://172.20.0.2:9000 |
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 |
---|---|---|
@@ -1,19 +1,21 @@ | ||
#服务类型tracker or storage | ||
server_type: "storage" | ||
#http_port | ||
http_port: 9000 | ||
service_type: "storage" | ||
#对外提供服务的ip和端口信息,用于storage上报自己的ip及端口信息 | ||
service_scheme: "http" | ||
service_ip: 127.0.0.1 | ||
service_port: 9002 | ||
#bind_port,服务运行的端口 | ||
bind_port: 9002 | ||
#默认语言 | ||
default_lang: zh_cn | ||
# 存储服务器的配置 | ||
storage: | ||
#http_scheme | ||
http_scheme: http | ||
#存储服务所属的group | ||
group: group1 | ||
#文件大小限制(byte) | ||
file_size_limit: 100000 | ||
file_size_limit: 10000000 | ||
#存储目录 | ||
storage_path: ./dfs1 | ||
storage_path: ./dfs | ||
#跟踪服务器,可以有多个 | ||
trackers: | ||
- http://172.20.0.2:9000 |
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#服务类型tracker or storage | ||
server_type: "tracker" | ||
#http_port | ||
http_port: 9000 | ||
service_type: "tracker" | ||
#bind_port,服务运行的端口 | ||
bind_port: 9000 | ||
#默认语言 | ||
default_lang: zh_cn | ||
#跟踪服务器的配置 | ||
tracker: | ||
node_id: 1 | ||
node_id: 1 | ||
enable_temp_file: true |