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

Method GetConnection

be/src/runtime/tmp-file-mgr.cc:851–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851Status TmpDirS3::GetConnection(TmpFileMgr* tmp_mgr, hdfsFS* hdfs_conn) {
852 DCHECK(tmp_mgr != nullptr);
853 DCHECK(!path_.empty());
854 DCHECK(hdfs_conn != nullptr);
855 return HdfsFsCache::instance()->GetConnection(
856 path_, hdfs_conn, &(tmp_mgr->hdfs_conns_), tmp_mgr->s3a_options());
857}
858
859Status TmpDirS3::VerifyAndCreate(MetricGroup* metrics, vector<bool>* is_tmp_dir_on_disk,
860 bool need_local_buffer_dir, TmpFileMgr* tmp_mgr) {

Callers 14

LoadZoneInfoFromHdfsMethod · 0.45
InitOutputPartitionMethod · 0.45
LoadMethod · 0.45
FinalizeHdfsInsertMethod · 0.45
RefreshCacheEntryMethod · 0.45
LoadCacheEntryMethod · 0.45
CleanupAtShutdownMethod · 0.45

Calls 2

s3a_optionsMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected