public class Nfs3
extends org.apache.hadoop.nfs.nfs3.Nfs3Base
RpcProgramNfs3.
Currently Mountd program is also started inside this class.
Only TCP server is supported and UDP is not supported.| Constructor | Description |
|---|---|
Nfs3(NfsConfiguration conf) |
|
Nfs3(NfsConfiguration conf,
java.net.DatagramSocket registrationSocket,
boolean allowInsecurePorts) |
| Modifier and Type | Method | Description |
|---|---|---|
Mountd |
getMountd() |
|
static void |
main(java.lang.String[] args) |
|
void |
startServiceInternal(boolean register) |
|
void |
stop() |
public Nfs3(NfsConfiguration conf) throws java.io.IOException
java.io.IOExceptionpublic Nfs3(NfsConfiguration conf, java.net.DatagramSocket registrationSocket, boolean allowInsecurePorts) throws java.io.IOException
java.io.IOExceptionpublic Mountd getMountd()
@VisibleForTesting
public void startServiceInternal(boolean register)
throws java.io.IOException
java.io.IOExceptionpublic void stop()
stop in class org.apache.hadoop.nfs.nfs3.Nfs3Basepublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.