[ https://issues.apache.org/jira/browse/HADOOP-11832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anu Engineer resolved HADOOP-11832. ----------------------------------- Resolution: Won't Fix > spnego authentication logs only log in debug mode so its difficult to debug > auth isues > -------------------------------------------------------------------------------------- > > Key: HADOOP-11832 > URL: https://issues.apache.org/jira/browse/HADOOP-11832 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.5.2 > Reporter: Anu Engineer > Assignee: Anu Engineer > Attachments: hadoop-11832.001.patch > > > The following logs should be at info level so that auth failures can be > debugged more easily. > {code} > 2015-03-18 06:49:40,397 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > filter org.apache.hadoop.hdfs.web.AuthFilter > 2015-03-18 06:49:40,397 DEBUG server.AuthenticationFilter > (AuthenticationFilter.java:doFilter(505)) - Request > [http://os-hdp-2-2-r6-1426637581-sec-falcon-1-3.novalocal:50070/webhdfs/v1/?op=GETDELEGATIONTO > KEN&user.name=hrt_qa] triggering authentication > 2015-03-18 06:49:40,397 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - > RESPONSE /webhdfs/v1/ 401 > 2015-03-18 06:49:40,549 DEBUG BlockStateChange > (BlockManager.java:computeReplicationWorkForBlocks(1499)) - BLOCK* > neededReplications = 1357 pendingReplications = 0 > 2015-03-18 06:49:40,634 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - EOF > 2015-03-18 06:49:40,639 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - REQUEST > /webhdfs/v1/ on org.mortbay.jetty.HttpConnection@33c174b5 > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - > sessionManager=org.mortbay.jetty.servlet.HashSessionManager@a072d8c > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - > session=null > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - > servlet=com.sun.jersey.spi.container.servlet.ServletContainer-1953517520 > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - > chain=NoCacheFilter->NoCacheFilter->safety->org.apache.hadoop.hdfs.web.AuthFilter->com.sun.jersey.spi.container.servlet.ServletContainer-1953517520 > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - servlet > holder=com.sun.jersey.spi.container.servlet.ServletContainer-1953517520 > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > filter NoCacheFilter > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > filter NoCacheFilter > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > filter safety > 2015-03-18 06:49:40,640 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > filter org.apache.hadoop.hdfs.web.AuthFilter > 2015-03-18 06:49:40,640 DEBUG server.AuthenticationFilter > (AuthenticationFilter.java:doFilter(505)) - Request > [http://os-hdp-2-2-r6-1426637581-sec-falcon-1-3.novalocal:50070/webhdfs/v1/?op=GETDELEGATIONTOKEN&user.name=hrt_qa] > triggering authentication > 2015-03-18 06:49:40,642 DEBUG server.AuthenticationFilter > (AuthenticationFilter.java:doFilter(517)) - Request > [http://os-hdp-2-2-r6-1426637581-sec-falcon-1-3.novalocal:50070/webhdfs/v1/?op=GETDELEGATIONTOKEN&user.name=hrt_qa] > user [hrt_qa] authenticated > 2015-03-18 06:49:40,642 DEBUG mortbay.log (Slf4jLog.java:debug(40)) - call > servlet com.sun.jersey.spi.container.servlet.ServletContainer-1953517520 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)