Hbase REST API /状态/集群:" text / plain"之间的区别和#34; application / json"

时间:2016-06-28 09:37:30

标签: json rest hadoop hbase

首先,我们得到有关地区的所有结果。

text/plain :
% curl http://localhost:8000/status/cluster


application/json :
% curl -H "Accept: application/json" http://localhost:8000/status/cluster

但是,第二,地区名称不匹配。

是,

"text/plain" is like this: "*content,601292a839b95e50200d8f8767859864,1244869158156*"

"application/json" is like this :"*dXJscyxodHRwfHdlYXRoZXIuYm9zdG9uLmNvbXw4MHxMWU5YL
mpzLDEyNDQ4NTE5OTA4NTk*"

我怎样才能转移" dXJscyxodHRwfHdlYXRoZXIuYm9zdG9uLmNvbXw4MHxMWU5YLmpzLDEyNDQ4NTE5OTA4NTk " TO " content,601292a839b95e50200d8f8767859864,1244869158156 "

0 个答案:

没有答案