hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11625) Ozone: Fix UT failures that caused by hard coded datanode data dirs
Date Wed, 05 Apr 2017 09:35:43 GMT

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

Weiwei Yang commented on HDFS-11625:
------------------------------------

Fixed 9 UT failures that caused by hard coded datanode data dirs, locally tests passed

{code}
Running org.apache.hadoop.cblock.TestCBlockCLI
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.862 sec - in org.apache.hadoop.cblock.TestCBlockCLI
Running org.apache.hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.254 sec - in org.apache.hadoop.hdfs.server.blockmanagement.TestBlockStatsMXBean
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.016 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.97 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.254 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureReporting
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureToleration
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.034 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeFailureToleration
Running org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.021 sec - in org.apache.hadoop.hdfs.server.datanode.TestDataNodeVolumeMetrics
Running org.apache.hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.28 sec - in org.apache.hadoop.hdfs.server.diskbalancer.command.TestDiskBalancerCommand
Running org.apache.hadoop.hdfs.TestMaintenanceState
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 218.461 sec - in org.apache.hadoop.hdfs.TestMaintenanceState
Running org.apache.hadoop.hdfs.tools.TestDFSAdmin
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.4 sec - in org.apache.hadoop.hdfs.tools.TestDFSAdmin
{code}

Waiting for jenkins result.

> Ozone: Fix UT failures that caused by hard coded datanode data dirs
> -------------------------------------------------------------------
>
>                 Key: HDFS-11625
>                 URL: https://issues.apache.org/jira/browse/HDFS-11625
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11625-HDFS-7240.001.patch
>
>
> There seems to be some UT regressions after HDFS-11519, such as
> * TestDataNodeVolumeFailureToleration
> * TestDataNodeVolumeFailureReporting
> * TestDiskBalancerCommand
> * TestBlockStatsMXBean
> * TestDataNodeVolumeMetrics
> * TestDFSAdmin
> * TestDataNodeHotSwapVolumes
> * TestDataNodeVolumeFailure
> these tests set up datanode data dir by some hard coded names, such as 
> {code}
>   new File(cluster.getDataDirectory(), "data1");
> {code}
> this no longer works since HDFS-11519 changes the pattern from
> {code}
> /data/data<2*dnIndex + 1>
> /data/data<2*dnIndex + 2>
> ...
> {code}
> to 
> {code}
> /data/dn0_data0
> /data/dn0_data1
> /data/dn1_data0
> /data/dn1_data1
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message