[ 
https://issues.apache.org/jira/browse/HADOOP-10015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13786670#comment-13786670
 ] 

Haohui Mai commented on HADOOP-10015:
-------------------------------------

Hi [~daryn],

I should have explained it more clearly.

During in-house testing, we (hortonworks) have observed a lot of these warnings 
when doing distcp in secure clusters. To further demonstrate the problem, I 
extract some basic logic in distcp into a unit test.

The log is definitely useful, but let's put it into the DEBUG level so that it 
won't confuse the operators then.

> UserGroupInformation prints out excessive ERROR warnings
> --------------------------------------------------------
>
>                 Key: HADOOP-10015
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10015
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HADOOP-10015.000.patch, HADOOP-10015.001.patch
>
>
> In UserGroupInformation::doAs(), it prints out a log at ERROR level whenever 
> it catches an exception.
> However, in some cases IOExceptions are expected -- For example, the upp  
> (e.g., calling exists() in filesystem). As a result, these error logs are 
> benign but they are printed at the ERROR level, which confuses the operators.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to