将高频数据流式传输到hdfs

时间:2017-02-12 21:03:15

标签: hdfs flume

错误node.Application:运行时发生致命错误。例外情况如下。

org.apache.commons.cli.MissingOptionException: Missing required option: f    
    at org.apache.commons.cli.Parser.checkRequiredOptions (Parser.java:299)
    at org.apache.commons.cli.Parser.parse (Parser.java:231)
    at org.apache.commons.cli.Parser.parse (Parser.java:85)
    at org.apache.flume.node.Application.main (Application.java:252)`ERROR node.Application: A fatal error occurred while running. Exception follows.

org.apache.commons.cli.MissingOptionException: Missing required option: f
at org.apache.commons.cli.Parser.checkRequiredOptions (Parser.java:299) at org.apache.commons.cli.Parser.parse (Parser.java:231) at org.apache.commons.cli.Parser.parse (Parser.java:85) at org.apache.flume.node.Application.main (Application.java:252)

以上错误是我在运行此命令后最终得到的:

./ bin / flume-ng agent -n TwitterAgent -c conf -f /usr/lib/apache-flume-1.4.0-bin/conf/flume.conf

有人可以帮助我修复瘦问题,以便我能够将Twitter数据流式传输到hdfs吗? `

0 个答案:

没有答案