| 410 | } |
| 411 | |
| 412 | void 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 | |
| 423 | Status Frontend::GetTableFiles(const TShowFilesParams& params, TResultSet* result) { |
| 424 | return JniUtil::CallJniMethod(fe_, get_table_files_id_, params, result); |