Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4931

Attempting to execute a SELECT against an HBase store results in an IllegalAccessError accessing method "com.google.common.base.Stopwatch.<init>()"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Storage - HBase
    • Labels:
      None

      Description

      I was attempting to follow the "Querying HBase Data" tutorial (https://drill.apache.org/docs/querying-hbase/) against one of our HBase instances and ran into the following error when trying to issue the "SELECT * FROM students;" statement cited in Step #2 of the "Query HBase Tables" section:

      Error: SYSTEM ERROR: IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
      

      After doing some research it appears to be a conflict with instantiating the Stopwatch class from the Guava JAR. I was able to resolve this by swapping out the packaged version of Guava (v18) with an older version (v16).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tchydock T.C. Hydock
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: