diff --git a/velox/connectors/hive/storage_adapters/hdfs/HdfsFileSystem.cpp b/velox/connectors/hive/storage_adapters/hdfs/HdfsFileSystem.cpp index 9d3f6e30a67a..36b215846367 100644 --- a/velox/connectors/hive/storage_adapters/hdfs/HdfsFileSystem.cpp +++ b/velox/connectors/hive/storage_adapters/hdfs/HdfsFileSystem.cpp @@ -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