You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Pramod (JIRA)" <ji...@apache.org> on 2015/11/02 07:18:27 UTC
[jira] [Commented] (FLUME-2831) Flume 0.9.4 : Windows client :
Unable to start HTTP server
[ https://issues.apache.org/jira/browse/FLUME-2831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984792#comment-14984792 ]
Pramod commented on FLUME-2831:
-------------------------------
I want to start the flume agent in my windows server, I have written the commands and error that I have got,
1. Executing the following command from cmd :-
C:\Program Files\apache-flume-1.6.0-bin>powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -File C:\apache-flume-1.6.0-bin\bin\flume-ng.ps1
I am getting the following lines with a prompt command:
cmdlet flume-ng.ps1 at command pipeline position 1
Supply values for the following parameters:
command:
2. I am providing the following command
command: bin\flume-ng agent -conf .\conf -n source_agent -f conf\flume.conf -H 172.19.80.104 -p 41414 -Dflume.root.logger=DEBUG
and I am getting the following error message :-
C:\apache-flume-1.6.0-bin\bin\flume-ng.ps1 : Cannot validate argument on parameter
'command'. The argument "bin\flume-ng agent -conf .\conf -n source_agent -f
conf\flume.conf -H 172.19.80.104 -p 41414 -Dflume.root.logger=DEBUG" does not
belong to the set "help,agent,avro-client,version" specified by the ValidateSet
attribute. Supply an argument that is in the set and then try the command
again.
+ CategoryInfo : InvalidData: (:) [flume-ng.ps1], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,flume-ng.ps1
Please help me to fix this issue, I am not able to start the flume agent because of this error.
If I get the proper command to start the agent that will be great help for me.
Thanks in advance.
> Flume 0.9.4 : Windows client : Unable to start HTTP server
> -----------------------------------------------------------
>
> Key: FLUME-2831
> URL: https://issues.apache.org/jira/browse/FLUME-2831
> Project: Flume
> Issue Type: IT Help
> Components: Node
> Affects Versions: v0.9.4
> Environment: Node OS : Windows 8
> Master OS : CentOS 6.4
> Reporter: Pramod
>
> We are trying to collect log files collected on a Windows machine into CentOS collector. Flume master is placed on the CentOS machine.
> While starting the flume node on Windows node, we are getting the below messages :
> 1. com.cloudera.util.InternalHttpServer$InternalHttpServerException: Unable to start HTTP server
> 2. 15/10/29 11:46:13 INFO agent.MultiMasterRPC: No active master RPC connection
> 15/10/29 11:46:14 WARN agent.MultiMasterRPC: Could not connect to any master nodes (tried 1: [localhost:35872])
> Kindly assist
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)