Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

yarn.exceptions.YarnRuntimeException: org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException): Cannot append to files with striped block /system/yarn/node-labels/nodelabel.editlog

yarn.exceptions.YarnRuntimeException: org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException): Cannot append to files with striped block /system/yarn/node-labels/nodelabel.editlog

Explorer

I run following command

yarn rmadmin -addToClusterNodeLabels "X"


but active resource manager die and I get following error


2019-03-27 22:47:53,198 INFO nodelabels.CommonNodeLabelsManager (CommonNodeLabelsManager.java:addToCluserNodeLabels(335)) - Add labels: [<X:exclusivity=true>]

2019-03-27 22:47:53,207 ERROR nodelabels.CommonNodeLabelsManager (CommonNodeLabelsManager.java:handleStoreEvent(201)) - Failed to store label modification to storage

2019-03-27 22:47:53,207 FATAL event.AsyncDispatcher (AsyncDispatcher.java:dispatch(203)) - Error in dispatcher thread

org.apache.hadoop.yarn.exceptions.YarnRuntimeException: org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException): Cannot append to files with striped block /system/yarn/node-labels/nodelabel.editlog

at org.apache.hadoop.hdfs.server.namenode.FSDirAppendOp.appendFile(FSDirAppendOp.java:112)

at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(FSNamesystem.java:2639)

at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.append(NameNodeRpcServer.java:805)

at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.append(ClientNamenodeProtocolServerSideTranslatorPB.java:487)

at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)

at org.apache.hadoop.ipc.R


I need help


2 REPLIES 2
Highlighted

Re: yarn.exceptions.YarnRuntimeException: org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException): Cannot append to files with striped block /system/yarn/node-labels/nodelabel.editlog

Expert Contributor

Have you followed these steps before adding nodelabels to yarn cluster ?

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_yarn-resource-management/content/configu...

Highlighted

Re: yarn.exceptions.YarnRuntimeException: org.apache.hadoop.ipc.RemoteException(java.lang.UnsupportedOperationException): Cannot append to files with striped block /system/yarn/node-labels/nodelabel.editlog

Explorer

Thank you for reply :)

I resolve this issue.

erasure coding made file strip
so i set erasure coding directory except /system

Thank you

Don't have an account?
Coming from Hortonworks? Activate your account here