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

Kylin 3.0.0 Release - Not able to submit job with JDBC Data Sources with Sqoop.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: v3.0.0
    • Fix Version/s: v3.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      HDP3.1

      Description

      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

       

        Attachments

          Activity

            People

            • Assignee:
              codingforfun weibin0516
              Reporter:
              sonuSINGH Sonu Kumar Singh

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment