0
使用全新安裝這應該是直接,但每次我嘗試上傳許可證,我收到一個奇怪的錯誤信息。上傳許可證文件通過API
我正在使用curl上傳許可證文件。
curl -X POST \
http://server_IP:7180/api/v13/cm/license \
-H 'authorization: Basic YWRtaW46YWRtaW4=' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data;
-F '[email protected]:\Users\admin\Desktop\license_new.txt'
響應消息:
{ "message" : "No multipart with content id license found, request content type : multipart/form-data;boundary=--------------------------876318151600001394250578" }
任何想法?
Version: Cloudera Enterprise 5.8.3 (#8 built by jenkins on 20161019-1014 git: 518f0d6d44abc87bc392646e4369a20c8192b7cf)
Java Version: 1.7.0_75
感謝@jedijs您的幫助,這似乎是我應該把'許可證=',而不是'ID =' – Deano