Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Re: [ hbase ] Re: hbase coprocessor unit testing


Copy link to this message
-
Re: [ hbase ] Re: hbase coprocessor unit testing
Alex Baranau 2012-04-17, 13:15
Just tried to do a clean clone, then

$ mvn -Dtest=TestHBaseHutCps test

went well [1].

How long does it take for test to fail when you run it?

Some sanity checks:
1) make sure you don't have 127.0.1.1 in your /etc/hosts (only 127.0.0.1)
2) make sure there are no hbase/hadoop processes running on your machine
(sudo jps)
3) cleanup your /tmp dir

I see "java.net.ConnectException: Connection refused", which may indicate
some of your cluster parts failed to start. Bigger log should be more
helpful.

Alex Baranau
------
Sematext :: http://blog.sematext.com/ :: Solr - Lucene - Hadoop - HBase

[1]
got this for sure:

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[...]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
On Tue, Apr 17, 2012 at 5:01 AM, Marcin Cylke <[EMAIL PROTECTED]> wrote:

> On 16/04/12 16:49, Alex Baranau wrote:
> > Here's some code that worked for me [1]. You may also find useful to look
> > at the pom's dependencies [2].
>
> Thanks, Your cluster initialization is certainly more elegant than what
> I had. However it still gives me the same error as I reported. Moreover,
> I've cloned the repository You linked to (branch CP) and tried running
> tests for that, and am also getting the same error.
>
> Do those test pass for you?
>
> Regards
> Marcin
>
>