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
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("",
null, 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?

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