diff --git a/velox/connectors/hive/storage_adapters/hdfs/tests/HdfsFileSystemTest.cpp b/velox/connectors/hive/storage_adapters/hdfs/tests/HdfsFileSystemTest.cpp index b167e8507914..dcf194aa10b7 100644 --- a/velox/connectors/hive/storage_adapters/hdfs/tests/HdfsFileSystemTest.cpp +++ b/velox/connectors/hive/storage_adapters/hdfs/tests/HdfsFileSystemTest.cpp @@ -174,6 +174,7 @@ TEST_F(HdfsFileSystemTest, read) { driver->BuilderSetNameNode(builder, localhost.c_str()); driver->BuilderSetNameNodePort(builder, 7878); driver->BuilderSetForceNewInstance(builder); + std::cout << "the destinationPath is " << destinationPath << "\n"; auto hdfs = driver->BuilderConnect(builder); VELOX_CHECK_NOT_NULL( diff --git a/velox/connectors/hive/storage_adapters/hdfs/tests/InsertIntoHdfsTest.cpp b/velox/connectors/hive/storage_adapters/hdfs/tests/InsertIntoHdfsTest.cpp index e2716464edac..eae5ac391913 100644 --- a/velox/connectors/hive/storage_adapters/hdfs/tests/InsertIntoHdfsTest.cpp +++ b/velox/connectors/hive/storage_adapters/hdfs/tests/InsertIntoHdfsTest.cpp @@ -76,7 +76,7 @@ TEST_F(InsertIntoHdfsTest, insertIntoHdfsTest) { makeFlatVector(expectedRows, [](auto row) { return row; }), makeFlatVector(expectedRows, [](auto row) { return row; })}); - auto outputDirectory = "hdfs://localhost:" + nameNodePort; + auto outputDirectory = "hdfs://localhost:" + nameNodePort + "/"; // INSERT INTO hdfs with one writer auto plan = PlanBuilder() .values({input})