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

[HBase-Client] In some cases, no value is obtained using method Result.getValue()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 2.0.0
    • None
    • Client
    • None
    • Not just version 2.0, but my code uses the current version.

    Description

      Results are not sorted during the query by Result.getValue(). As a result, existing values cannot be queried.

      In normal cases, the results by get or scan are sorted and this problem does not occur. However, in some cases, such as when the HFile file is read by MR and the cells obtained are combined as result by rowkey, there is no sorting.  Result.getvalue (byte [] family, byte [] qualifier) is null.  

       

      • The test results are shown in the figures

      Test.java

      Attachments

        1. Test.java
          2 kB
          wenhao
        2. HBASE-26692.001.patch
          1 kB
          wenhao
        3. 2.png
          30 kB
          wenhao
        4. 1.png
          31 kB
          wenhao

        Issue Links

          Activity

            People

              SWH12 wenhao
              SWH12 wenhao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: