kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3801) fail to grep env:CLASSPATH from beeline output
Date Wed, 13 Feb 2019 18:45:00 GMT


ASF GitHub Bot commented on KYLIN-3801:

shaofengshi commented on pull request #461: KYLIN-3801 Add --text flag in grep in
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:

> fail to grep env:CLASSPATH from beeline output
> ----------------------------------------------------------------------
>                 Key: KYLIN-3801
>                 URL:
>             Project: Kylin
>          Issue Type: Bug
>          Components: Tools, Build and Test
>    Affects Versions: v2.6.0
>            Reporter: Nikodimos Nikolaidis
>            Assignee: Nikodimos Nikolaidis
>            Priority: Major
>             Fix For: v2.6.1
> In a Debian stretch system with GNU grep version 2.27, whenever bin/
is executed, with beeline enabled, the following error message is produced:
> {noformat}
> Retrieving hive dependency...
> ./ line 40: [: too many arguments
> Couldn't find hive configuration directory. Please set HIVE_CONF to the path which contains
> In line 34, output format of beeline is defined as dsv, which is something that grep
thinks is binary data - although it's text - and it leads to
> {code:java}
> hive_env='Binary file (standard input) matches'{code}
> instead of correct env:CLASSPATH grepping, which causes the above error. One solution
would be to set the flag '-text' of grep to force processing beeline output as text.

This message was sent by Atlassian JIRA

View raw message