Yiqun Lin created HDFS-11025:

             Summary: TestDiskspaceQuotaUpdate fails in trunk
                 Key: HDFS-11025
                 URL: https://issues.apache.org/jira/browse/HDFS-11025
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin
            Priority: Minor

The test {{TestDiskspaceQuotaUpdate}} fails sometimes after HDFS-10843, the 
link addresse: 
https://builds.apache.org/job/PreCommit-HDFS-Build/17200/testReport/. The stack 
java.net.BindException: Problem binding to [localhost:49195] 
java.net.BindException: Address already in use; For more details see:  

I found the bind exception was happened in new test method 
{{TestDiskspaceQuotaUpdate.testQuotaIssuesWhileCommitting}}. The related codes:
  public void testQuotaIssuesWhileCommitting() throws Exception {
    try {
      for (int i = REPLICATION - 1; i > 0; i--) {
    } finally {
      for (MiniDFSCluster.DataNodeProperties dnprop : dnprops) {
        cluster.restartDataNode(dnprop, true);
I think we can make a simple fix in {{cluster.restartDataNode(dnprop, true);}}. 
Since there is no other operations after restarting datanodes, I think this 
change will not influence the current logic,

This message was sent by Atlassian JIRA

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

Reply via email to