Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee committed Nov 5, 2024
1 parent cb662fe commit 6472675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion be/src/io/hdfs_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ Status create_hdfs_fs(const THdfsParams& hdfs_params, const std::string& fs_name
if (t.joinable()) t.join();
bthread::butex_destroy(btx);
});
timespec tmout {.tv_sec = std::chrono::system_clock::now().time_since_epoch().count() + 60};
timespec tmout {.tv_sec = std::chrono::system_clock::now().time_since_epoch().count() + 60,
.tv_nsec = 0};
if (int ret = bthread::butex_wait(btx, 1, &tmout); ret != 0) {
std::string msg = "failed to wait _create_hdfs_fs fs_name=" + fs_name;
LOG(WARNING) << msg << " error=" << std::strerror(errno);
Expand Down
1 change: 1 addition & 0 deletions be/src/vec/runtime/vdata_stream_mgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <memory>
#include <mutex>
#include <set>
#include <shared_mutex>
#include <unordered_map>
#include <utility>

Expand Down

0 comments on commit 6472675

Please sign in to comment.