hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Saxena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12645) HBaseTestingUtility is using ${$HOME} for rootDir
Date Tue, 09 Dec 2014 00:06:12 GMT

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

Varun Saxena commented on HBASE-12645:

Test case failure unrelated to code change. These tests are passing in my local setup. Also
I am not sure why this code change should introduce release audit warning. Cant open the link
to check audit warning.

bq. Is there not already a UUID in the path? The test dir's name is a UUID.
[~stack], it seems there is a separate directory generated for each test case(if required)
but there will be a chance for it being overwritten if same set of parallel tests are running.
I am not sure whats the use case for running parallel test cases but dont see any reason for
running the same set of test cases parallely. I guess if nothing clashed in HOME_DIR/hbase,
nothing would here as well. In that case initial patch should be good enough.

> 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
>            Assignee: Varun Saxena
>            Priority: Critical
>             Fix For: 1.0.0, 2.0.0
>         Attachments: HBASE-12645.002.patch, HBASE-12645.patch
> 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

View raw message