Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
move log path to common pai storage
Browse files Browse the repository at this point in the history
  • Loading branch information
mzmssg committed Mar 5, 2019
1 parent 7b5f8c8 commit cbf6b36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hadoop-data-node/deploy/hadoop-data-node.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ spec:
name: host-configuration
- name: log-dir
hostPath:
path: /var/log/data-node
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/pai-service-log/data-node
tolerations:
- key: node.kubernetes.io/memory-pressure
operator: "Exists"
Expand Down
2 changes: 1 addition & 1 deletion src/hadoop-name-node/deploy/hadoop-name-node.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ spec:
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/hadooptmp/namenode
- name: log-dir
hostPath:
path: /var/log/name-node
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/pai-service-log/name-node
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ spec:
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/hadooptmp/nodemanager
- name: log-dir
hostPath:
path: /var/log/node-manager
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/pai-service-log/node-manager
tolerations:
- key: node.kubernetes.io/memory-pressure
operator: "Exists"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ spec:
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/hadooptmp/resourcemanager
- name: log-dir
hostPath:
path: /var/log/resource-manager
path: {{ cluster_cfg["cluster"]["common"][ "data-path" ] }}/pai-service-log/resource-manager
- name: hadoop-resource-manager-exclude-nodes
configMap:
name: exclude-file

0 comments on commit cbf6b36

Please sign in to comment.