Guoliang Sun created KYLIN-6014:
-----------------------------------

             Summary: Support for packaging Kylin5 with `-withGluten` on macOS, 
ensuring it can start up normally.
                 Key: KYLIN-6014
                 URL: https://issues.apache.org/jira/browse/KYLIN-6014
             Project: Kylin
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Guoliang Sun


Currently, when packaging Kylin5 with `-withGluten` on macOS, executing the 
following commands causes an exception:  
{code:java}
sed -i '27aexport LD_PRELOAD=${KYLIN_HOME}/server/libch.so' 
build/sbin/bootstrap.sh
sed -i '29aexport LD_PRELOAD=${KYLIN_HOME}/server/libch.so' 
build/sbin/check-1201-hive-access.sh{code}

As a result, `export LD_PRELOAD=${KYLIN_HOME}/server/libch.so` is missing in 
`sbin/bootstrap.sh` and `sbin/check-1201-hive-access.sh`.  
When starting KE and using Gluten internal table features, exceptions occur.  
To facilitate development and debugging, support for packaging Kylin5 with 
`-withGluten` on macOS has been added to ensure normal startup.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to