You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2013/09/19 01:44:51 UTC
[jira] [Commented] (HBASE-9577) Log process environment variable on
HBase service startup
[ https://issues.apache.org/jira/browse/HBASE-9577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771403#comment-13771403 ]
Nick Dimiduk commented on HBASE-9577:
-------------------------------------
A couple thoughts:
# should probably leave it disabled by default, rather than enabled.
# why not always log this info at log level DEBUG or TRACE?
# how about making the exclusion keywords configurable as well? ie, I may want to exclude "passwd", not just "password"
> Log process environment variable on HBase service startup
> ---------------------------------------------------------
>
> Key: HBASE-9577
> URL: https://issues.apache.org/jira/browse/HBASE-9577
> Project: HBase
> Issue Type: Improvement
> Affects Versions: 0.95.2, 0.94.11
> Reporter: Aditya Kishore
> Assignee: Aditya Kishore
> Priority: Minor
> Labels: troubleshooting
> Fix For: 0.96.0
>
> Attachments: HBASE-9577.patch, HBASE-9577.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira