ERROR node.Application: A fatal error occurred while running. Exception follows. org.apache.commons.cli.MissingOptionException: Missing required option: n

0 votes

Hi Guys,

I installed flume in my system. But when I start flume service using the below command, I got an error.

flume-ng agent –n agent1 –f /home/hadoop/HADOOP/apache-flume-1.6.0-bin/conf/twitter.conf
ERROR node.Application: A fatal error occurred while running. Exception follows. org.apache.commons.cli.MissingOptionException: Missing required option: n 
Apr 23 in Big Data Hadoop by akhtar
• 11,270 points
47 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you missed to add the conf. directory in your command. You need to specify the agent name, the config directory, and the config file on the command line to start the flume service.

bin/flume-ng agent -n $agent_name -c ./conf/ -f conf/twitter.conf

Hope this will help.

answered Apr 23 by MD
• 24,500 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Hadoop: Error: Could not find or load main class org.apache.hadoop.util.VersionInfo

This seems like a path issue. Add the ...READ MORE

answered Nov 16, 2018 in Big Data Hadoop by Omkar
• 69,060 points
4,736 views
0 votes
1 answer

Hadoop Java: org.apache.hadoop.conf.Configuration does not exist error

To solve this error, add hadoop-common to ...READ MORE

answered Nov 20, 2018 in Big Data Hadoop by Omkar
• 69,060 points
1,826 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,920 points
5,116 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,920 points
732 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
30,402 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,310 points
1,907 views
0 votes
1 answer

ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet!

Hi@akhtar, This error occurs if the hbase server ...READ MORE

answered Mar 30 in Big Data Hadoop by MD
• 24,500 points
156 views