[
https://issues.apache.org/jira/browse/HDFS-7989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Li updated HDFS-7989:
-----------------------------
Attachment: HDFS-7989.002.patch
It's kind of tricky to add unit tests. I manually tested it as the following:
1. start Linux native NFS server
2. try to start NFS Gateway. It couldn't bind the port and shutdowns itself as
expected.
Uploaded a new patch to fix some class description.
> NFS gateway should shutdown when it can't start UDP or TCP server
> -----------------------------------------------------------------
>
> Key: HDFS-7989
> URL: https://issues.apache.org/jira/browse/HDFS-7989
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: nfs
> Affects Versions: 2.2.0
> Reporter: Brandon Li
> Assignee: Brandon Li
> Attachments: HDFS-7989.001.patch, HDFS-7989.002.patch
>
>
> Unlike the Portmap, Nfs3 class does shutdown when the service can't start.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)