Shaofeng SHI created KYLIN-1795:
-----------------------------------

             Summary: bin/sample.sh doesn't work when configured hive client is 
beeline
                 Key: KYLIN-1795
                 URL: https://issues.apache.org/jira/browse/KYLIN-1795
             Project: Kylin
          Issue Type: Bug
          Components: Client - CLI
    Affects Versions: v1.5.0
            Reporter: Shaofeng SHI
            Priority: Minor


If configure to use beeline as hive client in kylin.properties, then run 
bin/sample.sh, it will fail to load data into hive, like:

0: jdbc:hive2://hiveserver:10> LOAD DATA LOCAL INPATH 'DEFAULT.KYLIN_SALES.csv' 
OVERWRITE INTO TABLE DEFAULT.KYLIN_SALES;
Error: Error while compiling statement: FAILED: SemanticException Line 1:23 
Invalid path ''DEFAULT.KYLIN_SALES.csv'': No files matching path 
file:/var/run/cloudera-scm-agent/process/1358-hive-HIVESERVER2/DEFAULT.KYLIN_SALES.csv
 (state=42000,code=40000)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to