Skip to content

Commit

Permalink
Correct application name for HiveExternalWorkerQueryRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawalreetika authored and yingsu00 committed Jun 30, 2024
1 parent 3adf975 commit d022fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions presto-native-execution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ From the Presto repo run the commands below:
* `mvn clean install -DskipTests -T1C -pl -presto-docs`

Run IntelliJ IDEA:
* Edit/Create `HiveQueryRunnerExternal` Application Run/Debug Configuration (alter paths accordingly).
* Edit/Create `HiveExternalWorkerQueryRunner` Application Run/Debug Configuration (alter paths accordingly).
* Main class: `com.facebook.presto.nativeworker.HiveExternalWorkerQueryRunner`.
* VM options: `-ea -Xmx5G -XX:+ExitOnOutOfMemoryError -Duser.timezone=America/Bahia_Banderas -Dhive.security=legacy`.
* Working directory: `$MODULE_DIR$`
Expand Down Expand Up @@ -161,7 +161,7 @@ Run CLion:

### Run Presto Coordinator + Worker
* Note that everything below can be done w/o using IDEs by running command line commands (not in this readme).
* Run 'HiveQueryRunnerExternal' from IntelliJ and wait until it started (`======== SERVER STARTED ========` in the log output).
* Run `HiveExternalWorkerQueryRunner` from IntelliJ and wait until it starts (`======== SERVER STARTED ========` is displayed in the log output).
* Scroll up the log output and find `Discovery URL http://127.0.0.1:50555`. The port is 'random' with every start.
* Copy that port (or the whole URL) to the `discovery.uri` field in `presto/presto-native-execution/etc/config.properties` for the worker to discover the Coordinator.
* In CLion run "presto_server" module. Connection success will be indicated by `Announcement succeeded: 202` line in the log output.
Expand Down

0 comments on commit d022fdb

Please sign in to comment.