hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Ce (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17776) the interface '/namespaces/namespace' , set to receive JSON/XML responses return wrong value
Date Mon, 13 Mar 2017 03:21:04 GMT
Feng Ce created HBASE-17776:
-------------------------------

             Summary: the interface '/namespaces/namespace' , set  to receive JSON/XML responses
return wrong value
                 Key: HBASE-17776
                 URL: https://issues.apache.org/jira/browse/HBASE-17776
             Project: HBase
          Issue Type: Bug
          Components: REST
    Affects Versions: 1.2.2
            Reporter: Feng Ce


the interface '/namespaces/namespace' sames rerurn wrong value.
{code}
curl -X GET \
    "http://localhost:8888/namespaces/default"
# {NAME => 'default'}
{code}

when use 'application/json'
{code}
curl -X GET \
    -H "Accept: application/json" \
    "http://localhost:8888/namespaces/default"
# {"properties":null}
{code}

when use 'text/xml'
{code}
curl -X GET \
    -H "Accept: text/xml" \
    "http://localhost:8888/namespaces/default"
# <?xml version="1.0" encoding="UTF-8" standalone="yes"?><NamespaceProperties/>
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message