hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninad Raut <hbase.user.ni...@gmail.com>
Subject HBase Rest API ..
Date Fri, 24 Jul 2009 06:47:34 GMT
hi,
I was trying to use Hbase Rest calls.
I started hbase rest server using command ./hadoop rest start
 I wrote the following Rest client:

Map <String, String> params = new HashMap <String, String>();
  RestTemplate template = new RestTemplate();
  params.put("tabename", "table");
  // template.postForLocation("http://192.168.0.115:60010/AnalysisTable",
null, params);
  template.getForObject("http://192.168.0.115:60050/AnalysisTable",
String.class,params);

I am getting HTTP 406 error for url http://localhost:60050/api/ in browser.
the curl calls are working fine. Where am I going wrong?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message