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

Method WaitForCatalog

be/src/service/frontend.cc:412–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412void Frontend::WaitForCatalog() {
413#ifndef NDEBUG
414 if (FLAGS_stress_catalog_init_delay_ms > 0) {
415 SleepForMs(FLAGS_stress_catalog_init_delay_ms);
416 }
417#endif
418 JNIEnv* jni_env = JniUtil::GetJNIEnv();
419 jni_env->CallVoidMethod(fe_, wait_for_catalog_id_);
420 ABORT_IF_EXC(jni_env);
421}
422
423Status Frontend::GetTableFiles(const TShowFilesParams& params, TResultSet* result) {
424 return JniUtil::CallJniMethod(fe_, get_table_files_id_, params, result);

Callers 2

mainFunction · 0.80
StartMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64