Skip to content

Commit fbd51f0

Browse files
committed
Clean up some dataproc references from aws quickstart
1 parent 8ddc766 commit fbd51f0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

distribution/run_zipline_quickstart_aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def main():
1010
quickstart_sh = os.path.join(os.path.dirname(os.path.realpath(__file__))
1111
, "run_zipline_quickstart_aws.sh")
1212

13-
# run the bash script run_zipline_quickstart_gcp.sh subprocess command
13+
# run the bash script run_zipline_quickstart_aws.sh subprocess command
1414
# with the temporary directory as the argument
1515
subprocess.run([f"bash {quickstart_sh} {temp_dir}"], shell=True)
1616

distribution/run_zipline_quickstart_aws.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ python3 -m venv tmp_chronon
2929
source tmp_chronon/bin/activate
3030

3131
# Download the wheel
32-
aws s3 cp gs://zipline-artifacts-canary/jars/$WHEEL_FILE .
32+
aws s3 cp s3://zipline-artifacts-canary/jars/$WHEEL_FILE .
3333

3434
# Install the wheel (force)
3535
pip uninstall zipline-ai
3636
pip install --force-reinstall $WHEEL_FILE
3737

3838
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
3939

40-
# function to check dataproc job id state
40+
# function to check emr job id state
4141
function check_emr_job_state() {
4242
STEP_ID=$1
4343
if [ -z "$STEP_ID" ]; then
@@ -68,20 +68,20 @@ check_emr_job_state $BACKFILL_JOB_ID
6868
echo -e "${GREEN}<<<<<.....................................GROUP-BY-UPLOAD.....................................>>>>>\033[0m"
6969
touch tmp_gbu.out
7070
zipline run --mode upload --conf production/group_bys/quickstart/purchases.v1_test --ds 2023-12-01 --emr 2>&1 | tee /dev/tty tmp_gbu.out
71-
GBU_JOB_ID=$(cat tmp_gbu.out | grep "$DATAPROC_SUBMITTER_ID_STR" | cut -d " " -f5)
71+
GBU_JOB_ID=$(cat tmp_gbu.out | grep "$EMR_SUBMITTER_ID_STR" | cut -d " " -f5)
7272
check_emr_job_state $GBU_JOB_ID
7373

7474
# Need to wait for upload to finish
7575
echo -e "${GREEN}<<<<<.....................................UPLOAD-TO-KV.....................................>>>>>\033[0m"
7676
touch tmp_upload_to_kv.out
7777
zipline run --mode upload-to-kv --conf production/group_bys/quickstart/purchases.v1_test --partition-string=2023-12-01 --emr 2>&1 | tee /dev/tty tmp_upload_to_kv.out
78-
UPLOAD_TO_KV_JOB_ID=$(cat tmp_upload_to_kv.out | grep "$DATAPROC_SUBMITTER_ID_STR" | cut -d " " -f5)
78+
UPLOAD_TO_KV_JOB_ID=$(cat tmp_upload_to_kv.out | grep "$EMR_SUBMITTER_ID_STR" | cut -d " " -f5)
7979
check_emr_job_state $UPLOAD_TO_KV_JOB_ID
8080

8181
echo -e "${GREEN}<<<<< .....................................METADATA-UPLOAD.....................................>>>>>\033[0m"
8282
touch tmp_metadata_upload.out
8383
zipline run --mode metadata-upload --conf production/group_bys/quickstart/purchases.v1_test --emr 2>&1 | tee /dev/tty tmp_metadata_upload.out
84-
METADATA_UPLOAD_JOB_ID=$(cat tmp_metadata_upload.out | grep "$DATAPROC_SUBMITTER_ID_STR" | cut -d " " -f5)
84+
METADATA_UPLOAD_JOB_ID=$(cat tmp_metadata_upload.out | grep "$EMR_SUBMITTER_ID_STR" | cut -d " " -f5)
8585
check_emr_job_state $METADATA_UPLOAD_JOB_ID
8686

8787
# Need to wait for upload-to-kv to finish

0 commit comments

Comments
 (0)