Skip to content

Commit

Permalink
Refactor: Doc :delete warnLogDir config
Browse files Browse the repository at this point in the history
Signed-off-by: awzhgw <guowl18702995996@gmail.com>
  • Loading branch information
awzhgw committed Aug 21, 2019
1 parent 97da53f commit 6f05a78
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 12 deletions.
5 changes: 1 addition & 4 deletions docs/source/quick-start-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Sample *master.json* is shown as follows,
"logLevel":"info",
"walDir":"/export/Data/master/raft",
"storeDir":"/export/Data/master/rocksdbstore",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"consulAddr": "http://consul.prometheus-cfs.local",
"exporterPort": 9510,
"clusterName":"cfs"
Expand Down Expand Up @@ -70,7 +69,6 @@ Sample *meta.json is* shown as follows,
"raftHeartbeatPort": "9093",
"raftReplicaPort": "9094",
"totalMem": "17179869184",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"consulAddr": "http://consul.prometheus-cfs.local",
"exporterPort": 9511,
"masterAddrs": [
Expand Down Expand Up @@ -131,10 +129,10 @@ Start Datanode
"port": "6000",
"prof": "6001",
"logDir": "/export/Logs/datanode",
"raftDir": "/export/Data/datanode/raft",
"logLevel": "info",
"raftHeartbeat": "9095",
"raftReplica": "9096",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"consulAddr": "http://consul.prometheus-cfs.local",
"exporterPort": 9512,
"masterAddr": [
Expand Down Expand Up @@ -182,7 +180,6 @@ Mount Client
"owner": "cfs",
"masterAddr": "192.168.31.173:80,192.168.31.141:80,192.168.30.200:80",
"logDir": "/export/Logs/client",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"profPort": "10094",
"logLevel": "info"
}
Expand Down
2 changes: 0 additions & 2 deletions docs/source/user-guide/client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fuse.json
"volName": "test",
"owner": "cfs",
"masterAddr": "192.168.31.173:80,192.168.31.141:80,192.168.30.200:80",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"logDir": "/export/Logs/client",
"logLevel": "info",
"profPort": "10094"
Expand All @@ -46,7 +45,6 @@ fuse.json
"icacheTimeout", "string", "Inode cache valid duration in client", "No"
"enSyncWrite", "string", "Enable DirectIO sync write, i.e. make sure data is fsynced in data node", "No"
"autoInvalData", "string", "Use AutoInvalData FUSE mount option", "No"
"warnLogDir","string","Warn message directory","No"

Mount
-----
Expand Down
2 changes: 0 additions & 2 deletions docs/source/user-guide/datanode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Configurations
"disks", "string slice", "
| Format: *PATH:RETAIN*.
| PATH: Disk mount point. RETAIN: Retain space. (Ranges: 20G-50G.)", "Yes"
"warnLogDir","string","Warn message directory","No"

**Example:**
Expand All @@ -46,7 +45,6 @@ Configurations
"logDir": "/export/Logs/datanode",
"logLevel": "info",
"raftHeartbeat": "9095",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"raftReplica": "9096",
"raftDir": "/export/Data/datanode/raft",
"consulAddr": "http://consul.prometheus-cfs.local",
Expand Down
2 changes: 0 additions & 2 deletions docs/source/user-guide/master.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ ChubaoFS use **JSON** as configuration file format.
"clusterName", "string", "The cluster identifier", "Yes"
"exporterPort", "int", "The prometheus exporter port", "No"
"consulAddr", "string", "The consul register addr for prometheus exporter", "No"
"warnLogDir","string","Warn message directory","No"


**Example:**
Expand All @@ -55,7 +54,6 @@ ChubaoFS use **JSON** as configuration file format.
"logLevel":"info",
"walDir":"/export/Data/master/raft",
"storeDir":"/export/Data/master/rocksdbstore",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"exporterPort": 9510,
"consulAddr": "http://consul.prometheus-cfs.local",
"clusterName":"test"
Expand Down
2 changes: 0 additions & 2 deletions docs/source/user-guide/metanode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ At lease 3 meta nodes are required in respect to high availability.
"consulAddr", "string", "Addresses of monitor system", "No"
"exporterPort", "string", "Port for monitor system", "No"
"masterAddrs", "string", "Addresses of master server", "Yes"
"warnLogDir","string","Warn message directory","No"
"totalMem","string","Max memory metadata used","No"


Expand All @@ -38,7 +37,6 @@ Example:
"metadataDir": "/export/Data/metanode",
"logDir": "/export/Logs/metanode",
"raftDir": "/export/Data/metanode/raft",
"warnLogDir":"/export/home/tomcat/UMP-Monitor/logs/",
"raftHeartbeatPort": "9093",
"raftReplicaPort": "9094",
"consulAddr": "http://consul.prometheus-cfs.local",
Expand Down

0 comments on commit 6f05a78

Please sign in to comment.