Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6167043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:26:38+00:00 2026-05-23T22:26:38+00:00

Not sure if this is a SO, SuperUser or ServerFault question, but I just

  • 0

Not sure if this is a SO, SuperUser or ServerFault question, but I just installed the FlumeNode service on my windows machine and I wanted to send logging infromation via a named pipe to the FlumeNode.

The Flume Cookbook states that we can tail the named pipe to Flume, but it seems that this requires cygwin and it’s unlikely that we’re going to install cygwin on all the Flume nodes. Here are the instructions from the cookbook:

Console sources are useful because we can pipe data into Flume
directly. The next example pipes data from a program into Flume which
then delivers it.

$ <external process> | flume node_nowatch -1 -s -n foo -c
'foo:console|agentBESink("collector");'

Ideally, you could write data to a named pipe and just have Flume read
data from a named pipe using text or tail. Unfortunately, this version
of Flume’s text and tail are not currently compatible with named pipes
in a Linux environment. However, you could pipe data to a Flume node
listening on the stdin console:

$ tail -f namedpipe | flume node_nowatch -1 -s -n foo -c
'foo:console|agentBESink;'

Or you can use the exec source to get its output data:

$ flume node_nowatch -1 -s -n bar -c 'bar:exec("cat
pipe")|agentBESink;'

I also found a discussion on google groups regarding this idea and it seems that the Claudera people say it’s possible, but there is nothing specific explaining how Flume would connect to a pipe and if it acts as the server or a client in that case.

Ideally I should be able to create a NamedPipeClientSteram or a NamedPipeServerStream in my application. The client requires a named pipe server to be running and the clientlooks for clients which connect to it. I assume that the Flume will be acting as a server, but I can’t confirm this. E.g.

NamedPipeClientStream pipeClient = new NamedPipeClientStream(".", "FlumeNamedPipe", PipeDirection.Out, pIpeOptions.None);
pipeClient.Connect();

Is there something that can be added to the command line arguments, when starting the Flume service in Windows, in order to tail a pipe?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:26:40+00:00Added an answer on May 23, 2026 at 10:26 pm

    I got a response from Claudera and they state that since windows does not have a built-in tail program, it’s required that one uses Cygwin for such functionality. We don’t want to install cygwin, so I’m looking for an alternative solution.

    According to Claudera, the alternative is to use C# Thrift bindings which would send the data a Flume agent with a Thrift source on the same Windows box. I’m not exactly sure how you specify a Thrift source for a Flume agent, but supposedly it can be done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure whether this question belongs on StackOverflow or SuperUser, but here goes
Not sure this is a programming question, but we use LaTeX for all our
I am not sure if this question belongs here or superuser (or other). If
I am not sure if this belongs to Stackoverflow or Superuser but I thought
I'm not sure this question has the best of titles but I'm not sure
Not sure if this will get closed as not a real question but I
I am not sure if this belongs on serverfault or superuser. I would like
I'm not quite sure if I can ask this question here or on SuperUser
Not sure if this belongs on Stack, SuperUser or ServerFault, so feel free to
im not sure this is a good question to post but here is my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.