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

CubeSegment.lastBuildJobID is null in new instance but used for rowkey_stats path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v0.7.2, v1.0
    • v1.1
    • Job Engine
    • None

    Description

      CubeSegment.lastBuildJobID is used to record the id of job which building this segment last time.
      When build or fresh a cube and append a new segment, the lastBuildingJobID remains as null until the segment build done and info updated. But in the segment building flow, lastBuildingJobID has been used for concat rowkey_stats path, in CubingJobBuilder.getRowkeyDistributionOutputPath, result in rowkey_stats path is like '/../kylin-null/../rowkey_stats', without job id in path.
      If more than one segments were building concurrently, the rowkey_stats path will be conflicts and result in wrong split keys for tables in HBase.
      Did anybody found this issue before? If not yet and we agreed with the analysis above, I'll apply a patch later.

      Attachments

        1. KYLIN-968-1.x-staging-v2.patch
          4 kB
          Yerui Sun
        2. KYLIN-968-1.x-staging.patch
          10 kB
          Yerui Sun
        3. KYLIN-968-0.7-staging.patch
          10 kB
          Yerui Sun

        Activity

          People

            shaofengshi Shao Feng Shi
            sunyerui Yerui Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: