MCPcopy Create free account
hub / github.com/apache/impala / Open

Method Open

be/src/runtime/io/hdfs-file-reader.cc:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60Status HdfsFileReader::Open() {
61 unique_lock<SpinLock> hdfs_lock(lock_);
62 RETURN_IF_ERROR(scan_range_->cancel_status_);
63
64 if (exclusive_hdfs_fh_ != nullptr) return Status::OK();
65 return DoOpen();
66}
67
68Status HdfsFileReader::DoOpen() {
69 auto io_mgr = scan_range_->io_mgr_;

Callers 3

DoWriteMethod · 0.45
DoReadInternalMethod · 0.45
ReadFromCacheMethod · 0.45

Calls 2

OKFunction · 0.85
DoOpenFunction · 0.85

Tested by

no test coverage detected