[
https://issues.apache.org/jira/browse/KYLIN-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628617#comment-16628617
]
ASF GitHub Bot commented on KYLIN-3595:
---------------------------------------
shaofengshi closed pull request #257: Update to fix KYLIN-3595
URL: https://github.com/apache/kylin/pull/257
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/build/bin/find-hive-dependency.sh
b/build/bin/find-hive-dependency.sh
index c647af1693..3eab5ca280 100755
--- a/build/bin/find-hive-dependency.sh
+++ b/build/bin/find-hive-dependency.sh
@@ -31,7 +31,7 @@ if [ "${client_mode}" == "beeline" ]
then
beeline_shell=`$KYLIN_HOME/bin/get-properties.sh
kylin.source.hive.beeline-shell`
beeline_params=`bash ${KYLIN_HOME}/bin/get-properties.sh
kylin.source.hive.beeline-params`
- hive_env=`${beeline_shell} ${hive_conf_properties} ${beeline_params}
--outputformat=dsv -e set 2>&1 | grep 'env:CLASSPATH' `
+ hive_env=`${beeline_shell} ${hive_conf_properties} ${beeline_params}
--outputformat=dsv -e "set;" 2>&1 | grep 'env:CLASSPATH' `
else
source ${dir}/check-hive-usability.sh
hive_env=`hive ${hive_conf_properties} -e set 2>&1 | grep 'env:CLASSPATH'`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Beeline does not retrieve CLASSPATH and hangs
> ---------------------------------------------
>
> Key: KYLIN-3595
> URL: https://issues.apache.org/jira/browse/KYLIN-3595
> Project: Kylin
> Issue Type: Bug
> Components: Environment
> Affects Versions: v2.5.0
> Reporter: Richard Jarvis
> Priority: Major
>
> There is no semi-colon at the end of the set command provided to the beeline
> script in find-hive-dependency.sh. This causes the script to hang.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)