ResourceMananger启动报错:Protocol message end-group tag did not match expected tag
2020-07-13 04:26
260 查看
启动ResouceManager不成功, 查看日志文件:
Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.; Host Details : local host is: "xxx/xxx.xx.xx.xx"; destination host is: "xxxx":9000;
使用命令
hdfs dfs -ls /同样报以上错误.
通过
curl hadoop102:9000测试, 发现可以连接到该端口. 排除namenode启动不成功的问题.
最终问题解决:
因为配置namenode的高可用, 需要使用域名空间, 做以下配置:
<property> <name>dfs.nameservices</name> <value>nameservice1</value> </property> <property> <name>fs.defaultFS</name> <value>nameservice1</value> </property>
高可用的具体配置详见: NameNode 高HA
通过命令
hdfs getconf -confKey fs.default.name查看配置是否生效
>>> hdfs getconf -confKey fs.default.name hdfs://nameservice1
相关文章推荐
- iOS 使用ProtocolBuffer 时报 Protocol message end-group tag did not match expected tag.
- Protocol message end-group tag did not match expected tag
- Parameter value [Fri Nov 11 00:00:00 CST 2016] did not match expected type [java.util.Date (未解决 求评论
- Submitted credentials for token did not match the expected credentials.
- spring-data-jpa 报错:Parameter value element [null] did not match expected type [java.lang.String (n/a
- tomcat启动的时候发现一个错误 Setting property 'debug' to '0' did not find a matchin
- 最权威正解:Submitted credentials for token [xxx]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
- TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int
- The declared package "com.dao" does not match the expected package "src.com.dao"
- The origin server did not find a current representation for the target resource or is not willing to
- MacPort升级记:MacPorts Error:Current platform "darwin 17" does not match expected platform "darwin 15"
- Description Resource Path Location Type Java compiler level does not match the version of the instal
- The origin server did not find a current representation for the target resource or is not willing to
- “The origin server did not find a current representation for the target resource or is not willing t
- 使用idea 访问struts2报错The origin server did not find a current representation for the target resource o
- 解决:The declared package does not match the expected package
- 启动tomcat后,网页输入地址出现The requested resource is not available找不到资源,求大神指点一下
- IIS无法启动,报错:The service did not respond to the start or control request in a timely fashion.