[Enhancement](multi-catalog) Add hdfs read statistics profile. (#21442)
Add hdfs read statistics profile.
```
- HdfsIO: 0ns
- TotalBytesRead: 133.47 MB
- TotalLocalBytesRead: 133.47 MB
- TotalShortCircuitBytesRead: 133.47 MB
- TotalZeroCopyBytesRead: 0.00
```
This commit is contained in:
@ -595,7 +595,7 @@ Status VFileResultWriter::_delete_dir() {
|
||||
case TStorageBackendType::HDFS: {
|
||||
THdfsParams hdfs_params = parse_properties(_file_opts->broker_properties);
|
||||
std::shared_ptr<io::HdfsFileSystem> hdfs_fs = nullptr;
|
||||
RETURN_IF_ERROR(io::HdfsFileSystem::create(hdfs_params, "", &hdfs_fs));
|
||||
RETURN_IF_ERROR(io::HdfsFileSystem::create(hdfs_params, "", nullptr, &hdfs_fs));
|
||||
file_system = hdfs_fs;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user