Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1795

bin/sample.sh doesn't work when configured hive client is beeline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v1.5.0
    • v1.5.3
    • Client - CLI

    Description

      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)

      Attachments

        1. KYLIN-1795.patch
          3 kB
          Billy Liu

        Activity

          People

            liuyiming.vip Yiming Liu
            shaofengshi Shao Feng Shi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: