hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-8872) Can't launch the integration tests without hijacking the classpath
Date Mon, 08 Jul 2013 17:59:49 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Enis Soztutar resolved HBASE-8872.
----------------------------------

    Resolution: Duplicate

Resolving as duplicate of HBASE-8200
                
> Can't launch the integration tests without hijacking the classpath
> ------------------------------------------------------------------
>
>                 Key: HBASE-8872
>                 URL: https://issues.apache.org/jira/browse/HBASE-8872
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts, test
>    Affects Versions: 0.98.0, 0.95.1
>            Reporter: Nicolas Liochon
>
> The doc says in "16.7.5.2. Running integration tests against distributed cluster": The
configuration will be picked by the bin/hbase script. 
> On trunk I have this stack
> {noformat}
> bin/hbase org.apache.hadoop.hbase.IntegrationTestsDriver IntegrationTestRecoveryEmptyTableCleanStopBox
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/IntegrationTestsDriver
> Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.IntegrationTestsDriver
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.hadoop.hbase.IntegrationTestsDriver.  Program
will exit.
> {noformat}
> I workaround this by using: export HBASE_CLASSPATH=~/hbase/hbase-it/target/test-classes/
> But
> 1) It's a workaround, not a fix.
> 2) It may (or does) not work when we're using the packaged version of hbase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message