[jira] [Commented] (HDFS-9786) HttpFS doesn't write the proxyuser information in logfile
[ https://issues.apache.org/jira/browse/HDFS-9786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029270#comment-17029270 ] Ahmed Hussein commented on HDFS-9786: - [~ayushtkn] and [~weichiu], the description of the jira is a little bit confusing. Do you know what is "HttpFS GW"? and what is the wrong values being reported here? As far as I can see The values in the MDC do not get picked by the logger. On the other hand, FSNamesystem construct the audit message manually "{{FSNamesystem.logAuditEvent()}}". > HttpFS doesn't write the proxyuser information in logfile > - > > Key: HDFS-9786 > URL: https://issues.apache.org/jira/browse/HDFS-9786 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Heesoo Kim >Assignee: Ahmed Hussein >Priority: Major > > According to the httpfs-log4j.properties, the log pattern indicates that > {code} > log4j.appender.httpfsaudit.layout.ConversionPattern=%d{ISO8601} %5p > [%X{hostname}][%X{user}:%X{doAs}] %X{op} %m%n > {code} > However, the httpfsaudit doesn't write right information for user and > proxyuser information. It is better to write ugi on audit log in HttpFS GW. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9786) HttpFS doesn't write the proxyuser information in logfile
[ https://issues.apache.org/jira/browse/HDFS-9786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983162#comment-16983162 ] Ayush Saxena commented on HDFS-9786: Already 4 years from now, [~weichiu] seems it is safe for you to takeover. [~sookim] doesn't seems to be active. > HttpFS doesn't write the proxyuser information in logfile > - > > Key: HDFS-9786 > URL: https://issues.apache.org/jira/browse/HDFS-9786 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: Heesoo Kim >Assignee: Heesoo Kim >Priority: Major > > According to the httpfs-log4j.properties, the log pattern indicates that > {code} > log4j.appender.httpfsaudit.layout.ConversionPattern=%d{ISO8601} %5p > [%X{hostname}][%X{user}:%X{doAs}] %X{op} %m%n > {code} > However, the httpfsaudit doesn't write right information for user and > proxyuser information. It is better to write ugi on audit log in HttpFS GW. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Commented] (HDFS-9786) HttpFS doesn't write the proxyuser information in logfile
[ https://issues.apache.org/jira/browse/HDFS-9786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103594#comment-16103594 ] Wei-Chiu Chuang commented on HDFS-9786: --- Hello [~heesoo] thanks for filing this. Do you still plan to work on this jira? I'd like to take a stab at it if you don't mind. > HttpFS doesn't write the proxyuser information in logfile > - > > Key: HDFS-9786 > URL: https://issues.apache.org/jira/browse/HDFS-9786 > Project: Hadoop HDFS > Issue Type: Bug >Reporter: HeeSoo Kim >Assignee: HeeSoo Kim > > According to the httpfs-log4j.properties, the log pattern indicates that > {code} > log4j.appender.httpfsaudit.layout.ConversionPattern=%d{ISO8601} %5p > [%X{hostname}][%X{user}:%X{doAs}] %X{op} %m%n > {code} > However, the httpfsaudit doesn't write right information for user and > proxyuser information. It is better to write ugi on audit log in HttpFS GW. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org