(header, file_list)
| 442 | |
| 443 | # Simple helper function to dump a header followed by the filenames |
| 444 | def log_file_list(header, file_list): |
| 445 | if (len(file_list) == 0): return |
| 446 | LOG.debug(header) |
| 447 | list(map(LOG.debug, list(map(os.path.basename, file_list)))) |
| 448 | LOG.debug("\n") |
| 449 | |
| 450 | log_file_list("Impala Create Files:", impala_create_files) |
| 451 | log_file_list("Hive Load Text Files:", hive_load_text_files) |