You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Tak Lon (Stephen) Wu (JIRA)" <ji...@apache.org> on 2019/03/04 22:32:00 UTC

[jira] [Commented] (HBASE-21666) Break up the TestExportSnapshot UTs; they can timeout

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

Tak Lon (Stephen) Wu commented on HBASE-21666:
----------------------------------------------

attached patch for discussion, and only limit the scope to {{TestExportSnapshot}} but not other test classes which uses {{HBaseTestingUtility#startMiniMapReduceCluster}}.

The reason I chose 512 MB obtained from a successful run of {{TestExportSnapshot}} and found ~420MB used for miniMRcluster for mainly local directory ({{local-dirs}}) for MR job submission.
{code:java}
f45c89a57f29:MiniMRCluster_377488670 wutaklon$ du -h -d1 .
 34M    ./MiniMRCluster_377488670-localDir-nm-0_0
 62M    ./MiniMRCluster_377488670-localDir-nm-0_1
 79M    ./MiniMRCluster_377488670-localDir-nm-0_2
 36M    ./MiniMRCluster_377488670-localDir-nm-0_3
 58M    ./MiniMRCluster_377488670-localDir-nm-1_0
 37M    ./MiniMRCluster_377488670-localDir-nm-1_1
 56M    ./MiniMRCluster_377488670-localDir-nm-1_2
 59M    ./MiniMRCluster_377488670-localDir-nm-1_3
 60K    ./MiniMRCluster_377488670-logDir-nm-0_0
8.0K    ./MiniMRCluster_377488670-logDir-nm-0_1
 80K    ./MiniMRCluster_377488670-logDir-nm-0_2
8.0K    ./MiniMRCluster_377488670-logDir-nm-0_3
  0B    ./MiniMRCluster_377488670-logDir-nm-1_0
 88K    ./MiniMRCluster_377488670-logDir-nm-1_1
 88K    ./MiniMRCluster_377488670-logDir-nm-1_2
 48K    ./MiniMRCluster_377488670-logDir-nm-1_3
420M    .
{code}
 

 

> Break up the TestExportSnapshot UTs; they can timeout
> -----------------------------------------------------
>
>                 Key: HBASE-21666
>                 URL: https://issues.apache.org/jira/browse/HBASE-21666
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: stack
>            Assignee: Tak Lon (Stephen) Wu
>            Priority: Major
>              Labels: beginner
>         Attachments: HBASE-21666.master.001.patch
>
>
> These timed out for [~Apache9] when he ran with the -PrunAllTests. Suggests breaking them up into smaller tests so less likely they'll timeout.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)