#获取临时license
curl -XPOST "http://elasticsearch:9200/_license/start_basic?acknowledge=true"
#查看license是否注册
curl -XGET -u user:password 'http://hadoop101:9200/_license'
#获取临时license
curl -XPOST "http://elasticsearch:9200/_license/start_basic?acknowledge=true"
#查看license是否注册
curl -XGET -u user:password 'http://hadoop101:9200/_license'