Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      If the SyslogAgent fails to start, calling stop() will result in an NPE.

        Activity

        Hide
        hshreedharan Hari Shreedharan added a comment -

        +1. Please feel free to commit.

        Show
        hshreedharan Hari Shreedharan added a comment - +1. Please feel free to commit.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit c7de4ba5ca70c42099a2f9bf4ad2de3fdcbb7d30 in flume's branch refs/heads/trunk from Mike Percy
        [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=c7de4ba ]

        FLUME-2952. SyslogAgent: Avoid NPE on stop()

        Minor test bug fix

        Reviewed by Hari.

        Show
        jira-bot ASF subversion and git services added a comment - Commit c7de4ba5ca70c42099a2f9bf4ad2de3fdcbb7d30 in flume's branch refs/heads/trunk from Mike Percy [ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=c7de4ba ] FLUME-2952 . SyslogAgent: Avoid NPE on stop() Minor test bug fix Reviewed by Hari.
        Hide
        mpercy Mike Percy added a comment -

        Thanks Hari!

        Pushed to trunk.

        Show
        mpercy Mike Percy added a comment - Thanks Hari! Pushed to trunk.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Flume-trunk-hbase-1 #180 (See https://builds.apache.org/job/Flume-trunk-hbase-1/180/)
        FLUME-2952. SyslogAgent: Avoid NPE on stop() (mpercy: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=c7de4ba5ca70c42099a2f9bf4ad2de3fdcbb7d30)

        • flume-ng-tests/src/test/java/org/apache/flume/test/util/SyslogAgent.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Flume-trunk-hbase-1 #180 (See https://builds.apache.org/job/Flume-trunk-hbase-1/180/ ) FLUME-2952 . SyslogAgent: Avoid NPE on stop() (mpercy: http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=c7de4ba5ca70c42099a2f9bf4ad2de3fdcbb7d30 ) flume-ng-tests/src/test/java/org/apache/flume/test/util/SyslogAgent.java

          People

          • Assignee:
            mpercy Mike Percy
            Reporter:
            mpercy Mike Percy
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development