summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangkuan <[email protected]>2024-07-11 18:05:35 +0800
committerwangkuan <[email protected]>2024-07-11 18:05:35 +0800
commit2fabfdb38c8850ec76ef457a252a7609f6bac454 (patch)
tree76350c44f715eea61e463cbab21de193e279c4ce
parentf9f61c471a945b7d0d373840123142101da7c513 (diff)
[improve][bootstrap]hdfs知识库样例配置
-rw-r--r--config/grootstream.yaml12
1 files changed, 3 insertions, 9 deletions
diff --git a/config/grootstream.yaml b/config/grootstream.yaml
index d8d6306..e01fda3 100644
--- a/config/grootstream.yaml
+++ b/config/grootstream.yaml
@@ -1,10 +1,10 @@
grootstream:
knowledge_base:
- name: tsg_ip_asn
- fs_type: http
- fs_path: http://192.168.44.12:9999/v1/knowledge_base
+ fs_type: http #hdfs,local
+ fs_path: http://192.168.44.12:9999/v1/knowledge_base #单机模式hdfs://192.168.44.12:9000/kb,集群模式hdfs://ns1/kb
files:
- - f9f6bc91-2142-4673-8249-e097c00fe1ea
+ - f9f6bc91-2142-4673-8249-e097c00fe1ea #文件系统中文件名asn_builtin.mmdb
- name: tsg_ip_location
fs_type: http
fs_path: http://192.168.44.12:9999/v1/knowledge_base
@@ -16,9 +16,3 @@ grootstream:
hos.bucket.name.traffic_file: traffic_file_bucket
hos.bucket.name.troubleshooting_file: troubleshooting_file_bucket
scheduler.knowledge_base.update.interval.minutes: 5
- hadoop.dfs.namenodes: 192.168.44.12
- hadoop.dfs.replication: 1
- #hadoop.dfs.port: 9000
- #hadoop.dfs.user: root
- #hadoop.dfs.nameservices: ns1
- #hadoop.dfs.ha.namenodes.ns1: nn1,nn2 \ No newline at end of file