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

Chia-Ping Tsai commented on HBASE-19204:
----------------------------------------

It seems the hang occurs on closing the {{MiniDFSCluster}}. The test is shown 
below.
{code}
  @Test
  public void testHdfsHang() throws Exception {
    MiniDFSCluster dfsCluster = null;
    for (int i = 0; i != 10; ++i) {
      try {
        dfsCluster = new MiniDFSCluster
                .Builder(new Configuration())
                .checkExitOnShutdown(true)
                .numDataNodes(2)
                .format(true)
                .racks(null)
                .build();
        FileSystem fs = dfsCluster.getFileSystem();
        fs.getConf().set("fs.defaultFS", new Path(fs.getUri()).toString());
        dfsCluster.waitClusterUp();
      } finally {
        dfsCluster.shutdown();
      }
    }
  }
{code}
The weird thing is that only openjdk-7u141 and openjdk-7u151 prompt the issue. 
The older jdk7 or jdk8 don't hang. The OS I used for testing is centos-1708 and 
ubuntu-14.04.


> branch-1.2 times out and is taking 6-7 hours to complete
> --------------------------------------------------------
>
>                 Key: HBASE-19204
>                 URL: https://issues.apache.org/jira/browse/HBASE-19204
>             Project: HBase
>          Issue Type: Umbrella
>          Components: test
>            Reporter: stack
>
> Sean has been looking at tooling and infra. This Umbrellas is about looking 
> at actual tests. For example, running locally on dedicated machine I picked a 
> random test, TestPerColumnFamilyFlush. In my test run, it wrote 16M lines. It 
> seems to be having zk issues but it is catching interrupts and ignoring them 
> ([~carp84] fixed this in later versions over in HBASE-18441).
> Let me try and do some fixup under this umbrella so we can get a 1.2.7 out 
> the door.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to