hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12645) HBaseTestingUtility is using ${$HOME} for rootDir
Date Fri, 05 Dec 2014 22:20:12 GMT

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

Sean Busbey commented on HBASE-12645:
-------------------------------------

I believe if you tell HBTU that you want a minicluster it runs things out of the running user's
home dir on the minicluster. I don't recall where it defaults to if you stick to non-minicluster
tests. It should be under mvn's project.build.directory, right? Maybe crossed wires between
the two?

> HBaseTestingUtility is using ${$HOME} for rootDir
> -------------------------------------------------
>
>                 Key: HBASE-12645
>                 URL: https://issues.apache.org/jira/browse/HBASE-12645
>             Project: HBase
>          Issue Type: Test
>          Components: test
>    Affects Versions: 1.0.0
>            Reporter: Nick Dimiduk
>             Fix For: 1.0.0, 2.0.0
>
>
> I noticed this while running tests on branch-1
> {noformat}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.009 sec <<<
FAILURE! - in org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits
> org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits  Time elapsed: 0.009
sec  <<< ERROR!
> java.io.FileNotFoundException: Destination exists and is not a directory: /homes/hortonnd/hbase
>         at org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:423)
>         at org.apache.hadoop.fs.ChecksumFileSystem.mkdirs(ChecksumFileSystem.java:588)
>         at org.apache.hadoop.hbase.HBaseTestingUtility.createRootDir(HBaseTestingUtility.java:1053)
>         at org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits.setupBeforeClass(TestReadOldRootAndMetaEdits.java:70)
> {noformat}
> Either the testing utility has a regression or there's a config regression in this test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message