flume启动报错

编程入门 行业动态 更新时间:2024-10-06 20:40:05
01 八月 2019 16:05:28,201 WARN  [SinkRunner-PollingRunner-DefaultSinkProcessor] (.apache.flume.sink.hdfs.HDFSEventSink.process:443)  - HDFS IO error
java.io.IOException: Failed on local exception: .google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.; Host Details : local host is: "cm1/222.22.91.81"; destination host is: "cm1":9000;at .apache.hadoop.net.NetUtils.wrapException(NetUtils.java:772)at .apache.hadoop.ipc.Client.call(Client.java:1472)at .apache.hadoop.ipc.Client.call(Client.java:1399)at .apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)at .sun.proxy.$Proxy12.create(Unknown Source)at .apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.create(ClientNamenoat sun.reflect.GeneratedMethodAessor7.invoke(Unknown Source)at sun.reflect.DelegatingMethodAessorImpl.invoke(DelegatingMethodAessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at .apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.jaat .apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102at .apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1593)at .apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:397)at .apache.hadoop.hdfs.DistributedFileSystem$6.doCall(DistributedFileSystem.java:393)at .apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)at .apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:393)at .apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:337)at .apache.hadoop.fs.FileSystem.create(FileSystem.java:908)at .apache.hadoop.fs.FileSystem.create(FileSystem.java:889)at .apache.hadoop.fs.FileSystem.create(FileSystem.java:786)at .apache.hadoop.fs.FileSystem.create(FileSystem.java:775)at .apache.flume.sink.hdfs.HDFSDataStream.doOpen(HDFSDataStream.java:81)at .apache.flume.sink.hdfs.HDFSDataStream.open(HDFSDataStream.java:108)at .apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:262)at .apache.flume.sink.hdfs.BucketWriter$1.call(BucketWriter.java:252)at .apache.flume.sink.hdfs.BucketWriter$9$1.run(BucketWriter.java:701)at .apache.flume.auth.SimpleAuthenticator.execute(SimpleAuthenticator.java:50)at .apache.flume.sink.hdfs.BucketWriter$9.call(BucketWriter.java:698)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)at java.lang.Thread.run(Thread.java:748)
Caused by: .google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.at .google.protobuf.InvalidProtocolBufferException.invalidEndTag(InvalidProtocolBufferException.java:94)at .google.protobuf.CodedInputStream.checkLastTagWas(CodedInputStream.java:124)at .google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:202)at .google.protobuf.AbstractParser.parsePartialDelimitedFrom(AbstractParser.java:241)at .google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:253)at .google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:259)at .google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:49)at .apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcHeaderProtos.java:3167)at .apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:1072)at .apache.hadoop.ipc.Client$Connection.run(Client.java:966)

解决方式,查看CHD管理界面发现端口不是9000 是8022

更多推荐

报错,flume

本文发布于:2023-05-28 00:47:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/308238.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   flume

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!