I have configured HBase rest service. Below API's are working properly


But get namespaces and creating new table is not working.

1. List namespace

curl -vi -X GET \
  -H "Accept: application/json" \

Exception: HTTP Error 405 - Method not allowed

2. Create or update table schema

curl -vi -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"TableSchema": {"name": "users","ColumnSchema": { "name": "cf" }}' \

Exception: Bad request - The remote server returned an error: (500)
Internal Server Error

I am following the below documentation,


Why it is not working? Any other example available for HBase rest api?

Reply via email to