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

Jean-Marc Spaggiari commented on HBASE-8261:
--------------------------------------------

Just ran the test from the command line too and it'S working for me.

{code}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 134.096 sec
{code}


{code}
jmspaggi@buldo:~/workspace/hbase-0.94$ head -173 
src/test/java/org/apache/hadoop/hbase/coprocessor/TestClassLoading.java | tail 
-7
    String currentDir = new File(".").getAbsolutePath();
    String classpath =
        currentDir + File.separator + "target"+ File.separator + "classes" +
        System.getProperty("path.separator") + 
System.getProperty("java.class.path");
    options.add(classpath);
    LOG.debug("Setting classpath to: "+classpath);
{code}

Can you please share the error message you are getting?

I tried with openJDK 1.7, Oracle JDK 1.6 and Oracle JDK 1.7.
                
> Backport HBASE-7718 TestClassLoading needs to consider runtime classpath in 
> buildCoprocessorJar
> -----------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8261
>                 URL: https://issues.apache.org/jira/browse/HBASE-8261
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: Jean-Marc Spaggiari
>             Fix For: 0.94.8
>
>
> See patch attached to HBASE-7718 for 0.94.

--
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

Reply via email to