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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • v3.0.0
    • v3.0.0
    • None
    • None
    • 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

        1. image-2020-01-28-11-39-25-860.png
          129 kB
          Sonu Kumar Singh

        Activity

          People

            codingforfun weibin0516
            sonuSINGH Sonu Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: