hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9515) NPE in TestDFSZKFailoverController due to binding exception in MiniDFSCluster.initMiniDFSCluster()
Date Thu, 17 Dec 2015 14:26:46 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Wei-Chiu Chuang updated HDFS-9515:
----------------------------------
    Attachment: HDFS-9515.004.patch

Rev04: rebased my local repo and made a new patch.

> NPE in TestDFSZKFailoverController due to binding exception in MiniDFSCluster.initMiniDFSCluster()
> --------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-9515
>                 URL: https://issues.apache.org/jira/browse/HDFS-9515
>             Project: Hadoop HDFS
>          Issue Type: Bug
>         Environment: Jenkins
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Minor
>         Attachments: HDFS-9515.001.patch, HDFS-9515.002.patch, HDFS-9515.003.patch, HDFS-9515.004.patch
>
>
> If MiniDFSCluster constructor throws an exception, the cluster object is not assigned,
so shutdown() call not be called on the object.
> I saw in a recent Jenkins job where binding error threw an exception, and later on the
NPE of cluster.shutdown() hid the real cause of the test failure.
> HDFS-9333 has a patch that fixes the bind error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message