git clone https://github.com/teeyog/IQL.git
modify the web module configuration file iql-web\src\main\resources\application.properties
modify the engine module configuration file iql-engine\src\main\resources\iql.properties
3. Import metadata table required for web module:iql.sql
cd IQL/
mvn clean package -Dmaven.test.skip # The default package is spark 2.3, which can be switched by parameters such as -Piql-spark-2.2-adaptor
cd iql-web\target # get iql-web.jar
cd iql-engine\target # get iql-engine.jar
web module startup example:
java -jar iql-web.jar
web address localhost:8888
user:admin password: 123456
engine module startup example:
sudo -u hdfs spark2-submit \
--name IQL \
--master yarn \
--deploy-mode client \
--conf spark.executor.extraJavaOptions="-Xms1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m" \
--files /home/runtime_file/fairscheduler.xml \
--num-executors 1 \
--driver-memory 3G \
--executor-memory 1g \
--class iql.engine.main.IqlMain \
/home/run/jobJar/iql-engine.jar
Note:the fairscheduler.xml file in the engine startup command is here:fairscheduler.xml