Longfei Jiang created KYLIN-6080:
------------------------------------

             Summary: Support normal startup on macOS after packaging Kylin 5 
with -withGluten
                 Key: KYLIN-6080
                 URL: https://issues.apache.org/jira/browse/KYLIN-6080
             Project: Kylin
          Issue Type: Bug
            Reporter: Longfei Jiang


Support normal startup after packaging Kylin 5 with -withGluten on macOS

Currently, when packaging Kylin 5 with -withGluten on macOS, executing the 
following commands will cause errors:
```
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
```
As a result, the following line is missing in sbin/bootstrap.sh and 
sbin/check-1201-hive-access.sh:
```
export LD_PRELOAD=${KYLIN_HOME}/server/libch.so
```
When starting Kylin and using Gluten features such as internal tables, 
exceptions will occur.

To facilitate development and debugging, support should be added to allow 
normal startup after packaging Kylin 5 with -withGluten on macOS.



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

Reply via email to