File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/spark_standalone/templates Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 480
480
args :
481
481
- ' run'
482
482
- ' --dataset-path /flash23/'
483
- - ' --dataset-name bpc_t93586_s2_synthetic_5GB '
483
+ - ' --dataset-name {dataset_name} '
484
484
- ' --warehouse-dir /flash23/warehouse'
485
485
- ' --shuffle-dir /flash23/spark_local_dir'
486
486
- ' --ipv4 {ipv4}'
489
489
vars :
490
490
- ' ipv4=0'
491
491
- ' sanity=0'
492
+ - ' dataset_name=bpc_t93586_s2_synthetic_5GB'
492
493
hooks :
493
494
- hook : copymove
494
495
options :
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def download_dataset(args):
52
52
53
53
def install_database (args ):
54
54
metadata_dir = os .path .join (SPARK_DIR , "spark-2.4.5-bin-hadoop2.7" , "metastore_db" )
55
- database_dir = os .path .join (args .warehouse_dir , f"{ args .dataset_name } .db" )
55
+ database_dir = os .path .join (args .warehouse_dir , f"{ args .dataset_name . lower () } .db" )
56
56
if os .path .exists (metadata_dir ) and os .path .exists (database_dir ):
57
57
print ("Database already created; directly run test" )
58
58
return
You can’t perform that action at this time.
0 commit comments