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

Daniel Templeton commented on HDFS-9780:
----------------------------------------

The sink is running under the test user (i.e. me) whereas the file system only 
knows about the two users I create: hdfs and sink.  That would seem the issue I 
was having.  I now have a different issue.  When I use the current user instead 
of creating the sink user I get an even less informative GSS exception saying 
it can't setup the connection for my user.  I have validated that the 
principals are the same on both sides.

This is clearly some test setup oddity, because it works fine in a real 
cluster.  Rather than digging all the way to the bottom of this issue here, I'd 
rather stick with the static variable to pass in an fs instance that works.

[~rkanter], 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?

I think we should take the interval setting to a new JIRA.  I'll file one 
shortly.

> 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
>
>
> 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