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

Robert Kanter commented on HDFS-9780:
-------------------------------------

{quote}Robert Kanter, what are your feelings on using the static variables to 
pass in objects instead of jumping through the hoops required to make the sink 
able to find its own handles to those objects?{quote}
If it's too complicated, then that's fine.

In some of the new tests, we have {{initKDC()}}, followed by a few statements, 
including {{createSecureConfig()}}, which can throw an {{Exception}}.  The call 
to {{shutdownKdc()}} might not happen if {{createSecureConfig()}} throws an 
{{Exception}} because of where the try-finally is.  

> RollingFileSystemSink doesn't work on secure clusters
> -----------------------------------------------------
>
>                 Key: HDFS-9780
>                 URL: https://issues.apache.org/jira/browse/HDFS-9780
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: Daniel Templeton
>            Assignee: Daniel Templeton
>            Priority: Critical
>         Attachments: HADOOP-12775.001.patch, HADOOP-12775.002.patch, 
> HADOOP-12775.003.patch, HDFS-9780.004.patch, HDFS-9780.005.patch
>
>
> If HDFS has kerberos enabled, the sink cannot write its logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to