You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Matt Keranen (JIRA)" <ji...@apache.org> on 2016/12/09 20:58:59 UTC

[jira] [Commented] (DRILL-4931) Attempting to execute a SELECT against an HBase store results in an IllegalAccessError accessing method "com.google.common.base.Stopwatch.()"

    [ https://issues.apache.org/jira/browse/DRILL-4931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15736333#comment-15736333 ] 

Matt Keranen commented on DRILL-4931:
-------------------------------------

Same issue in Drill 1.9. As [~stack] mentions above, using the Guava 16 jar seems to work: https://github.com/google/guava/wiki/Release16

Guava 17 jar results in same error.

> Attempting to execute a SELECT against an HBase store results in an IllegalAccessError accessing method "com.google.common.base.Stopwatch.<init>()"
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-4931
>                 URL: https://issues.apache.org/jira/browse/DRILL-4931
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HBase
>    Affects Versions: 1.8.0
>            Reporter: T.C. Hydock
>
> 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:
> {noformat}
> Error: SYSTEM ERROR: IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
> {noformat}
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)