Skip to content

Commit

Permalink
fix(hdfs): Include the connection failure reason (#11586)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #11586

Reviewed By: kevinwilfong

Differential Revision: D66251903

Pulled By: kagamiori

fbshipit-source-id: c72ac05e660058d6cde194505f4650cade59dbb1
  • Loading branch information
Yohahaha authored and facebook-github-bot committed Nov 21, 2024
1 parent 44e05dd commit ebfb1e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class HdfsFileSystem::Impl {
const HdfsServiceEndpoint& endpoint) {
auto status = filesystems::arrow::io::internal::ConnectLibHdfs(&driver_);
if (!status.ok()) {
LOG(ERROR) << "ConnectLibHdfs failed ";
LOG(ERROR) << "ConnectLibHdfs failed due to: " << status.ToString();
}

// connect to HDFS with the builder object
Expand Down

0 comments on commit ebfb1e5

Please sign in to comment.