nfs-client-java
nfs-client-java copied to clipboard
fsinfo error,rpc request timeout
When I'm testing on an nfs server on a test network segment (not on the same network segment as the code running client), the error occurs almost every time when I get the file I/O stream. Through the exception prompt information, an exception is thrown when fsinfo is called.The detailed exception stack trace is as follows:
Exception in thread "main" com.emc.ecs.nfsclient.nfs.NfsException: networ error,server:xxxxxx, RPC error: rpc request timeout on the connection:/xxxx:2049
at com.emc.ecs.nfsclient.rpc.RpcWrapper. hanldeRpcException(Rpcwrapper.java:311)
at com.emc.ecs.nfsclient.rpc.RpcWrapper. callRpcWrapped(Rpcwrapper.java:134)
at com.emc.ecs.nfsclient.nfs.nfs3.Nfs3.wrapped_getFsInfo(Nfs3.java:1273)
at com.emc.ecs.nfsclient.nfs.nfs3.Nfs3.wrapped_getFsInfo(Nfs3.java:90)
at com.emc.ecs.nfsclient.nfs.io.NfsFileBase.fsInfo(NfsFileBase.java:1161)
at com.emc.ecs.nfsclient.nfs.io.NfsFileInputStream.