...
For a good experience, it is recommended to allow Eclipse to use a good bit of memory. In your eclipse installation folder, open eclipse.ini and change the existing settings to the following recommended values:
- -XX:MaxPermSize=512mXms512m, -Xms512m, -Xmx4gXmx4g
Eclipse Launch Script
In addition to the sourced scripts above, you must add a build path to LD_LIBRARY_PATH. Easiest is to create a script that does all this each time you start Eclipse. For example, we might create a script "ecl". (Adjust paths for your environment.)
#! /bin/bash
export IMPALA_HOME=$HOME/Impala
source $IMPALA_HOME/bin/impala-config.sh
source $IMPALA_HOME/bin/set-classpath.sh
export LD_LIBRARY_PATH=${IMPALA_HOME}/be/build/debug/service:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
exec eclipse/java-photon/eclipse/eclipse
Java Frontend (FE)
The FE is a maven project which integrates very nicely with Eclipse. Follow these steps:
...