| 849 | } |
| 850 | |
| 851 | Status 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 | |
| 859 | Status TmpDirS3::VerifyAndCreate(MetricGroup* metrics, vector<bool>* is_tmp_dir_on_disk, |
| 860 | bool need_local_buffer_dir, TmpFileMgr* tmp_mgr) { |
no test coverage detected