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

"Garbage Collection on HDFS" step failed because of hdfs path not exists

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: v2.4.1
    • Fix Version/s: v2.6.1
    • Component/s: Job Engine
    • Labels:
      None

      Description

      We found a bug recently when we used streaming cube on last job step "Garbage Collection on HDFS", the proplem is as blow:

       

      Drop HDFS path on FileSystem: "hdfs://kylin-cluster" 
      HDFS path /user/kylin/kylin_home/kylin_metadata/kylin-03c04b31-5d40-441a-a0df-289f5977b733/cube_test/fact_distinct_columns not exists.
      
      File /user/kylin/kylin_home/kylin_metadata/kylin-03c04b31-5d40-441a-a0df-289f5977b733/cube_test does not exist.
      

      When I check the code and log, I found that the main reason is:

       

      1. A build job first submitted, and on step "Update Cube Info", segment became "READY";
      2. Then a merge job submitted automatically by kylin, include segment on step1. The merge job finished quickly, and deleted input segments hdfs path;
      3. After merge job finished, the build job continue build, "Hive Cleanup" and "Garbage Collection on HBase", failed at last step because the hdfs path is deleted on step2.

      Our version is 2.4.x, I'm not sure this if this bug fixed on latest 2.6.x version. If not, please assign this Jira to me, thanks!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              skyyws WangSheng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: