question: private int runMetastoreCompareJob ( Optional < Path > inputTableListPath , Path outputPath ) throws InterruptedException , IOException , ClassNotFoundException , TemplateRenderException { LOG . info ( "Starting job for step 1..." ) ; int result ; if ( inputTableListPath . isPresent ( ) ) { result = runMetastoreCompareJobWithTextInput ( inputTableListPath . get ( ) , outputPath ) ; } else { result = runMetastoreCompareJob ( outputPath ) ; } if ( result == 0 ) { LOG . info ( "Job for step 1 finished successfully! To view logging data, run the following " + "commands in Hive: \n\n" + VelocityUtils . renderTemplate ( STEP1_HQL_TEMPLATE , velocityContext ) ) ; } return result ; }
target:  Runs the job to scan the metastore for directory locations.