[
https://issues.apache.org/jira/browse/HDFS-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522080#comment-14522080
]
Tsz Wo Nicholas Sze commented on HDFS-8283:
-------------------------------------------
Thanks Chris and Jing for reporting the findbugs and unit test problems and
filing the bug.
It somehow only reported TestAppendSnapshotTruncate failed in [the Jenkins
run|https://issues.apache.org/jira/browse/HDFS-8283?focusedCommentId=14518736&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14518736].
> DataStreamer cleanup and some minor improvement
> -----------------------------------------------
>
> Key: HDFS-8283
> URL: https://issues.apache.org/jira/browse/HDFS-8283
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs-client
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: h8283_20150428.patch
>
>
> - When throwing an exception
> -* always set lastException
> -* always creating a new exception so that it has the new stack trace
> - Add LOG.
> - Add final to isAppend and favoredNodes
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)