drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4951) Running single HBase Unit Test results in error: java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
Date Sun, 30 Oct 2016 07:28:58 GMT

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

ASF GitHub Bot commented on DRILL-4951:
---------------------------------------

GitHub user chunhui-shi opened a pull request:

    https://github.com/apache/drill/pull/636

    DRILL-4951: Do Guava.patch earlier so we can run single Hbase's unit …

    …test through command line or IDE

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chunhui-shi/drill DRILL-4951

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/636.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #636
    
----
commit 47905bd73b278bb2136b906dc525280663702ab7
Author: chunhui-shi <cshi@maprtech.com>
Date:   2016-10-18T20:28:00Z

    DRILL-4951: Do Guava.patch earlier so we can run single Hbase's unit test through command
line or IDE

----


> Running single HBase Unit Test results in error: java.lang.IllegalAccessError: tried
to access method com.google.common.base.Stopwatch.<init>()V
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-4951
>                 URL: https://issues.apache.org/jira/browse/DRILL-4951
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Chunhui Shi
>            Assignee: Chunhui Shi
>
> Under contrib/storage-hbase, running this command:
> mvn test -Dtest=org.apache.drill.hbase.TestHBaseQueries#testWithEmptyTable
> Got an error complaining Stopwatch does not have an expected constructor.
> Running org.apache.drill.hbase.TestHBaseQueries
> 10:13:58.402 [main] WARN  o.a.hadoop.util.NativeCodeLoader - Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
> 10:14:01.458 [main] WARN  o.a.h.metrics2.impl.MetricsConfig - Cannot locate configuration:
tried hadoop-metrics2-hbase.properties,hadoop-metrics2.properties
> 10:14:02.020 [main] WARN  o.a.hadoop.hbase.http.HttpRequestLog - Jetty request log can
only be enabled using Log4j
> 10:14:02.584 [localhost:37323.activeMasterManager] WARN  org.apache.hadoop.hbase.ZNodeClearer
- Environment variable HBASE_ZNODE_FILE not set; znodes will not be cleared on crash by start
scripts (Longer MTTR!)
> 10:14:03.130 [JvmPauseMonitor] ERROR o.a.z.server.NIOServerCnxnFactory - Thread Thread[JvmPauseMonitor,5,main]
died
> java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
from class org.apache.hadoop.hbase.util.JvmPauseMonitor$Monitor
> 	at org.apache.hadoop.hbase.util.JvmPauseMonitor$Monitor.run(JvmPauseMonitor.java:154)
~[hbase-server-1.1.3.jar:1.1.3]
> 	at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_101]
> 10:14:03.157 [JvmPauseMonitor] ERROR o.a.z.server.NIOServerCnxnFactory - Thread Thread[JvmPauseMonitor,5,main]
died
> java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
from class org.apache.hadoop.hbase.util.JvmPauseMonitor$Monitor
> 	at org.apache.hadoop.hbase.util.JvmPauseMonitor$Monitor.run(JvmPauseMonitor.java:154)
~[hbase-server-1.1.3.jar:1.1.3]
> 	at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_101]
> 10:14:03.670 [localhost:37323.activeMasterManager] WARN  o.a.h.h.p.s.wal.WALProcedureStore
- Log directory not found: File file:/home/shi/dev/chunhui-shi/drill/contrib/storage-hbase/target/test-data/cea28708-595f-4585-ba37-9ba2a85ff0b1/MasterProcWALs
does not exist
> 10:14:03.907 [RS:0;localhost:43220] WARN  o.a.h.h.regionserver.HRegionServer - reportForDuty
failed; sleeping and then retrying.
> 10:14:04.931 [RS:0;localhost:43220] WARN  org.apache.hadoop.hbase.ZNodeClearer - Environment
variable HBASE_ZNODE_FILE not set; znodes will not be cleared on crash by start scripts (Longer
MTTR!)
> 10:14:04.981 [localhost:37323.activeMasterManager] ERROR o.apache.hadoop.hbase.master.HMaster
- Failed to become active master
> java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:596)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.waitMetaRegionLocation(MetaTableLocator.java:217)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaServerConnection(MetaTableLocator.java:363)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.verifyMetaRegionLocation(MetaTableLocator.java:283)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.assignMeta(HMaster.java:907) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:743)
~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:183) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1652) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_101]
> 10:14:04.982 [localhost:37323.activeMasterManager] ERROR o.apache.hadoop.hbase.master.HMaster
- Master server abort: loaded coprocessors are: []
> 10:14:04.985 [localhost:37323.activeMasterManager] ERROR o.apache.hadoop.hbase.master.HMaster
- Unhandled exception. Starting shutdown.
> java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:596)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.waitMetaRegionLocation(MetaTableLocator.java:217)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaServerConnection(MetaTableLocator.java:363)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.verifyMetaRegionLocation(MetaTableLocator.java:283)
~[hbase-client-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.assignMeta(HMaster.java:907) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:743)
~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:183) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1652) ~[hbase-server-1.1.3.jar:1.1.3]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_101]
> This was due to Stopwatch was used at somewhere else earlier than GuavaPatcher.patch()
is called at BaseHBaseTest, thus the patcher could not reload the modified class under the
same name and failed the patch.



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

Mime
View raw message