http://git-wip-us.apache.org/repos/asf/metron/blob/87ff7b73/site/current-book/metron-platform/index.html
----------------------------------------------------------------------
diff --git a/site/current-book/metron-platform/index.html 
b/site/current-book/metron-platform/index.html
index 44c1804..b58ddcc 100644
--- a/site/current-book/metron-platform/index.html
+++ b/site/current-book/metron-platform/index.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2017-06-27
+ | Generated by Apache Maven Doxia at 2017-09-15
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170627" />
+    <meta name="Date-Revision-yyyymmdd" content="20170915" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Metron &#x2013; Current Build</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -61,8 +61,8 @@
         
                 
                     
-                  <li id="publishDate" class="pull-right">Last Published: 
2017-06-27</li> <li class="divider pull-right">|</li>
-              <li id="projectVersion" class="pull-right">Version: 0.4.0</li>
+                  <li id="publishDate" class="pull-right">Last Published: 
2017-09-15</li> <li class="divider pull-right">|</li>
+              <li id="projectVersion" class="pull-right">Version: 0.4.1</li>
             
                             </ul>
       </div>
@@ -75,7 +75,7 @@
                     
                 <ul class="nav nav-list">
                     <li class="nav-header">User Documentation</li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
           
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
                                                                          
       <li>
     
                           <a href="../index.html" title="Metron">
@@ -96,7 +96,14 @@
           <i class="icon-chevron-right"></i>
         Analytics</a>
                   </li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                     
+                      
+      <li>
+    
+                          <a href="../metron-contrib/metron-docker/index.html" 
title="Docker">
+          <i class="none"></i>
+        Docker</a>
+            </li>
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                 
       <li>
     
                           <a href="../metron-deployment/index.html" 
title="Deployment">
@@ -106,9 +113,9 @@
                       
       <li>
     
-                          <a href="../metron-docker/index.html" title="Docker">
+                          <a 
href="../metron-interface/metron-alerts/index.html" title="Alerts">
           <i class="none"></i>
-        Docker</a>
+        Alerts</a>
             </li>
                       
       <li>
@@ -124,7 +131,7 @@
           <i class="none"></i>
         Rest</a>
             </li>
-                                                                               
                                                                                
                                                                                
     
+                                                                               
                                                                                
                                                                                
                       
       <li class="active">
     
             <a href="#"><i class="icon-chevron-down"></i>Platform</a>
@@ -132,17 +139,24 @@
                       
       <li>
     
+                          <a 
href="../metron-platform/Performance-tuning-guide.html" 
title="Performance-tuning-guide">
+          <i class="none"></i>
+        Performance-tuning-guide</a>
+            </li>
+                      
+      <li>
+    
                           <a href="../metron-platform/metron-api/index.html" 
title="Api">
           <i class="none"></i>
         Api</a>
             </li>
-                                                                        
+                      
       <li>
     
                           <a 
href="../metron-platform/metron-common/index.html" title="Common">
-          <i class="icon-chevron-right"></i>
+          <i class="none"></i>
         Common</a>
-                  </li>
+            </li>
                       
       <li>
     
@@ -171,13 +185,13 @@
           <i class="none"></i>
         Management</a>
             </li>
-                      
+                                                                        
       <li>
     
                           <a 
href="../metron-platform/metron-parsers/index.html" title="Parsers">
-          <i class="none"></i>
+          <i class="icon-chevron-right"></i>
         Parsers</a>
-            </li>
+                  </li>
                       
       <li>
     
@@ -201,6 +215,20 @@
           <i class="icon-chevron-right"></i>
         Sensors</a>
                   </li>
+                                                                        
+      <li>
+    
+                          <a 
href="../metron-stellar/stellar-common/index.html" title="Stellar-common">
+          <i class="icon-chevron-right"></i>
+        Stellar-common</a>
+                  </li>
+                                                                        
+      <li>
+    
+                          <a href="../use-cases/index.html" title="Use-cases">
+          <i class="icon-chevron-right"></i>
+        Use-cases</a>
+                  </li>
               </ul>
         </li>
             </ul>
@@ -238,7 +266,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.
 See the License for the specific language governing permissions and
 limitations under the License. --><h1>Current Build</h1>
 <p><a name="Current_Build"></a></p>
-<p>The latest build of metron-platform is 0.4.0.</p>
+<p>The latest build of metron-platform is 0.4.1.</p>
 <p>We are still in the process of merging/porting additional features from our 
production code base into this open source release. This release will be 
followed by a number of additional beta releases until the port is complete. We 
will also work on getting additional documentation and user/developer guides to 
the community as soon as we can. At this time we offer no support for the beta 
software, but will try to respond to requests as promptly as we can.</p>
 <p><a name="metron-platform"></a></p>
 <h1>metron-platform</h1>

http://git-wip-us.apache.org/repos/asf/metron/blob/87ff7b73/site/current-book/metron-platform/metron-api/index.html
----------------------------------------------------------------------
diff --git a/site/current-book/metron-platform/metron-api/index.html 
b/site/current-book/metron-platform/metron-api/index.html
index 607e4aa..ddc7e78 100644
--- a/site/current-book/metron-platform/metron-api/index.html
+++ b/site/current-book/metron-platform/metron-api/index.html
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2017-06-27
+ | Generated by Apache Maven Doxia at 2017-09-15
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170627" />
+    <meta name="Date-Revision-yyyymmdd" content="20170915" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Metron &#x2013; Metron PCAP Service</title>
     <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" 
/>
@@ -61,8 +61,8 @@
         
                 
                     
-                  <li id="publishDate" class="pull-right">Last Published: 
2017-06-27</li> <li class="divider pull-right">|</li>
-              <li id="projectVersion" class="pull-right">Version: 0.4.0</li>
+                  <li id="publishDate" class="pull-right">Last Published: 
2017-09-15</li> <li class="divider pull-right">|</li>
+              <li id="projectVersion" class="pull-right">Version: 0.4.1</li>
             
                             </ul>
       </div>
@@ -75,7 +75,7 @@
                     
                 <ul class="nav nav-list">
                     <li class="nav-header">User Documentation</li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
           
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                      
                                                                          
       <li>
     
                           <a href="../../index.html" title="Metron">
@@ -96,7 +96,14 @@
           <i class="icon-chevron-right"></i>
         Analytics</a>
                   </li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                     
+                      
+      <li>
+    
+                          <a 
href="../../metron-contrib/metron-docker/index.html" title="Docker">
+          <i class="none"></i>
+        Docker</a>
+            </li>
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                 
       <li>
     
                           <a href="../../metron-deployment/index.html" 
title="Deployment">
@@ -106,9 +113,9 @@
                       
       <li>
     
-                          <a href="../../metron-docker/index.html" 
title="Docker">
+                          <a 
href="../../metron-interface/metron-alerts/index.html" title="Alerts">
           <i class="none"></i>
-        Docker</a>
+        Alerts</a>
             </li>
                       
       <li>
@@ -124,7 +131,7 @@
           <i class="none"></i>
         Rest</a>
             </li>
-                                                                               
                                                                                
                                                                                
           
+                                                                               
                                                                                
                                                                                
                             
       <li>
     
                           <a href="../../metron-platform/index.html" 
title="Platform">
@@ -132,17 +139,24 @@
         Platform</a>
                     <ul class="nav nav-list">
                       
+      <li>
+    
+                          <a 
href="../../metron-platform/Performance-tuning-guide.html" 
title="Performance-tuning-guide">
+          <i class="none"></i>
+        Performance-tuning-guide</a>
+            </li>
+                      
       <li class="active">
     
             <a href="#"><i class="none"></i>Api</a>
           </li>
-                                                                        
+                      
       <li>
     
                           <a 
href="../../metron-platform/metron-common/index.html" title="Common">
-          <i class="icon-chevron-right"></i>
+          <i class="none"></i>
         Common</a>
-                  </li>
+            </li>
                       
       <li>
     
@@ -171,13 +185,13 @@
           <i class="none"></i>
         Management</a>
             </li>
-                      
+                                                                        
       <li>
     
                           <a 
href="../../metron-platform/metron-parsers/index.html" title="Parsers">
-          <i class="none"></i>
+          <i class="icon-chevron-right"></i>
         Parsers</a>
-            </li>
+                  </li>
                       
       <li>
     
@@ -201,6 +215,20 @@
           <i class="icon-chevron-right"></i>
         Sensors</a>
                   </li>
+                                                                        
+      <li>
+    
+                          <a 
href="../../metron-stellar/stellar-common/index.html" title="Stellar-common">
+          <i class="icon-chevron-right"></i>
+        Stellar-common</a>
+                  </li>
+                                                                        
+      <li>
+    
+                          <a href="../../use-cases/index.html" 
title="Use-cases">
+          <i class="icon-chevron-right"></i>
+        Use-cases</a>
+                  </li>
               </ul>
         </li>
             </ul>

http://git-wip-us.apache.org/repos/asf/metron/blob/87ff7b73/site/current-book/metron-platform/metron-common/3rdPartyStellar.html
----------------------------------------------------------------------
diff --git 
a/site/current-book/metron-platform/metron-common/3rdPartyStellar.html 
b/site/current-book/metron-platform/metron-common/3rdPartyStellar.html
deleted file mode 100644
index 3e7b190..0000000
--- a/site/current-book/metron-platform/metron-common/3rdPartyStellar.html
+++ /dev/null
@@ -1,398 +0,0 @@
-<!DOCTYPE html>
-<!--
- | Generated by Apache Maven Doxia at 2017-06-27
- | Rendered using Apache Maven Fluido Skin 1.3.0
--->
-<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
-  <head>
-    <meta charset="UTF-8" />
-    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170627" />
-    <meta http-equiv="Content-Language" content="en" />
-    <title>Metron &#x2013; Custom Stellar Functions</title>
-    <link rel="stylesheet" href="../../css/apache-maven-fluido-1.3.0.min.css" 
/>
-    <link rel="stylesheet" href="../../css/site.css" />
-    <link rel="stylesheet" href="../../css/print.css" media="print" />
-
-      
-    <script type="text/javascript" 
src="../../js/apache-maven-fluido-1.3.0.min.js"></script>
-
-                          
-        
-<script type="text/javascript">$( document ).ready( function() { $( 
'.carousel' ).carousel( { interval: 3500 } ) } );</script>
-          
-            </head>
-        <body class="topBarDisabled">
-          
-                
-                    
-    
-        <div class="container-fluid">
-          <div id="banner">
-        <div class="pull-left">
-                                    <a href="http://metron.apache.org/"; 
id="bannerLeft">
-                                                                               
                 <img src="../../images/metron-logo.png"  alt="Apache Metron" 
width="148px" height="48px"/>
-                </a>
-                      </div>
-        <div class="pull-right">  </div>
-        <div class="clear"><hr/></div>
-      </div>
-
-      <div id="breadcrumbs">
-        <ul class="breadcrumb">
-                
-                    
-                              <li class="">
-                    <a href="http://www.apache.org"; class="externalLink" 
title="Apache">
-        Apache</a>
-        </li>
-      <li class="divider ">/</li>
-            <li class="">
-                    <a href="http://metron.apache.org/"; class="externalLink" 
title="Metron">
-        Metron</a>
-        </li>
-      <li class="divider ">/</li>
-            <li class="">
-                    <a href="../../index.html" title="Documentation">
-        Documentation</a>
-        </li>
-      <li class="divider ">/</li>
-        <li class="">Custom Stellar Functions</li>
-        
-                
-                    
-                  <li id="publishDate" class="pull-right">Last Published: 
2017-06-27</li> <li class="divider pull-right">|</li>
-              <li id="projectVersion" class="pull-right">Version: 0.4.0</li>
-            
-                            </ul>
-      </div>
-
-            
-      <div class="row-fluid">
-        <div id="leftColumn" class="span3">
-          <div class="well sidebar-nav">
-                
-                    
-                <ul class="nav nav-list">
-                    <li class="nav-header">User Documentation</li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
           
-      <li>
-    
-                          <a href="../../index.html" title="Metron">
-          <i class="icon-chevron-down"></i>
-        Metron</a>
-                    <ul class="nav nav-list">
-                      
-      <li>
-    
-                          <a href="../../Upgrading.html" title="Upgrading">
-          <i class="none"></i>
-        Upgrading</a>
-            </li>
-                                                                               
                                                                       
-      <li>
-    
-                          <a href="../../metron-analytics/index.html" 
title="Analytics">
-          <i class="icon-chevron-right"></i>
-        Analytics</a>
-                  </li>
-                                                                               
                                                                                
                                                                                
                                                                                
                                                     
-      <li>
-    
-                          <a href="../../metron-deployment/index.html" 
title="Deployment">
-          <i class="icon-chevron-right"></i>
-        Deployment</a>
-                  </li>
-                      
-      <li>
-    
-                          <a href="../../metron-docker/index.html" 
title="Docker">
-          <i class="none"></i>
-        Docker</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-interface/metron-config/index.html" title="Config">
-          <i class="none"></i>
-        Config</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-interface/metron-rest/index.html" title="Rest">
-          <i class="none"></i>
-        Rest</a>
-            </li>
-                                                                               
                                                                                
                                                                                
           
-      <li>
-    
-                          <a href="../../metron-platform/index.html" 
title="Platform">
-          <i class="icon-chevron-down"></i>
-        Platform</a>
-                    <ul class="nav nav-list">
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-api/index.html" title="Api">
-          <i class="none"></i>
-        Api</a>
-            </li>
-                                                                               
   
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-common/index.html" title="Common">
-          <i class="icon-chevron-down"></i>
-        Common</a>
-                    <ul class="nav nav-list">
-                      
-      <li class="active">
-    
-            <a href="#"><i class="none"></i>3rdPartyStellar</a>
-          </li>
-              </ul>
-        </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-data-management/index.html" 
title="Data-management">
-          <i class="none"></i>
-        Data-management</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-enrichment/index.html" title="Enrichment">
-          <i class="none"></i>
-        Enrichment</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-indexing/index.html" title="Indexing">
-          <i class="none"></i>
-        Indexing</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-management/index.html" title="Management">
-          <i class="none"></i>
-        Management</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-parsers/index.html" title="Parsers">
-          <i class="none"></i>
-        Parsers</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-pcap-backend/index.html" 
title="Pcap-backend">
-          <i class="none"></i>
-        Pcap-backend</a>
-            </li>
-                      
-      <li>
-    
-                          <a 
href="../../metron-platform/metron-writer/index.html" title="Writer">
-          <i class="none"></i>
-        Writer</a>
-            </li>
-              </ul>
-        </li>
-                                                                               
                             
-      <li>
-    
-                          <a href="../../metron-sensors/index.html" 
title="Sensors">
-          <i class="icon-chevron-right"></i>
-        Sensors</a>
-                  </li>
-              </ul>
-        </li>
-            </ul>
-                
-                    
-                
-          <hr class="divider" />
-
-           <div id="poweredBy">
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                            <div class="clear"></div>
-                             <a href="http://maven.apache.org/"; title="Built 
by Maven" class="poweredBy">
-        <img class="builtBy" alt="Built by Maven" 
src="../../images/logos/maven-feather.png" />
-      </a>
-                  </div>
-          </div>
-        </div>
-        
-                
-        <div id="bodyColumn"  class="span9" >
-                                  
-            <h1>Custom Stellar Functions</h1>
-<p><a name="Custom_Stellar_Functions"></a></p>
-<p>Metron is fundamentally a programmable, extensible system and Stellar is 
the extension language. We have some great Stellar functions available out of 
the box and we&#x2019;ll be adding more over time, but they may not quite 
scratch quite your particular itch. </p>
-<p>Of course, we&#x2019;d love to have your contribution inside of Metron if 
you think it general purpose enough, but not every function is general-purpose 
or it may rely on libraries those licenses aren&#x2019;t acceptable for an 
Apache project. In that case, then you will be wondering how to add your custom 
function to a running instance of Metron.</p>
-<div class="section">
-<h2><a name="Building_Your_Own_Function"></a>Building Your Own Function</h2>
-<p>Let&#x2019;s say that I need a function that returns the current time in 
milliseconds since the epoch. I notice that there&#x2019;s nothing like that 
currently in Metron, so I embark on the adventure of adding it for my 
cluster.</p>
-<p>I will presume that you have an installed Metron into your local maven repo 
via <tt>mvn install</tt> . In the future, when we publish to a maven repo, you 
will not need this. I will depend on 0.4.0 for the purpose of this 
demonstration</p>
-<div class="section">
-<h3><a name="Hack_Hack_Hack"></a>Hack, Hack, Hack</h3>
-<p>I like to use Maven, so we&#x2019;ll use that for this demonstration, but 
you can use whatever build system that you like. Here&#x2019;s my favorite way 
to build a project with groupId <tt>com.mycompany.stellar</tt> and artifactId 
of <tt>tempus</tt> <tt>mvn archetype:create -DgroupId=com.mycompany.stellar 
-DartifactId=tempus -DarchetypeArtifactId=maven-archetype-quickstart</tt></p>
-<p>First, we should depend on <tt>metron-common</tt> and we can do that by 
adjusting the <tt>pom.xml</tt> just created:</p>
-
-<div class="source">
-<div class="source">
-<pre>&lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; 
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
-         xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
-  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
-  
-  &lt;groupId&gt;com.mycompany.stellar&lt;/groupId&gt;
-  &lt;artifactId&gt;tempus&lt;/artifactId&gt;
-  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
-  &lt;packaging&gt;jar&lt;/packaging&gt;
-  
-  &lt;name&gt;Stellar Time Functions&lt;/name&gt;
-  &lt;url&gt;http://mycompany.com&lt;/url&gt;
-  
-  &lt;properties&gt;
-    
&lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
-  &lt;/properties&gt;
-  
-  &lt;dependencies&gt;
-    &lt;dependency&gt;
-      &lt;groupId&gt;org.apache.metron&lt;/groupId&gt;
-      &lt;artifactId&gt;metron-common&lt;/artifactId&gt;
-      &lt;version&gt;0.4.0&lt;/version&gt;
-      &lt;!-- NOTE: We will want to depend on the deployed common on the 
classpath. --&gt;
-      &lt;scope&gt;provided&lt;/scope&gt;
-    &lt;/dependency&gt;
-    &lt;dependency&gt;
-       &lt;groupId&gt;junit&lt;/groupId&gt;
-       &lt;artifactId&gt;junit&lt;/artifactId&gt;
-       &lt;version&gt;3.8.1&lt;/version&gt;
-      &lt;scope&gt;test&lt;/scope&gt;
-    &lt;/dependency&gt;
-  &lt;/dependencies&gt;
-&lt;/project&gt;
-</pre></div></div>
-<p>Let&#x2019;s add our implementation in 
<tt>src/main/java/com/mycompany/stellar/TimeFunctions.java</tt> with the 
following content:</p>
-
-<div class="source">
-<div class="source">
-<pre>package com.notmetron.stellar;
-    
-import org.apache.metron.common.dsl.Context;
-import org.apache.metron.common.dsl.ParseException;
-import org.apache.metron.common.dsl.Stellar;
-import org.apache.metron.common.dsl.StellarFunction;
-    
-import java.util.List;
-    
-public class TimeFunction {
-  @Stellar( name=&quot;NOW&quot;,
-            description = &quot;Right now!&quot;,
-            params = {},
-            returns=&quot;Timestamp&quot;
-          )
-  public static class Now implements StellarFunction {
-    
-    public Object apply(List&lt;Object&gt; list, Context context) throws 
ParseException {
-      return System.currentTimeMillis();
-    }
-    
-    public void initialize(Context context) { }
-    
-    public boolean isInitialized() {
-      return true;
-    }
-  }
-}
-</pre></div></div>
-<p>Now we can build the project via <tt>mvn package</tt> which will create a 
<tt>target/tempus-1.0-SNAPSHOT.jar</tt> file.</p></div></div>
-<div class="section">
-<h2><a name="Install_the_Function"></a>Install the Function</h2>
-<p>Now that we have a jar with our custom function, we must make Metron aware 
of it.</p>
-<div class="section">
-<h3><a name="Deploy_the_Jar"></a>Deploy the Jar</h3>
-<p>First you need to place the jar in HDFS, if we have it on an access node, 
one way to do that is:</p>
-
-<ul>
-  
-<li><tt>hadoop fs -put tempus-1.0-SNAPSHOT.jar /apps/metron/stellar</tt> This 
presumes that:</li>
-  
-<li>you&#x2019;ve standardized on <tt>/apps/metron/stellar</tt> as the 
location for custom jars</li>
-  
-<li>you are running the command from an access node with the <tt>hadoop</tt> 
command installed</li>
-  
-<li>you are running from a user that has write access to 
<tt>/apps/metron/stellar</tt></li>
-</ul></div>
-<div class="section">
-<h3><a name="Set_Global_Config"></a>Set Global Config</h3>
-<p>You may not need this if your Metron administrator already has this 
setup.</p>
-<p>With that dispensed with, we need to ensure that Metron knows to look at 
that location. We need to ensure that the <tt>stellar.function.paths</tt> 
property in the <tt>global.json</tt> is in place that makes Metron aware to 
look for Stellar functions in <tt>/apps/metron/stellar</tt> on HDFS. </p>
-<p>This property looks like, the following for a vagrant install</p>
-
-<div class="source">
-<div class="source">
-<pre>{
-  &quot;es.clustername&quot;: &quot;metron&quot;,
-  &quot;es.ip&quot;: &quot;node1&quot;,
-  &quot;es.port&quot;: &quot;9300&quot;,
-  &quot;es.date.format&quot;: &quot;yyyy.MM.dd.HH&quot;,
-  &quot;stellar.function.paths&quot; : 
&quot;hdfs://node1:8020/apps/metron/stellar/.*.jar&quot;,
-}
-</pre></div></div>
-<p>The <tt>stellar.function.paths</tt> property takes a comma separated list 
of URIs or URIs with regex expressions at the end. Also, note path is prefaced 
by the HDFS default name, which, if you do not know, can be found by executing, 
<tt>hdfs getconf -confKey fs.default.name</tt>, such as</p>
-
-<div class="source">
-<div class="source">
-<pre>[root@node1 ~]# hdfs getconf -confKey fs.default.name
-hdfs://node1:8020
-</pre></div></div></div>
-<div class="section">
-<h3><a name="Use_the_Function"></a>Use the Function</h3>
-<p>Now that we have deployed the function, if we want to use it, any running 
topologies that use Stellar will need to be restarted.</p>
-<p>Beyond that, let&#x2019;s take a look at it in the REPL:</p>
-
-<div class="source">
-<div class="source">
-<pre>Stellar, Go!
-Please note that functions are loading lazily in the background and will be 
unavailable until loaded fully.
-{es.clustername=metron, es.ip=node1, es.port=9300, 
es.date.format=yyyy.MM.dd.HH, 
stellar.function.paths=hdfs://node1:8020/apps/metron/stellar/.*.jar, 
profiler.client.period.duration=1, 
profiler.client.period.duration.units=MINUTES}
-[Stellar]&gt;&gt;&gt; # Get the help for NOW
-[Stellar]&gt;&gt;&gt; ?NOW
-Functions loaded, you may refer to functions now...
-NOW
-Description: Right now!
-     
-Returns: Timestamp
-[Stellar]&gt;&gt;&gt; # Try to run the NOW function, which we added:
-[Stellar]&gt;&gt;&gt; NOW()
-1488400515655
-[Stellar]&gt;&gt;&gt; # Looks like I got a timestamp, success!
-</pre></div></div></div></div>
-                  </div>
-            </div>
-          </div>
-
-    <hr/>
-
-    <footer>
-            <div class="container-fluid">
-              <div class="row span12">Copyright &copy;                    2017
-                        <a href="https://www.apache.org";>The Apache Software 
Foundation</a>.
-            All Rights Reserved.      
-                    
-      </div>
-
-                          
-        
-                </div>
-    </footer>
-  </body>
-</html>

Reply via email to