hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: newbie problems initializing hbase from java
Date Fri, 15 Aug 2008 17:36:12 GMT
yoav.morag wrote:
> to summarize the problem :
> I recompiled hbase with JDK 6.0. the conflict is probably with the hadoop
> 0.17.1 (jdk 5.0) jars that are supplied with 
> hbase.
>
>   
Jars compiled w/ 1.5 should run w/o issue on a 1.6 JVM.  Its if you try 
to go the other way round that you'll have issue.

>> yoav.morag wrote:
>>     
>>> hi all -
>>> I'm a new (would be) user ,yet I already have a question... it is
>>> probably
>>> pretty silly, but I couldn't find anything in the FAQ. 
>>>
>>> Wen trying to run the unit tests for 0.2.0 I get the following error
>>> :java.io.FileNotFoundException:
>>> file:/home/yoav/workspace/hbase-0.2.0/bin/webapps/dfs 
>>>   
>>>       
>> What is your operating system?  What is your JVM?  Did you do 'ant clean 
>> jar test'?
>>     
Thinking more on this, are you doing this up in eclipse?  If so, order 
of items on the CLASSPATH is important (Will be less important after 
HBASE-785 goes in).  Here's my eclipse .classpath:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src/java"/>
    <classpathentry kind="src" path="src/test"/>
    <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="lib" path="lib/commons-cli-2.0-SNAPSHOT.jar"/>
    <classpathentry kind="lib" path="lib/commons-collections-3.2.jar"/>
    <classpathentry kind="lib" path="lib/commons-httpclient-3.0.1.jar"/>
    <classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/>
    <classpathentry kind="lib" path="lib/commons-logging-api-1.0.4.jar"/>
    <classpathentry kind="lib" path="lib/commons-math-1.1.jar"/>
    <classpathentry kind="lib" path="lib/hadoop-0.17.1-core.jar"/>
    <classpathentry kind="lib" path="lib/hadoop-0.17.1-test.jar"/>
    <classpathentry kind="lib" path="lib/jetty-5.1.4.jar"/>
    <classpathentry kind="lib" path="lib/jruby-complete-1.1.2.jar"/>
    <classpathentry kind="lib" path="lib/junit-3.8.1.jar"/>
    <classpathentry kind="lib" path="lib/libthrift-r746.jar"/>
    <classpathentry kind="lib" path="lib/log4j-1.2.13.jar"/>
    <classpathentry kind="lib" path="lib/lucene-core-2.2.0.jar"/>
    <classpathentry kind="lib" path="lib/servlet-api.jar"/>
    <classpathentry kind="lib" path="lib/xmlenc-0.52.jar"/>
    <classpathentry kind="lib" path="lib/jetty-ext/commons-el.jar"/>
    <classpathentry kind="lib" path="lib/jetty-ext/jasper-compiler.jar"/>
    <classpathentry kind="lib" path="lib/jetty-ext/jasper-runtime.jar"/>
    <classpathentry kind="lib" path="lib/jetty-ext/jsp-api.jar"/>
    <classpathentry kind="lib" path="conf"/>
    <classpathentry kind="output" path="eclipse"/>
</classpath>

St.Ack

Mime
View raw message