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

Brandon Li commented on HDFS-6378:
----------------------------------

Thanks for the new patch!
{quote}I moved the Shutdown hook registration to be after the registration 
itself, because it would be redundant if the registration itself exited with 
exception.{quote}
Shutdown hook should be called first so we can see the shutdown message when 
the registration fails.

Please also fix the findbug warnings as suggested by the Jenkins run. 



> NFS: when portmap/rpcbind is not available, NFS registration should timeout 
> instead of hanging 
> -----------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6378
>                 URL: https://issues.apache.org/jira/browse/HDFS-6378
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Abhiraj Butala
>         Attachments: HDFS-6378.002.patch, HDFS-6378.patch
>
>
> When portmap/rpcbind is not available, NFS could be stuck at registration. 
> Instead, NFS gateway should shut down automatically with proper error message.



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

Reply via email to