Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Launch IntelliJ IDEA. You can see the window. Click "Open".

  2. Find "pom.xml" and open it.
  3. Click "Open as Project".
  4. Automatically retrieve the files as described in pom.xml for a while.
  5. When you click "build project", unfortunately it failed due to insufficient libraries.
  6. My workaround is adding the relevant libraries by manual using "File-Project Structure". (Please share if you have a better idea.)
  7. Choose "Libraries" under "Project Settings" and then click "+" mark on the top of the right tab.
  8. 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.
  9. 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
  10. In my case, I did adding operation three times as below.
  11. Re-run "Build Project". If you can see "symbol not found", there is any missing libraries.


...

  1. Choose "Run-Edit Configurations".
  2. Press the + button. Scroll down the list menu and choose "Remote".
  3. 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.
  4. Press debug icon on the top of the right side.
  5. Connected the Impala fronet end successfully!
  6. Let's set a breakpoint.
  7. Execute a query like this:
  8. Enjoy debugging!

...