Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12339

NFS Gateway on Shutdown Gives Unregistration Failure. Does Not Unregister with rpcbind Portmapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 3.1.0
    • nfs
    • None
    • Reviewed

    Description

      When stopping NFS Gateway the following error is thrown in the NFS gateway role logs.

      2017-08-17 18:09:16,529 ERROR org.apache.hadoop.oncrpc.RpcProgram: Unregistration failure with localhost:2049, portmap entry: (PortmapMapping-100003:3:6:2049)

      2017-08-17 18:09:16,531 WARN org.apache.hadoop.util.ShutdownHookManager: ShutdownHook 'NfsShutdownHook' failed, java.lang.RuntimeException: Unregistration failure
      java.lang.RuntimeException: Unregistration failure
      ..
      Caused by: java.net.SocketException: Socket is closed
      at java.net.DatagramSocket.send(DatagramSocket.java:641)
      at org.apache.hadoop.oncrpc.SimpleUdpClient.run(SimpleUdpClient.java:62)

      Checking rpcinfo -p : the following entry is still there:
      " 100003 3 tcp 2049 nfs"

      Attachments

        1. HDFS-12339.001.patch
          5 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            saileshpatel Sailesh Patel
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: