Cube build job fails with the below error in 188.8.131.52-EMR
Error in the job log
ERROR: io.infoworks.cube.exception.CubeBuildExecuteException: Failed to load star-schema tables. Please see the detailed logs.
ERROR in /opt/Infoworks/cube-engine/iw_cube.log
2019-11-13 18:36:46,619 ERROR [http-bio-7070-exec-6] controller.TableController:124 : Failed to load Hive Table
The HBASE_CLASSPATH in the file /etc/hbase/conf/hbase-env.sh is getting overwritten to =/etc/hadoop/conf and so the required hbase jars were not getting loaded to Kylin. This is a limitation in IWX v184.108.40.206-EMR and a JIRA IPD-9121 is raised to address this issue in future releases.
As a workaround, provide the below steps to resolve this issue.
a) Open the file /etc/hbase/conf/hbase-env.sh on Infoworks edge node.
b) Change the HBASE_CLASSPATH value as sown below.
c) Restart the cube-engine service.
d) Run the Cube build job.
Applicable Infoworks Versions: