You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by aj...@apache.org on 2023/01/18 19:33:31 UTC

svn commit: r1906774 [37/49] - in /samza/site: ./ archive/ blog/ case-studies/ community/ contribute/ img/latest/learn/documentation/api/ learn/documentation/latest/ learn/documentation/latest/api/ learn/documentation/latest/api/javadocs/ learn/documen...

Modified: samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html?rev=1906774&r1=1906773&r2=1906774&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html (original)
+++ samza/site/learn/documentation/latest/jobs/web-ui-rest-api.html Wed Jan 18 19:33:25 2023
@@ -227,6 +227,12 @@
     
       
         
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.8.0">1.8.0</a>
+      
+        
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.7.0">1.7.0</a>
+      
+        
       <a class="side-navigation__group-item" data-match-active="" href="/releases/1.6.0">1.6.0</a>
       
         
@@ -538,6 +544,14 @@
               
               
 
+              <li class="hide"><a href="/learn/documentation/1.8.0/jobs/web-ui-rest-api">1.8.0</a></li>
+
+              
+
+              <li class="hide"><a href="/learn/documentation/1.7.0/jobs/web-ui-rest-api">1.7.0</a></li>
+
+              
+
               <li class="hide"><a href="/learn/documentation/1.6.0/jobs/web-ui-rest-api">1.6.0</a></li>
 
               
@@ -641,18 +655,18 @@
 
 <h3 id="dashboard">Dashboard</h3>
 
-<p>Samza&rsquo;s ApplicationMaster comes with a dashboard to show useful information such as:</p>
+<p>Samza’s ApplicationMaster comes with a dashboard to show useful information such as:</p>
 
 <ol>
-<li>Where containers are located.</li>
-<li>Links to logs.</li>
-<li>The Samza job&rsquo;s configuration.</li>
-<li>Container failure count.</li>
+  <li>Where containers are located.</li>
+  <li>Links to logs.</li>
+  <li>The Samza job’s configuration.</li>
+  <li>Container failure count.</li>
 </ol>
 
-<p>You can find this dashboard by going to your YARN grid&rsquo;s ResourceManager page (usually something like <a href="http://localhost:8088/cluster">http://localhost:8088/cluster</a>), and clicking on the &ldquo;ApplicationMaster&rdquo; link of a running Samza job.</p>
+<p>You can find this dashboard by going to your YARN grid’s ResourceManager page (usually something like <a href="http://localhost:8088/cluster">http://localhost:8088/cluster</a>), and clicking on the “ApplicationMaster” link of a running Samza job.</p>
 
-<p><img src="/img/latest/learn/documentation/yarn/samza-am-dashboard.png" alt="Screenshot of ApplicationMaster dashboard" class="diagram-large"></p>
+<p><img src="/img/latest/learn/documentation/yarn/samza-am-dashboard.png" alt="Screenshot of ApplicationMaster dashboard" class="diagram-large" /></p>
 
 <h3 id="rest-api">REST API</h3>
 
@@ -681,7 +695,7 @@
   </tbody>
 </table>
 
-<h2 id="application-master"><a href="../yarn/application-master.html">Application Master &raquo;</a></h2>
+<h2 id="application-master-"><a href="../yarn/application-master.html">Application Master »</a></h2>
 
            
         </div>

Modified: samza/site/learn/documentation/latest/jobs/yarn-jobs.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/jobs/yarn-jobs.html?rev=1906774&r1=1906773&r2=1906774&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/jobs/yarn-jobs.html (original)
+++ samza/site/learn/documentation/latest/jobs/yarn-jobs.html Wed Jan 18 19:33:25 2023
@@ -227,6 +227,12 @@
     
       
         
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.8.0">1.8.0</a>
+      
+        
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.7.0">1.7.0</a>
+      
+        
       <a class="side-navigation__group-item" data-match-active="" href="/releases/1.6.0">1.6.0</a>
       
         
@@ -538,6 +544,14 @@
               
               
 
+              <li class="hide"><a href="/learn/documentation/1.8.0/jobs/yarn-jobs">1.8.0</a></li>
+
+              
+
+              <li class="hide"><a href="/learn/documentation/1.7.0/jobs/yarn-jobs">1.7.0</a></li>
+
+              
+
               <li class="hide"><a href="/learn/documentation/1.6.0/jobs/yarn-jobs">1.6.0</a></li>
 
               
@@ -639,23 +653,23 @@
    limitations under the License.
 -->
 
-<p>When you define <code>job.factory.class=org.apache.samza.job.yarn.YarnJobFactory</code> in your job&rsquo;s configuration, Samza will use YARN to execute your job. The YarnJobFactory will use the <code>HADOOP_YARN_HOME</code> environment variable on the machine that run-job.sh is executed on to get the appropriate YARN configuration, which will define where the YARN resource manager is. The YarnJob will work with the resource manager to get your job started on the YARN cluster.</p>
+<p>When you define <code class="language-plaintext highlighter-rouge">job.factory.class=org.apache.samza.job.yarn.YarnJobFactory</code> in your job’s configuration, Samza will use YARN to execute your job. The YarnJobFactory will use the <code class="language-plaintext highlighter-rouge">HADOOP_YARN_HOME</code> environment variable on the machine that run-job.sh is executed on to get the appropriate YARN configuration, which will define where the YARN resource manager is. The YarnJob will work with the resource manager to get your job started on the YARN cluster.</p>
 
-<p>If you want to use YARN to run your Samza job, you&rsquo;ll also need to define the location of your Samza job&rsquo;s package. For example, you might say:</p>
+<p>If you want to use YARN to run your Samza job, you’ll also need to define the location of your Samza job’s package. For example, you might say:</p>
 
-<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties"><span></span><span class="na">yarn.package.path</span><span class="o">=</span><span class="s">http://my.http.server/jobs/ingraphs-package-0.0.55.tgz</span></code></pre></figure>
+<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties">yarn.package.path=http://my.http.server/jobs/ingraphs-package-0.0.55.tgz</code></pre></figure>
 
-<p>This .tgz file follows the conventions outlined on the <a href="packaging.html">Packaging</a> page (it has bin/run-am.sh and bin/run-container.sh). YARN NodeManagers will take responsibility for downloading this .tgz file on the appropriate machines, and untar&#39;ing them. From there, YARN will execute run-am.sh or run-container.sh for the Samza Application Master, and SamzaContainer, respectively.</p>
+<p>This .tgz file follows the conventions outlined on the <a href="packaging.html">Packaging</a> page (it has bin/run-am.sh and bin/run-container.sh). YARN NodeManagers will take responsibility for downloading this .tgz file on the appropriate machines, and untar’ing them. From there, YARN will execute run-am.sh or run-container.sh for the Samza Application Master, and SamzaContainer, respectively.</p>
 
-<p>If you want to run Samza job in the specific YARN queue not the default one, you can set <code>yarn.queue</code> property in your job&rsquo;s configuration. For example, with the following property setting,</p>
+<p>If you want to run Samza job in the specific YARN queue not the default one, you can set <code class="language-plaintext highlighter-rouge">yarn.queue</code> property in your job’s configuration. For example, with the following property setting,</p>
 
-<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties"><span></span><span class="na">yarn.queue</span><span class="o">=</span><span class="s">root.adhoc</span></code></pre></figure>
+<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties">yarn.queue=root.adhoc</code></pre></figure>
 
 <p>Samza job will run in the root.adhoc queue.</p>
 
 <!-- TODO document job.container.count and other key configs -->
 
-<h2 id="logging"><a href="logging.html">Logging &raquo;</a></h2>
+<h2 id="logging-"><a href="logging.html">Logging »</a></h2>
 
            
         </div>

Modified: samza/site/learn/documentation/latest/operations/kafka.html
URL: http://svn.apache.org/viewvc/samza/site/learn/documentation/latest/operations/kafka.html?rev=1906774&r1=1906773&r2=1906774&view=diff
==============================================================================
--- samza/site/learn/documentation/latest/operations/kafka.html (original)
+++ samza/site/learn/documentation/latest/operations/kafka.html Wed Jan 18 19:33:25 2023
@@ -227,6 +227,12 @@
     
       
         
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.8.0">1.8.0</a>
+      
+        
+      <a class="side-navigation__group-item" data-match-active="" href="/releases/1.7.0">1.7.0</a>
+      
+        
       <a class="side-navigation__group-item" data-match-active="" href="/releases/1.6.0">1.6.0</a>
       
         
@@ -538,6 +544,14 @@
               
               
 
+              <li class="hide"><a href="/learn/documentation/1.8.0/operations/kafka">1.8.0</a></li>
+
+              
+
+              <li class="hide"><a href="/learn/documentation/1.7.0/operations/kafka">1.7.0</a></li>
+
+              
+
               <li class="hide"><a href="/learn/documentation/1.6.0/operations/kafka">1.6.0</a></li>
 
               
@@ -647,9 +661,10 @@
 
 <h3 id="auto-create-topics">Auto-Create Topics</h3>
 
-<p>Kafka brokers should be configured to automatically create topics. Without this, it&rsquo;s going to be very cumbersome to run Samze jobs, since jobs will write to arbitrary (and sometimes new) topics.</p>
+<p>Kafka brokers should be configured to automatically create topics. Without this, it’s going to be very cumbersome to run Samze jobs, since jobs will write to arbitrary (and sometimes new) topics.</p>
+
+<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties">auto.create.topics.enable=true</code></pre></figure>
 
-<figure class="highlight"><pre><code class="language-jproperties" data-lang="jproperties"><span></span><span class="na">auto.create.topics.enable</span><span class="o">=</span><span class="s">true</span></code></pre></figure>
 
            
         </div>