THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Launch IntelliJ IDEA. You can see the window. Click "Open".
- Find "pom.xml" and open it.
- Click "Open as Project".
- Automatically retrieve the files as described in pom.xml for a while.
- When you click "build project", unfortunately it failed due to insufficient libraries.
- My workaround is adding the relevant libraries by manual using "File-Project Structure". (Please share if you have a better idea.)
- Choose "Libraries" under "Project Settings" and then click "+" mark on the top of the right tab.
- Choose "Java" and add all the *.jars under target/ and target/dependency. You don't have to do it once. It is okay to add jars several times.
- Currently I could not find junit-*.jar under fe. You may find it ${IMPALA_HOME}/testdata/target/dependency. Or just download a recent one from here: https://mvnrepository.com/artifact/junit/junit
- In my case, I did adding operation three times as below.
- Re-run "Build Project". If you can see "symbol not found", there is any missing libraries.
...
- Choose "Run-Edit Configurations".
- Press the + button. Scroll down the list menu and choose "Remote".
- Describe Fill in some required information such as Name, Host , and Port. Use port 30000 for the first impalad, port 30001 for the second impalad.
- Press debug icon on the top of the right side.
- Connected the Impala fronet end successfully!
- Let's set a breakpoint.
- Execute a query like this:
- Enjoy debugging!
...