0
다음은 내 conf 파일이며 flume start 명령을 실행하면 로그의 아래 단계를 수행 한 후에 응답을 얻을 수 없습니다. 내가 잘못하고 수정하는 방법을 검토하고 도와 주시겠습니까?flume 명령이 시퀀스 생성기 생성을 위해 멈췄습니다
seq_gen.conf
파일 세부 사항 및 오류 로그 :이 선 후
# Naming the components on the current agent
SeqGenAgent.sources = SeqSource
SeqGenAgent.channels = MemChannel
SeqGenAgent.sinks = HDFS
# Describing/Configuring the source
SeqGenAgent.sources.SeqSource.type = seq
# Describing/Configuring the sink
SeqGenAgent.sinks.HDFS.type = hdfs
SeqGenAgent.sinks.HDFS.hdfs.path = hdfs://localhost:9000/user/Hadoop/seqgen_data/
SeqGenAgent.sinks.HDFS.hdfs.filePrefix = log
SeqGenAgent.sinks.HDFS.hdfs.rollInterval = 0
SeqGenAgent.sinks.HDFS.hdfs.rollCount = 100
SeqGenAgent.sinks.HDFS.hdfs.fileType = DataStream
# Describing/Configuring the channel
SeqGenAgent.channels.MemChannel.type = memory
SeqGenAgent.channels.MemChannel.capacity = 1000
SeqGenAgent.channels.MemChannel.transactionCapacity = 100
# Binding the source and sink to the channel
SeqGenAgent.sources.SeqSource.channels = MemChannel
SeqGenAgent.sinks.HDFS.channel = MemChannel
Logs:
hare/hadoop/mapreduce/lib/jersey-server-1.9.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/junit-4.11.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib/xz-1.0.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1-tests.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/lib-examples:/usr/local/hadoop-2.7.1/share/hadoop/mapreduce/sources:/usr/local/hadoop-2.7.1/contrib/capacity-scheduler/*.jar:/usr/local/hive/lib/*' -Djava.library.path=:/usr/local/hadoop-2.7.1/lib org.apache.flume.node.Application --conf-file /usr/local/flume/conf/seq_gen.conf --name SeqGenAgent
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/flume/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hive/lib/hive-jdbc-2.0.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
응답이 없습니다 내가 아래의 명령을 실행하면. 도와 주실 수 있겠습니까?
[email protected]:/usr/local/flume/bin$ ./flume-ng agent --conf /usr/local/flume/conf --conf-file /usr/local/flume/conf/seq_gen.conf --name SeqGenAgent
이 질문에는 답변을 제공 할만한 정보가 충분하지 않습니다. 구성은 명령과 마찬가지로 유용하지만 로그에는 아무 것도 표시되지 않습니다. 명령이 멈 추었습니까? 그것은 직접 프롬프트로 돌아갈 수 있습니까? (만약 그렇다면,'echo $?'에서 리턴 코드는 무엇입니까?) 별도의 터미널에서'ps aux' 또는 유사한 것을 사용하여 실행중인'flume-ng' 에이전트를 볼 수 있습니까? 이 세부 사항 및 다른 진단으로 질문을 편집하십시오 - 무엇을 시도 했습니까? –