If that's the scenario then you can either use script based distributed and configure script on the node manager side or set centralised and use the yarn cli to set the attributes
Regards, + Naga On Thu, 5 Aug 2021, 4:17 am Yair Ogen, <[email protected]> wrote: > Thanks. My question was more in the sense of updating this dynamically in > different periods of time during the cluster life cycle. > > I was looking for some cli or other means of doing this. > > Does anything like this exist? > ------------------------------ > *From:* Naganarasimha Garla <[email protected]> > *Sent:* Wednesday, August 4, 2021 10:27:18 PM > *To:* [email protected] <[email protected]> > *Cc:* [email protected] <[email protected]> > *Subject:* Re: setting label to node in Distributed mode > > Hi @Yair, > > I think documentation is pretty detailed @ > https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/NodeAttributes.html#Distributed_Node_Attributes_mapping > . > > yarn.nodemanager.node-attributes.provider.configured-node-attributes needs > to be configured for your requirements... > > Regards, > Naga > > On Wed, 4 Aug 2021, 8:49 pm , <[email protected]> wrote: > > Hi, > > > > I have a cluster that is defined as ‘Distributed“ with “config” > node-labels provider. > > > > I can’t see to find which cli I can use to add a label to an existing node. > > > > Any guidance is appreciated. > > > > Thanks, > > > > Yair > >
