Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2503

REST Insert / Select

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.16.0
    • None
    • None

    Description

      On inserts I submit the row key as urlencoded and its stored that way with the urlencodeing intact.

      But when I select with rest I send the row key as urlencoded as I stored it and get nothing back. I thank the problem is the rest interfase is urldecodeing the request before looking up the data in the table. I can select with the urlencoded row key with the shell and get results.

      This makes data not selectable if it has any urlencodeing chrs.

      So 1 of two options I see
      Make the insert store the row key after urldecode or make the select look up the row key the way it is submitted with out urldecodeing the key.

      Attachments

        1. 2503.patch
          2 kB
          Bryan Duxbury

        Activity

          People

            bryanduxbury Bryan Duxbury
            viper799 Billy Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: