[
https://issues.apache.org/jira/browse/HDFS-12455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16189076#comment-16189076
]
Xiaoyu Yao edited comment on HDFS-12455 at 10/3/17 12:09 AM:
-------------------------------------------------------------
Thanks [~ajayydv] for the update. Can we wrap the shutdown in the try-finally
so that if any exception happens during the test, we will always ensure the
cluster is shutdown properly?
{code}
MiniDFSCluster cluster = new MiniDFSCluster.Builder(new HdfsConfiguration())
.build();
try {
...
} finally {
cluster.shutdown();
}
{code}
We have seen random failures before caused by certain test that did not
shutdown cluster upon exception. The suggested change saves us time in tracing
and locating source of test failures like that.
was (Author: xyao):
Thanks [~ajayydv] for the update. +1 for v4 patch and will commit it shortly.
> WebHDFS - ListStatus query does not provide any information about a folder's
> "snapshot enabled" status
> ------------------------------------------------------------------------------------------------------
>
> Key: HDFS-12455
> URL: https://issues.apache.org/jira/browse/HDFS-12455
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Ajay Kumar
> Assignee: Ajay Kumar
> Attachments: HDFS-12455.01.patch, HDFS-12455.02.patch,
> HDFS-12455.03.patch, HDFS-12455.04.patch
>
>
> WebHDFS - ListStatus query does not provide any information about a folder's
> "snapshot enabled" status. Since "ListStatus" lists other attributes it will
> be good to include this attribute as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]