摘要:
查看全部索引 GET /_cat/indices 索引文档 PUT /{index}/{type}/{id} { "field": "value", ... } 例如: PUT /website/blog/123 { "title": "My first blog entry", "text": " 阅读全文
摘要:
1.同步文件脚本 xsync #!/bin/bash #1. 判断参数个数 if [ $# -lt 1 ] then echo Not Enough Arguement! exit; fi #2. 遍历集群所有机器 for host in hadoop01 hadoop02 hadoop03 do 阅读全文