You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by ja...@apache.org on 2014/01/20 23:13:33 UTC
git commit: FLUME-2302. TestHDFS Sink fails with Can't get Kerberos
realm'
Updated Branches:
refs/heads/trunk b8c550168 -> 7951c4e9b
FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm'
(Hari Shreedharan via Jarek Jarcec Cecho)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/7951c4e9
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/7951c4e9
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/7951c4e9
Branch: refs/heads/trunk
Commit: 7951c4e9b2f10fe25cac51c09f041d75f9122568
Parents: b8c5501
Author: Jarek Jarcec Cecho <ja...@apache.org>
Authored: Mon Jan 20 14:12:29 2014 -0800
Committer: Jarek Jarcec Cecho <ja...@apache.org>
Committed: Mon Jan 20 14:12:29 2014 -0800
----------------------------------------------------------------------
.../test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flume/blob/7951c4e9/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
----------------------------------------------------------------------
diff --git a/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java b/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
index 4337ef4..87918d1 100644
--- a/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
+++ b/flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
@@ -74,6 +74,11 @@ public class TestHDFSEventSink {
private static final Logger LOG = LoggerFactory
.getLogger(HDFSEventSink.class);
+ static {
+ System.setProperty("java.security.krb5.realm", "flume");
+ System.setProperty("java.security.krb5.kdc", "blah");
+ }
+
private void dirCleanup() {
Configuration conf = new Configuration();
try {