You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eagle.apache.org by mw...@apache.org on 2016/08/01 06:06:18 UTC
svn commit: r1754704 - in /incubator/eagle/site/docs: community.html
tutorial/userprofile.html
Author: mw
Date: Mon Aug 1 06:06:17 2016
New Revision: 1754704
URL: http://svn.apache.org/viewvc?rev=1754704&view=rev
Log:
fix wrong package name in userprofile.html and new committer info in community.html
Modified:
incubator/eagle/site/docs/community.html
incubator/eagle/site/docs/tutorial/userprofile.html
Modified: incubator/eagle/site/docs/community.html
URL: http://svn.apache.org/viewvc/incubator/eagle/site/docs/community.html?rev=1754704&r1=1754703&r2=1754704&view=diff
==============================================================================
--- incubator/eagle/site/docs/community.html (original)
+++ incubator/eagle/site/docs/community.html Mon Aug 1 06:06:17 2016
@@ -334,7 +334,8 @@
<li><a href="https://github.com/armanoharan">Arun Manoharan</a></li>
<li><a href="https://github.com/seshuad">Adunuthula, Seshu</a></li>
<li><a href="https://github.com/RalphSu">Liangfei Su (苏良飞)</a></li>
- <li><a href="https://github.com/DadanielZ">Daniel Zhou (周达)</a>
+ <li><a href="https://github.com/DadanielZ">Daniel Zhou (周达)</a></li>
+ <li><a href="https://github.com/anyway1021">Michael Wu (武子扬)</a>
<br /></li>
</ul>
@@ -345,7 +346,6 @@
<li><a href="https://github.com/Jashchahal">Jaspaul Chahal</a></li>
<li><a href="https://github.com/pkuwm">Huizhi Lu</a></li>
<li><a href="https://github.com/r7raul1984">Jijun Tang</a></li>
- <li><a href="https://github.com/anyway1021">Michael Wu</a></li>
<li><a href="https://github.com/JingGe">Jing Ge</a>
<br /></li>
</ul>
Modified: incubator/eagle/site/docs/tutorial/userprofile.html
URL: http://svn.apache.org/viewvc/incubator/eagle/site/docs/tutorial/userprofile.html?rev=1754704&r1=1754703&r2=1754704&view=diff
==============================================================================
--- incubator/eagle/site/docs/tutorial/userprofile.html (original)
+++ incubator/eagle/site/docs/tutorial/userprofile.html Mon Aug 1 06:06:17 2016
@@ -229,9 +229,10 @@ is started.</p>
<li>
<p>Option 1: command line</p>
- <pre><code>$ cd <eagle-home>/bin
+ <div class="highlighter-rouge"><pre class="highlight"><code>$ cd <eagle-home>/bin
$ bin/eagle-userprofile-scheduler.sh --site sandbox start
</code></pre>
+ </div>
</li>
<li>
<p>Option 2: start via Ambari
@@ -259,8 +260,9 @@ $ bin/eagle-userprofile-scheduler.sh --s
<p>submit userProfiles topology if it’s not on <a href="http://sandbox.hortonworks.com:8744">topology UI</a></p>
- <pre><code>$ bin/eagle-topology.sh --main eagle.security.userprofile.UserProfileDetectionMain --config conf/sandbox-userprofile-topology.conf start
+ <div class="highlighter-rouge"><pre class="highlight"><code>$ bin/eagle-topology.sh --main org.apache.eagle.security.userprofile.UserProfileDetectionMain --config conf/sandbox-userprofile-topology.conf start
</code></pre>
+ </div>
</li>
<li>
<p><strong>Option 2</strong>: Ambari</p>
@@ -275,23 +277,24 @@ $ bin/eagle-userprofile-scheduler.sh --s
<li>Prepare sample data for ML training and validation sample data
<ul>
<li>a. Download following sample data to be used for training</li>
- <li><a href="/data/user1.hdfs-audit.2015-10-11-00.txt"><code>user1.hdfs-audit.2015-10-11-00.txt</code></a></li>
- <li><a href="/data/user1.hdfs-audit.2015-10-11-01.txt"><code>user1.hdfs-audit.2015-10-11-01.txt</code></a></li>
- <li>b. Downlaod <a href="/data/userprofile-validate.txt"><code>userprofile-validate.txt</code></a>file which contains data points that you can try to test the models</li>
+ <li><a href="/data/user1.hdfs-audit.2015-10-11-00.txt"><code class="highlighter-rouge">user1.hdfs-audit.2015-10-11-00.txt</code></a></li>
+ <li><a href="/data/user1.hdfs-audit.2015-10-11-01.txt"><code class="highlighter-rouge">user1.hdfs-audit.2015-10-11-01.txt</code></a></li>
+ <li>b. Downlaod <a href="/data/userprofile-validate.txt"><code class="highlighter-rouge">userprofile-validate.txt</code></a>file which contains data points that you can try to test the models</li>
</ul>
</li>
<li>Copy the files (downloaded in the previous step) into a location in sandbox
-For example: <code>/usr/hdp/current/eagle/lib/userprofile/data/</code></li>
- <li>Modify <code><Eagle-home>/conf/sandbox-userprofile-scheduler.conf </code>
-update <code>training-audit-path</code> to set to the path for training data sample (the path you used for Step 1.a)
+For example: <code class="highlighter-rouge">/usr/hdp/current/eagle/lib/userprofile/data/</code></li>
+ <li>Modify <code class="highlighter-rouge"><Eagle-home>/conf/sandbox-userprofile-scheduler.conf </code>
+update <code class="highlighter-rouge">training-audit-path</code> to set to the path for training data sample (the path you used for Step 1.a)
update detection-audit-path to set to the path for validation (the path you used for Step 1.b)</li>
<li>Run ML training program from eagle UI</li>
<li>
<p>Produce kafka data using the contents from validate file (Step 1.b)
-Run the command (assuming the eagle configuration uses kafka topic <code>sandbox_hdfs_audit_log</code>)</p>
+Run the command (assuming the eagle configuration uses kafka topic <code class="highlighter-rouge">sandbox_hdfs_audit_log</code>)</p>
- <pre><code> ./kafka-console-producer.sh --broker-list sandbox.hortonworks.com:6667 --topic sandbox_hdfs_audit_log
+ <div class="highlighter-rouge"><pre class="highlight"><code> ./kafka-console-producer.sh --broker-list sandbox.hortonworks.com:6667 --topic sandbox_hdfs_audit_log
</code></pre>
+ </div>
</li>
<li>Paste few lines of data from file validate onto kafka-console-producer
Check <a href="http://localhost:9099/eagle-service/#/dam/alertList">http://localhost:9099/eagle-service/#/dam/alertList</a> for generated alerts</li>