This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6da353e NLPCRAFT-185 and NLPCRAFT-189 fixes.
6da353e is described below
commit 6da353ee96f63b1016ebd00fd6787481b6380ef5
Author: Aaron Radzinski <[email protected]>
AuthorDate: Fri Dec 11 14:36:47 2020 -0800
NLPCRAFT-185 and NLPCRAFT-189 fixes.
---
images/apache_ignite_logo.png | Bin 0 -> 42540 bytes
server-and-probe.html | 45 +++++++++++++++++++++++++++++++-----------
tools/syn_tool.html | 6 ++++++
3 files changed, 39 insertions(+), 12 deletions(-)
diff --git a/images/apache_ignite_logo.png b/images/apache_ignite_logo.png
new file mode 100644
index 0000000..a5928d6
Binary files /dev/null and b/images/apache_ignite_logo.png differ
diff --git a/server-and-probe.html b/server-and-probe.html
index 6bc0f3c..ad887ff 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -89,7 +89,8 @@ id: server_and_probe
<h2 class="section-title">REST Server</h2>
<p>
As mentioned above REST server (or a cluster of servers) is used
to accept client REST calls and
- route them to the data model via data probes. Note that both data
probe and the REST server start the same way.
+ route them to the data model hosted by data probes. Note that both
data probe and the REST server start principally
+ the same way.
</p>
<p>
REST server can be stared in a <em>standard way</em> from either
the command line or IDE such as Eclipse or IntelliJ IDEA:
@@ -99,7 +100,7 @@ id: server_and_probe
<a class="nav-item nav-link active" data-toggle="tab"
href="#nav-srv-jar" role="tab" aria-controls="nav-home"
aria-selected="true">Executable JAR</a>
<a class="nav-item nav-link" data-toggle="tab"
href="#nav-srv-cmd" role="tab" aria-controls="nav-home"
aria-selected="true">Command Line</a>
<a class="nav-item nav-link" data-toggle="tab"
href="#nav-srv-ide" role="tab" aria-controls="nav-home"
aria-selected="true">IDE</a>
- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-srv-docker" role="tab" aria-controls="nav-home"
aria-selected="true"><i class="fab fa-docker"></i> Docker</a>
+<!-- <a class="nav-item nav-link" data-toggle="tab"
href="#nav-srv-docker" role="tab" aria-controls="nav-home"
aria-selected="true"><i class="fab fa-docker"></i> Docker</a>-->
</div>
</nav>
<div class="tab-content">
@@ -123,16 +124,16 @@ id: server_and_probe
JAR file manifest.
</p>
</div>
- <div class="tab-pane fade show" id="nav-srv-docker"
role="tabpanel">
- <pre class="brush: plain">
- $ docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:{{site.latest_version}}
- </pre>
- <p>
- By default, the Docker image runs with a default
configuration.
- See <a href="#config">configuration</a> section on how to
provide custom configuration via environment variables for the REST
- server running inside of Docker container.
- </p>
- </div>
+<!-- <div class="tab-pane fade show" id="nav-srv-docker"
role="tabpanel">-->
+<!-- <pre class="brush: plain">-->
+<!-- $ docker run -m 8G -p 8081:8081 -p 8201:8201 -p
8202:8202 nlpcraftserver/server:{{site.latest_version}}-->
+<!-- </pre>-->
+<!-- <p>-->
+<!-- By default, the Docker image runs with a default
configuration.-->
+<!-- See <a href="#config">configuration</a> section on how
to provide custom configuration via environment variables for the REST-->
+<!-- server running inside of Docker container.-->
+<!-- </p>-->
+<!-- </div>-->
</div>
Parameters:
<dl>
@@ -180,6 +181,26 @@ id: server_and_probe
insufficient JVM heap memory.
</p>
</div>
+ <div class="bq warn">
+ <div style="float: right">
+ <img alt="" src="/images/apache_ignite_logo.png" height="60px">
+ </div>
+ <b>Apache Ignite 2.x and JDK 11+</b>
+ <p>
+ NLPCraft REST server uses Apache Ignite 2.x as its
distributed in-memory computing plane. Apache Ignite
+ <a target=_new
href="https://apacheignite.readme.io/docs/getting-started#running-ignite-with-java-11-and-later-versions">recommends</a>
+ the following additional JVM options to be used when running
Apache Ignite 2.x on JDK 11+:
+ </p>
+ <pre class="brush: text">
+--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
+--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
+--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
+--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
+--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
+--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
+--illegal-access=permit
+ </pre>
+ </div>
<p>
When the REST server successfully started you should see the log
output similar to this:
</p>
diff --git a/tools/syn_tool.html b/tools/syn_tool.html
index 3f1c817..523166b 100644
--- a/tools/syn_tool.html
+++ b/tools/syn_tool.html
@@ -43,6 +43,12 @@ id: syn_tool
the server's configuration should potentially be updated.
</p>
<h3 class="section-sub-title"><code>ctxword</code> Server</h3>
+ <div class="bq warn">
+ <b>Python 3.6-3.8</b>
+ <p>
+ As of this writing (Dec 2020) the <code>ctxword</code> server
and its dependencies work only with Python 3.6-3.8 version.
+ </p>
+ </div>
<p>
'ctxword' server is a Python-based module that provides BERT and
fasttext based implementation
for finding a contextually related words for a given word from the
input sentence. NLPCraft server interacts