Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Jenkins
-
Reviewed
Description
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.