Protocol message end-group tag did not match expected tag
2017-03-30 09:41
1296 查看
Exception in thread "main" java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.; Host Details : local host is: "PC-20161106JQPT/192.168.131.173"; destination host is: "cdhmaster":9000; at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:776) at org.apache.hadoop.ipc.Client.call(Client.java:1480) at org.apache.hadoop.ipc.Client.call(Client.java:1407) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229) at com.sun.proxy.$Proxy9.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:771) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) at com.sun.proxy.$Proxy10.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2116) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305) at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1317) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424) at org.apache.hadoop.fs.FileUtil.checkDest(FileUtil.java:496) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:348) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933) at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1898) at com.yihu.cwd.hadoop.HadoopUtil.fileUploadCopy(HadoopUtil.java:101) at com.yihu.cwd.hadoop.HadoopUtil.main(HadoopUtil.java:216) Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag. at com.google.protobuf.InvalidProtocolBufferException.invalidEndTag(InvalidProtocolBufferException.java:94) at com.google.protobuf.CodedInputStream.checkLastTagWas(CodedInputStream.java:124) at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:202) at com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(AbstractParser.java:241) at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:253) at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:259) at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:49) at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcHeaderProtos.java:3167) at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:1081) at org.apache.hadoop.ipc.Client$Connection.run(Client.java:974)
版本 cdh5
解决方式,查看CHD管理界面发现端口不是9000 是8022
相关文章推荐
- iOS 使用ProtocolBuffer 时报 Protocol message end-group tag did not match expected tag.
- Submitted credentials for token[***]did not match the expected credentials
- org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [41] did not match expected type [java.lang.Integer (n/a)];
- Submitted credentials for token did not match the expected credentials.
- 最权威正解:Submitted credentials for token [xxx]did not match the expected credentials.
- Parameter value [Fri Nov 11 00:00:00 CST 2016] did not match expected type [java.util.Date (未解决 求评论
- Malformed POM expected START_TAG or END_TAG not TEXT
- eclipse 中导入源码出现 The declared package does not match the expected package的解决方法
- The declared package does not match the expected package
- Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version
- The declared package "" does not match the expected package "javaControlSql"
- 解决:The declared package..does not match the expected package..(转自百度空间)
- Unable to parse template "Annotation" Error message: This template did not produce a Java class or a
- tag 'select', field 'list', name 'did': The requested list key '#id' could not be resolved as a c
- fatal: pathspec 'readme.txt' did not match any files
- git rm–r folder fatal:pathspec "" did not match any files
- The declared package "com.hddaily.socketpool" does not match the expected
- Device chain in Chain Description File does not match physical device chain expected 2 device(s) but found 1 device(s)
- The declared package does not match the expected package
- tomcat启动的时候发现一个错误 Setting property 'debug' to '0' did not find a matchin