From 6192bab9eafa55d32b13264214a61db2e455557b Mon Sep 17 00:00:00 2001 From: weic Date: Mon, 17 Jun 2024 15:21:58 +0800 Subject: [PATCH] 1 --- docs/study/db/NoSQL/Etcd.md | 1 + docs/study/db/NoSQL/Hadoop.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/study/db/NoSQL/Etcd.md b/docs/study/db/NoSQL/Etcd.md index 341dded90..37ebc68bc 100644 --- a/docs/study/db/NoSQL/Etcd.md +++ b/docs/study/db/NoSQL/Etcd.md @@ -38,6 +38,7 @@ etcdctl is a command line client for etcd. ./etcdctl get --prefix /apisix/upstreams -w fields # 只返回key ./etcdctl get --prefix /apisix/routes -w simple --keys-only +./etcdctl get --insecure-skip-tls-verify=true --insecure-transport=false --prefix /apisix/routes -w simple --keys-only # 返回指定key ./etcdctl get /apisix/routes/488415811682173648 # 更新指定key的value diff --git a/docs/study/db/NoSQL/Hadoop.md b/docs/study/db/NoSQL/Hadoop.md index e69de29bb..64d1f8608 100644 --- a/docs/study/db/NoSQL/Hadoop.md +++ b/docs/study/db/NoSQL/Hadoop.md @@ -0,0 +1,6 @@ +### 退出安全模式 + +```shell +cd /opt/ccsp/hadoop-3.3.6/bin +./hadoop dfsadmin -safemode leave +``` \ No newline at end of file