Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
I build the example lihdfspp client code in https://github.com/apache/hadoop/blob/rel/release-3.3.0/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/examples/cc/cat/cat.cc
When running, the following error happened. While I can successfully connect to the same cluster using example code from C API from https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/LibHdfs.html
[WARN ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810402694976][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/namenode_tracker.cc:50] Nameservice declares more than two nodes. Some won't be used.
[ERROR ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810357286656][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/rpc_engine.cc:191] RpcEngine::AsyncRpcCommsError called; status="AuthenticationFailed" conn=0x13ab6e0 reqs=1
[WARN ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810357286656][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/rpc_engine.cc:202] RpcEngine::RpcCommsError called; status="AuthenticationFailed" conn=0x13ab6e0 reqs=1
[WARN ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810357286656][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/rpc_connection_impl.h:387] Network error during RPC read: Bad file descriptor
[ERROR ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810357286656][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/rpc_engine.cc:191] RpcEngine::AsyncRpcCommsError called; status="Bad file descriptor" conn=0x13ab6e0 reqs=0
[WARN ][RPC ][Thu Jan 6 11:47:12 2022][Thread id = 139810357286656][/tmp/orc/build/libhdfspp_ep-prefix/src/libhdfspp_ep/lib/rpc/rpc_engine.cc:202] RpcEngine::RpcCommsError called; status="Bad file descriptor" conn=0x13ab6e0 reqs=0
Could not connect to jssz-bigdata-proxy-ns1:. AuthenticationFailed