You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Sonu Singh (Jira)" <ji...@apache.org> on 2020/01/30 09:37:00 UTC
[jira] [Closed] (KYLIN-4361) Kylin 3.0.0 Release - Not able to
submit job with JDBC Data Sources with Sqoop.
[ https://issues.apache.org/jira/browse/KYLIN-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sonu Singh closed KYLIN-4361.
-----------------------------
Resolution: Fixed
> 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
> Assignee: weibin0516
> Priority: Blocker
> Fix For: v3.0.0
>
> Attachments: image-2020-01-28-11-39-25-860.png
>
>
> 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)