Flume
  1. Flume
  2. FLUME-2302

TestHDFS Sink fails with Can't get Kerberos realm

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Adding this to the test fixes it:

        static {
          System.setProperty("java.security.krb5.realm", "flume");
          System.setProperty("java.security.krb5.kdc", "blah");
        }
      

      The same issue caused HBASE-8842, and the fix is pretty much the same.

      1. FLUME-2302.patch
        0.8 kB
        Hari Shreedharan

        Activity

        Hari Shreedharan created issue -
        Hide
        Hari Shreedharan added a comment -

        This fix is included in my patch for FLUME-1618

        Show
        Hari Shreedharan added a comment - This fix is included in my patch for FLUME-1618
        Hari Shreedharan made changes -
        Field Original Value New Value
        Attachment FLUME-2302.patch [ 12624016 ]
        Hide
        ASF subversion and git services added a comment -

        Commit 7951c4e9b2f10fe25cac51c09f041d75f9122568 in branch refs/heads/trunk from Jarek Jarcec Cecho
        [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7951c4e ]

        FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm'

        (Hari Shreedharan via Jarek Jarcec Cecho)

        Show
        ASF subversion and git services added a comment - Commit 7951c4e9b2f10fe25cac51c09f041d75f9122568 in branch refs/heads/trunk from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=7951c4e ] FLUME-2302 . TestHDFS Sink fails with Can't get Kerberos realm' (Hari Shreedharan via Jarek Jarcec Cecho)
        Hide
        ASF subversion and git services added a comment -

        Commit 2b0233906e50ac99c1d22020c86d03c11fe13220 in branch refs/heads/flume-1.5 from Jarek Jarcec Cecho
        [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2b02339 ]

        FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm'

        (Hari Shreedharan via Jarek Jarcec Cecho)

        Show
        ASF subversion and git services added a comment - Commit 2b0233906e50ac99c1d22020c86d03c11fe13220 in branch refs/heads/flume-1.5 from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=2b02339 ] FLUME-2302 . TestHDFS Sink fails with Can't get Kerberos realm' (Hari Shreedharan via Jarek Jarcec Cecho)
        Hide
        Jarek Jarcec Cecho added a comment -

        Thank you for the fix Hari Shreedharan!

        Show
        Jarek Jarcec Cecho added a comment - Thank you for the fix Hari Shreedharan !
        Jarek Jarcec Cecho made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Hari Shreedharan [ hshreedharan ]
        Fix Version/s v1.5.0 [ 12324642 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in flume-trunk #542 (See https://builds.apache.org/job/flume-trunk/542/)
        FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm' (jarcec: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=7951c4e9b2f10fe25cac51c09f041d75f9122568)

        • flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
        Show
        Hudson added a comment - SUCCESS: Integrated in flume-trunk #542 (See https://builds.apache.org/job/flume-trunk/542/ ) FLUME-2302 . TestHDFS Sink fails with Can't get Kerberos realm' (jarcec: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=7951c4e9b2f10fe25cac51c09f041d75f9122568 ) flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestHDFSEventSink.java
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2d 4h 38m 1 Jarek Jarcec Cecho 20/Jan/14 22:14

          People

          • Assignee:
            Hari Shreedharan
            Reporter:
            Hari Shreedharan
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development