samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Zhang <>
Subject Re: Running Samza with YARN Node label support
Date Wed, 18 Dec 2019 02:12:28 GMT
Hello Debraj,

We do not have a formal documentation in open source to describe how yarn
node label is used in general. In contrast, we have an example of using
yarn node label to specify Samza container to run over "HDD" rather than
default "SSD" nodes. Please take a look at the following guide and let us
know whether it can be applied for your use case. Thank you for reporting
this issue!
=================================================Step-by-step guide


   Add the *yarn.container.label *and** to the
   job's *app-def* if not already present. The default of an empty string
   will keep the current default behavior of using SSD nodes.
   <?xml version="1.0" encoding="UTF-8"?>
   <application xmlns="urn:com:linkedin:ns:configuration:definition:1.0"
   name="my-application" version="">
           <property name="" default="" /> <!-- the
   label used for launching the application master -->
           <property name="yarn.container.label" default="" /> <!-- the
   label used for other containers -->
   2. If you had to modify your *app-def* in step 1, you will need to do a
   trigger-build to get the change to take effect.

   Add the label to *application.src* for your job. The *hdd* label will
   assign your containers to machines with spinning disks instead of solid
   state disks.
   <?xml version="1.0" encoding="UTF-8"?>
   <application xmlns="urn:com:linkedin:ns:configuration:source:1.0"
       <property name="yarn.container.label" value="hdd" />
       <property name="" value="hdd" />






On Tue, Dec 17, 2019 at 10:13 AM Debraj Manna <>

> Hi
> I am seeing running samza with yarn node label is resolved in 0.12.
> But I am not able to locate the relevant documentation in samza-yarn
> documentation
> <>
> Can someone point me to the relevant documentation?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message