kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (KYLIN-3801) fail to grep env:CLASSPATH from beeline output
Date Tue, 19 Feb 2019 07:19:01 GMT


ASF subversion and git services commented on KYLIN-3801:

Commit 36fae8eca8561cf8acd087def6a5ad2ee3ec0d25 in kylin's branch refs/heads/2.6.x from kikniknik
[;h=36fae8e ]

KYLIN-3801 Add --text flag in grep in

> 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