That error means the Namenode isn't giving the locations for a file in
the namespace, I don't think this is the error you are searching for.

Which tests failed? Which version? Is it because of errors or because
of failed assertions? Look at the end of the TEST-* files to figure
it.

J-D

On Wed, Nov 25, 2009 at 8:37 AM, Mark Vigeant
<mark.vige...@riskmetrics.com> wrote:
> I just ran the "ant test" and a bunch of the tests failed. Upon looking at 
> the logs, this one error came up:
>
> Could not get block locations. Source file "/user/hadoop/hbase.version" - 
> Aborting...
> java.io.IOException: Could not get block locations. Source file 
> "/user/hadoop/hbase.version" - Aborting...
>        at 
> org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.processDatanodeError(DFSClient.java:2505)
>        at 
> org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$1600(DFSClient.java:2078)
>        at 
> org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2241)
>
> I found the file hbase.version somewhere else on the dfs and I moved it to 
> /user/hadoop/ and ran it again but the tests are still failing for the same 
> reason. Any thoughts?
>
> -Mark
> -----Original Message-----
> From: Ryan Rawson [mailto:ryano...@gmail.com]
> Sent: Tuesday, November 24, 2009 6:04 PM
> To: hbase-user@hadoop.apache.org
> Subject: Re: hbase-test
>
> A follow up - our jars are also not standalone, they have a number of
> dependencies which live in lib/*.  The shell scripts in bin/* can boot
> up and run hbase and other tools, and set the classpath automatically.
>  If you dont want to do that for some reason, add every jar in lib/*
> and the built jars in 'build'.
>
> -ryan
>
> On Tue, Nov 24, 2009 at 3:01 PM, Mark Vigeant
> <mark.vige...@riskmetrics.com> wrote:
>> To be more clear the error I get when I run
>> Java -jar hbase-0.20.2-test.jar
>> Is
>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>> org/apache/hadoop/conf/Configuration
>> Caused by:
>>
>> ....
>>
>> Could not find the main class: org/apache/hadoop/hbase/PerformanceEvaluation
>>
>> -----Original Message-----
>> From: Mark Vigeant [mailto:mark.vige...@riskmetrics.com]
>> Sent: Tuesday, November 24, 2009 5:59 PM
>> To: hbase-user@hadoop.apache.org
>> Subject: hbase-test
>>
>> Hey-
>>
>> Quick question: what are the classes / how do I run the hbase-test .jar in 
>> 0.20.2? I'm getting the error that there's no main class and I can't find 
>> anything written about it.
>>
>> Thanks!
>>
>> Mark Vigeant
>> RiskMetrics Group, Inc.
>> One Chase Manhattan Plaza
>> 44th Floor
>> New York, NY 10005
>> (p) 646-778-4142
>>
>>
>> This email message and any attachments are for the sole use of the intended 
>> recipients and may contain proprietary and/or confidential information which 
>> may be privileged or otherwise protected from disclosure. Any unauthorized 
>> review, use, disclosure or distribution is prohibited. If you are not an 
>> intended recipient, please contact the sender by reply email and destroy the 
>> original message and any copies of the message as well as any attachments to 
>> the original message.
>>
>> This email message and any attachments are for the sole use of the intended 
>> recipients and may contain proprietary and/or confidential information which 
>> may be privileged or otherwise protected from disclosure. Any unauthorized 
>> review, use, disclosure or distribution is prohibited. If you are not an 
>> intended recipient, please contact the sender by reply email and destroy the 
>> original message and any copies of the message as well as any attachments to 
>> the original message.
>>
>
> This email message and any attachments are for the sole use of the intended 
> recipients and may contain proprietary and/or confidential information which 
> may be privileged or otherwise protected from disclosure. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not an 
> intended recipient, please contact the sender by reply email and destroy the 
> original message and any copies of the message as well as any attachments to 
> the original message.
>

Reply via email to