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

Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Reviewed

    Description

      We make it illegal passing null row to Put/Delete from hbase-8101. While Thrift demo client still verify empty row situation as following:

              // try empty strings
              mutations = new ArrayList<Mutation>();
              mutations.add(new Mutation(false, ByteBuffer.wrap(bytes("entry:")), 
                  ByteBuffer.wrap(bytes("")), writeToWal));
              client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("")), 
                  mutations, dummyAttributes);
      

      Attachments

        1. hbase-9222.patch
          0.9 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: