[ 
https://issues.apache.org/jira/browse/HDFS-6406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004095#comment-14004095
 ] 

Brandon Li commented on HDFS-6406:
----------------------------------

My bad. :-)  The code in #1 is actually correct. I was just thinking a trivial 
change: 
final Nfs3 nfsServer = new Nfs3(conf, registrationSocket, allowInsecurePorts);
to replace 
final Nfs3 nfsServer = new Nfs3(new Configuration(), registrationSocket, 
allowInsecurePorts);

> Add capability for NFS gateway to reject connections from unprivileged ports
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-6406
>                 URL: https://issues.apache.org/jira/browse/HDFS-6406
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: nfs
>    Affects Versions: 2.4.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>             Fix For: 2.5.0
>
>         Attachments: HDFS-6406.patch, HDFS-6406.patch
>
>
> Many NFS servers have the ability to only accept client connections 
> originating from privileged ports. It would be nice if the HDFS NFS gateway 
> had the same feature.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to