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

streaming_cubename_starttimestamp_endtimestamp.log not be deleted on a regular time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: NRT Streaming
    • Labels:
    • Environment:
      Kylin:1.5.2,hadoop:2.4.0.HBase:0.98.8,ZK:3.4.6

      Description

      According to the https://kylin.apache.org/docs15/tutorial/cube_streaming.html
      when I add a crontab job for my cube in my crontab:
      */5 * * * * sh /root/apache-kylin-1.5.2-bin/bin/streaming_build.sh STREAMING_CUBE 300000 0
      The streaming cube log not be deleted and all of the logs are written at the same time.Then in the directory, all of the logs like this:
      rw-rw-r- 1 kylin kylin 4038144 5月 31 10:38 streaming_STREAMING_CUBE_1464381000000_1464381300000.log
      rw-rw-r- 1 kylin kylin 3954941 5月 31 10:38 streaming_STREAMING_CUBE_1464387000000_1464387300000.log
      rw-rw-r- 1 kylin kylin 4333603 5月 31 10:38 streaming_STREAMING_CUBE_1464360300000_1464360600000.log
      rw-rw-r- 1 kylin kylin 3966647 5月 31 10:38 streaming_STREAMING_CUBE_1464386100000_1464386400000.log
      rw-rw-r- 1 kylin kylin 3899396 5月 31 10:38 streaming_STREAMING_CUBE_1464390900000_1464391200000.log
      rw-rw-r- 1 kylin kylin 4268748 5月 31 10:38 streaming_STREAMING_CUBE_1464364800000_1464365100000.log
      rw-rw-r- 1 kylin kylin 4273006 5月 31 10:38 streaming_STREAMING_CUBE_1464364500000_1464364800000.log
      rw-rw-r- 1 kylin kylin 4372131 5月 31 10:38 streaming_STREAMING_CUBE_1464357600000_1464357900000.log
      rw-rw-r- 1 kylin kylin 4423483 5月 31 10:38 streaming_STREAMING_CUBE_1464354000000_1464354300000.log
      rw-rw-r- 1 kylin kylin 3970905 5月 31 10:38 streaming_STREAMING_CUBE_1464385800000_1464386100000.log
      rw-rw-r- 1 kylin kylin 3975754 5月 31 10:38 streaming_STREAMING_CUBE_1464385500000_1464385800000.log
      rw-rw-r- 1 kylin kylin 4342175 5月 31 10:38 streaming_STREAMING_CUBE_1464359700000_1464360000000.log
      rw-rw-r- 1 kylin kylin 4243116 5月 31 10:38 streaming_STREAMING_CUBE_1464366600000_1464366900000.log
      rw-rw-r- 1 kylin kylin 4302896 5月 31 10:38 streaming_STREAMING_CUBE_1464362400000_1464362700000.log
      rw-rw-r- 1 kylin kylin 4119274 5月 31 10:38 streaming_STREAMING_CUBE_1464375300000_1464375600000.log
      rw-rw-r- 1 kylin kylin 4456038 5月 31 10:38 streaming_STREAMING_CUBE_1464353400000_1464353700000.log
      rw-rw-r- 1 kylin kylin 4337883 5月 31 10:38 streaming_STREAMING_CUBE_1464360000000_1464360300000.log
      rw-rw-r- 1 kylin kylin 3892620 5月 31 10:38 streaming_STREAMING_CUBE_1464391500000_1464391800000.log
      rw-rw-r- 1 kylin kylin 4367851 5月 31 10:38 streaming_STREAMING_CUBE_1464357900000_1464358200000.log

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcswinner001 dcswinner
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: