Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-20

Roll gc logs in run-class.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.0
    • 0.8.0
    • container

    Description

      The run-class.sh script defaults to setting up a gc.log file, if SAMZA_OPTS is undefined.

      Newer versions of Java 6, and Java 7 allow you to roll gc log files with -XX:+UseGCLogFileRotation. See http://stackoverflow.com/questions/3822097/rolling-garbage-collector-logs-in-java for details.

      Should also validate that the change doesn't break with older Java 6 versions.

      Also, sureshms was saying that there's an alternate way to do this. Suresh - care to chime in?

      Attachments

        1. samza-20.patch
          7 kB
          Raul Castro Fernandez
        2. samza-20-1.patch
          9 kB
          Raul Castro Fernandez

        Issue Links

          Activity

            People

              raulcf Raul Castro Fernandez
              criccomini Chris Riccomini
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: