Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17776

the interface '/namespaces/namespace' , set to receive JSON/XML responses return wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.2
    • None
    • REST
    • None

    Description

      the interface '/namespaces/namespace' sames rerurn wrong value.

      curl -X GET \
          "http://localhost:8888/namespaces/default"
      # {NAME => 'default'}
      

      when use 'application/json'

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

      when use 'text/xml'

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            fengce Feng Ce
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified