hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Misty Stanley-Jones (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14147) REST Support for Namespaces
Date Tue, 22 Mar 2016 00:17:25 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205420#comment-15205420
] 

Misty Stanley-Jones commented on HBASE-14147:
---------------------------------------------

Hey [~mwarhaftig] and [~apurtell], I cannot get the POST endpoint to work and create a namespace.
I'm using this syntax:
{code}
curl -vi -X POST -H "Accept: text/xml" -H "Content-Type: text/xml"  "http://my_server:20550/namespaces/new_ns2/"
{code}
I have tried with and without the trailing slash. The response I get is:

{code}
< HTTP/1.1 400 Bad Request
HTTP/1.1 400 Bad Request
< Content-Type: text/html; charset=iso-8859-1
Content-Type: text/html; charset=iso-8859-1
< Cache-Control: must-revalidate,no-cache,no-store
Cache-Control: must-revalidate,no-cache,no-store
< Content-Length: 1387
Content-Length: 1387
{code}

I'm going to try this on Vanilla HBase tomorrow, as this is on CDH that I'm seeing the error.
I'll let you know, but in the meantime, if you could spot what I'm doing wrong that would
be helpful. I don't seem to be getting any helpful logs anywhere either. [~stack] was helping
me out and we didn't get anywhere.

> REST Support for Namespaces
> ---------------------------
>
>                 Key: HBASE-14147
>                 URL: https://issues.apache.org/jira/browse/HBASE-14147
>             Project: HBase
>          Issue Type: Sub-task
>          Components: REST
>    Affects Versions: 1.1.1
>            Reporter: Rick Kellogg
>            Assignee: Matt Warhaftig
>            Priority: Minor
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 0.98.15
>
>         Attachments: SuccessfulLocalBuild.txt, hbase-14147-v1.patch, hbase-14147-v1.patch,
hbase-14147-v1.patch
>
>
> Expand REST services to include addition features:
> * Create namespace
> * Alter namespace
> * Describe namespace
> * Drop namespace
> * List tables in a specific namespace
> * List all namespaces.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message