Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23812

Support configuration of the RocksDB info logging via configuration

    XMLWordPrintableJSON

Details

    • Hide
      With RocksDB bumped to 6.20.3 (FLINK-14482), you can now also configure a rolling info logging strategy by configuring it accordingly via newly added state.backend.rocksdb.log.* settings. This can be helpful for debugging RocksDB (performance) issues in containerized environments where the local data dir is volatile but the logs should be retained on a separate volume mount.
      Show
      With RocksDB bumped to 6.20.3 ( FLINK-14482 ), you can now also configure a rolling info logging strategy by configuring it accordingly via newly added state.backend.rocksdb.log.* settings. This can be helpful for debugging RocksDB (performance) issues in containerized environments where the local data dir is volatile but the logs should be retained on a separate volume mount.

    Description

      Since FLINK-14482 has been merged now, we should also allow users to configure more than just the log level (FLINK-20911) but also the following parameters so that they can safely enable RocksDB logging again (once disabled by default in FLINK-15068) by using a rolling logger, for example:

      • max log file size via state.backend.rocksdb.log.max-file-size
      • logging files to keep via state.backend.rocksdb.log.file-num
      • log directory state.backend.rocksdb.log.dir, e.g. to put these logs onto a (separate) volume that may not be local and is retained after container shutdown for debugging purposes

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: