[
https://issues.apache.org/jira/browse/HDFS-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bikas Saha updated HDFS-2905:
-----------------------------
Attachment: HDFS-2905.HDFS-1623.patch
I added a helper wrapper around matchEditLogs (File) that takes the dir as
input and get the file list on its own. Most use cases were of this kind and it
made sense to not have to repeat the file list code everywhere. Added a unit
test to make sure IOException is thrown for invalid dirs. Changed another test
util to use the new wrapper and verify the new code path to the actual
matchEditLogs(File []).
> Standby NN NPE when shared edits dir is deleted
> -----------------------------------------------
>
> Key: HDFS-2905
> URL: https://issues.apache.org/jira/browse/HDFS-2905
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Bikas Saha
> Assignee: Bikas Saha
> Attachments: HDFS-2905.HDFS-1623.patch, HDFS-2905.HDFS-1623.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira