kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonu Singh (Jira)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-4361) Kylin 3.0.0 Release - Not able to submit job with JDBC Data Sources with Sqoop.
Date Mon, 27 Jan 2020 17:29:00 GMT
Sonu Singh created KYLIN-4361:
---------------------------------

             Summary: Kylin 3.0.0 Release - Not able to submit job with JDBC Data Sources
with Sqoop.
                 Key: KYLIN-4361
                 URL: https://issues.apache.org/jira/browse/KYLIN-4361
             Project: Kylin
          Issue Type: Bug
    Affects Versions: v3.0.0
         Environment: HDP3.1
            Reporter: Sonu Singh
             Fix For: v3.0.0


I am trying to submit a job with JDBC data sources and getting nullpointerexception because
of below code:

File Path - \kylin\source-jdbc\src\main\java\org\apache\kylin\source\jdbc\JdbcHiveInputBase.java

method - createSqoopToFlatHiveStep

//code start

String partCol = null;

if (partitionDesc.isPartitioned()) {
 partCol = partitionDesc.getPartitionDateColumn();//tablename.colname
 }

// code end

Fon non-partition cubes, the value of partCol will be always null and creating a exception
in below method:

//code start

static String quoteIdentifier(String identifier, SourceDialect dialect) {
 if (KylinConfig.getInstanceFromEnv().enableHiveDdlQuote()) {
 String[] identifierArray = identifier.split("\\.");

//code end

Environment Detail -

HDP3.1

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message