File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ To run code migration for a single repository:
175175```
176176cd ~/SDFeedback/src/self_debug
177177
178- python run_self_debugging.py ...
178+ # Explicit `max_iteration` will override it in the `config_file`
179+ python run_self_debugging.py --config_file configs/java_config.pbtxt # --max_iterations 3
179180```
180181
181182### 3.2 Batch Job
@@ -205,7 +206,8 @@ Before submitting a job to EMRS, make sure you have the following ready:
205206```
206207cd ~/SDFeedback/src/self_debug/container
207208
208- ./image.sh ...
209+ # To build ECR image: 552793110740.dkr.ecr.us-east-1.amazonaws.com/$USER:java
210+ ./image.sh java $USER 1 docker/java.Dockerfile # 999999999999.dkr.ecr.us-west-2.amazonaws.com
209211```
210212
2112132 . Submit a spark job to EMRS
@@ -216,7 +218,11 @@ Note that security keys might be subject to `12h` timeout.
216218cd ~/SDFeedback/src/self_debug/batch
217219
218220# Update config file as needed for `emrs.py`, e.g. use the right ECR image in step `#1`
219- python emrs.py ...
221+ CONFIG=...
222+ export APPLICATION=emrs-dbg-{user}--{date}--run00
223+ export SCRIPT=debugger
224+
225+ python emrs.py --config_file=$CONFIG --application=$APPLICATION --script=$SCRIPT --user=$USER # --dry_run=1
220226```
221227
222228
You can’t perform that action at this time.
0 commit comments