Using HBase 0.98, ustat estimateRowCount() returns 0

Bug #1379862 reported by Barry Fritchman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
High
Barry Fritchman

Bug Description

Update Statistics calls estimateRowCount() for HBase tables rather than executing a count(*) query. Since moving to HBase 0.98, this function always returns 0, which causes the more expensive count(*) to be used.

Changed in trafodion:
importance: Undecided → High
assignee: nobody → Barry Fritchman (barry-fritchman)
status: New → In Progress
Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix proposed to core (master)

Fix proposed to branch: master
Review: https://review.trafodion.org/569

Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix merged to core (master)

Reviewed: https://review.trafodion.org/569
Committed: https://github.com/trafodion/core/commit/375d87ed43786102db9dc4c4f4bc708d35d38c08
Submitter: Trafodion Jenkins
Branch: master

commit 375d87ed43786102db9dc4c4f4bc708d35d38c08
Author: Barry Fritchman <email address hidden>
Date: Wed Oct 15 21:40:40 2014 +0000

    Use new HFIle location for HBase 0.98

    The code to lookup the HFiles for a given table was changed
    to accommodate their new location within the HDFS file system.
    The location seems to have changed at some point between 0.94
    and 0.98, although I could find no documentation of the change,
    nor any HBase property that could be used to identify the
    path to the filesystem node under which HFiles for tables
    are stored. This change affects lookup of HFiles for the purpose
    of estimating the number of rows in a table.

    Change-Id: I17b892144c03a2e9cebd3de22838177ffb6a324d
    Closes-Bug: 1379862

Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.