Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9577

Log process environment variable on HBase service startup

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.95.2, 0.94.11
    • Fix Version/s: 0.96.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      HBase services (Master and Regionserver) logs environment variables to the log on startup. This can be disabled by setting "hbase.envvars.logging.disabled" to "true".

      If enabled, you can also exclude environment variables containing certain substrings by setting "hbase.envvars.logging.skipwords" to comma separated list of such substrings.
      Show
      HBase services (Master and Regionserver) logs environment variables to the log on startup. This can be disabled by setting "hbase.envvars.logging.disabled" to "true". If enabled, you can also exclude environment variables containing certain substrings by setting "hbase.envvars.logging.skipwords" to comma separated list of such substrings.

      Description

      HBase services already logs information related to JVM properties and command line arguments used to start the services which have been immensely helpful to investigate issues.

      One thing that they do not log is the environment variables and an unintended variable in the environment could lead to a scenario not reproducible anywhere else including its original location if the service is restarted differently.

      We should log environment variables (excluding those which may contains credentials) on service startup with option to disable this logging.

        Attachments

        1. HBASE-9577.patch
          4 kB
          Aditya Kishore
        2. HBASE-9577.patch
          4 kB
          Aditya Kishore
        3. HBASE-9577.patch
          5 kB
          Aditya Kishore

          Activity

            People

            • Assignee:
              adityakishore Aditya Kishore
              Reporter:
              adityakishore Aditya Kishore

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment