Apache Drill
  1. Apache Drill
  2. DRILL-546

Query across Hive and HBase fails with Unsupported operation exception

    Details

      Description

      Trying to perform a join across Hive table and HBase table using following queries (with and without sub-query). HBase just has one row corresponding one of the users in Hive table.

      select c_custkey from hive.customer where c_custkey in (select cast(up.`row_key` as int) from hbase.`userprofile` up);

      select c.c_custkey from hive.customer c JOIN hbase.`userprofile` up ON c.c_custkey=cast(up.`row_key` as int) ;

      The second query returns no results and the first one returns the exception below.

      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "850c9f38-9e97-4153-93da-9e700a7d20a6"
      message: "Failure while running fragment. < UnsupportedOperationException:[ Attemped to access a DeadBuf. This would happen if you attempted to interact with a buffer that has been moved or not yet initialized. ]"

        Activity

        Hide
        Aman Sinha added a comment -

        This is an older bug and is not reproducible anymore...also confirmed with Neeraja. Marking this as fixed. Please re-open another bug if new issues related to this are found.

        Show
        Aman Sinha added a comment - This is an older bug and is not reproducible anymore...also confirmed with Neeraja. Marking this as fixed. Please re-open another bug if new issues related to this are found.
        Hide
        Aman Sinha added a comment -

        Marking as fixed as per previous comments and assigning to QA to add regression test if necessary.

        Show
        Aman Sinha added a comment - Marking as fixed as per previous comments and assigning to QA to add regression test if necessary.
        Hide
        Krystal added a comment -

        git.commit.id.abbrev=654c879

        Verified that joins between hive and hbase tables work.

        Show
        Krystal added a comment - git.commit.id.abbrev=654c879 Verified that joins between hive and hbase tables work.

          People

          • Assignee:
            Krystal
            Reporter:
            Neeraja
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development