Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2689

reloading conf file leads syslogTcpSource not receives any event

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.5.1
    • 1.8.1
    • Sinks+Sources
    • None
    • configuring syslog sending logs to remote flume agent

    Description

      Reloading conf file will stop old syslog source and start new syslog source. Stopping syslog tcp source only closes the NioServerSocketChannel, resulting in the client sends data through the old channel. In that case, the new source never receives data. The tcpdump shows the events have received but the new source doesn't and ss shows the client connection stays same with old one.
      The right way to stop syslog source is close both the NioSocketChannel and NioServerSocketChannel, and shutdown the executor.

      Attachments

        1. flume-2689-1.patch
          5 kB
          Wei Yang
        2. flume-2689-3.patch
          6 kB
          Wei Yang
        3. flume-2689-trunk.patch
          5 kB
          Wei Yang

        Activity

          People

            wy96f Wei Yang
            wy96f Wei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: