You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mi...@apache.org on 2015/11/03 22:18:40 UTC
hbase git commit: HBASE-14751 Fix Asciidoc in external API chapter
Repository: hbase
Updated Branches:
refs/heads/master 6da971fbb -> 090fbd3ec
HBASE-14751 Fix Asciidoc in external API chapter
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/090fbd3e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/090fbd3e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/090fbd3e
Branch: refs/heads/master
Commit: 090fbd3ec862f8c85aa511172dd8e591b3b79332
Parents: 6da971f
Author: Misty Stanley-Jones <ms...@cloudera.com>
Authored: Wed Nov 4 06:59:32 2015 +1000
Committer: Misty Stanley-Jones <ms...@cloudera.com>
Committed: Wed Nov 4 07:18:29 2015 +1000
----------------------------------------------------------------------
src/main/asciidoc/_chapters/external_apis.adoc | 35 ++++++++++++---------
1 file changed, 21 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/090fbd3e/src/main/asciidoc/_chapters/external_apis.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/external_apis.adoc b/src/main/asciidoc/_chapters/external_apis.adoc
index 3b91c9c..188b10b 100644
--- a/src/main/asciidoc/_chapters/external_apis.adoc
+++ b/src/main/asciidoc/_chapters/external_apis.adoc
@@ -636,17 +636,6 @@ To use Scala with HBase, your CLASSPATH must include HBase's classpath as well a
the Scala JARs required by your code. First, use the following command on a server
running the HBase RegionServer process, to get HBase's classpath.
-[[jython]]
-== Jython
-
-
-=== Setting the Classpath
-
-To use Jython with HBase, your CLASSPATH must include HBase's classpath as well as
-`jython.jar`. First, use the following command on a server running the HBase RegionServer
-process, to get HBase's classpath.
->>>>>>> HBASE-14638 Move Jython info from the Wiki to the Ref Guide
-
[source, bash]
----
$ ps aux |grep regionserver| awk -F 'java.library.path=' {'print $2'} | awk {'print $1'}
@@ -655,7 +644,6 @@ $ ps aux |grep regionserver| awk -F 'java.library.path=' {'print $2'} | awk {'pr
----
Set the `$CLASSPATH` environment variable to include the path you found in the previous
-<<<<<<< 12a718d0ca507c911f589d2926cfc408e4155b0e
step, plus the path of `scala-library.jar` and each additional Scala-related JAR needed for
your project.
@@ -712,8 +700,27 @@ val result=table.get(theget)
val value=result.value()
println(Bytes.toString(value))
----
-=======
-step, plus the path to `jython.jar`.
+
+[[jython]]
+== Jython
+
+
+=== Setting the Classpath
+
+To use Jython with HBase, your CLASSPATH must include HBase's classpath as well as
+the Jython JARs required by your code. First, use the following command on a server
+running the HBase RegionServer process, to get HBase's classpath.
+
+[source, bash]
+----
+$ ps aux |grep regionserver| awk -F 'java.library.path=' {'print $2'} | awk {'print $1'}
+
+/usr/lib/hadoop/lib/native:/usr/lib/hbase/lib/native/Linux-amd64-64
+----
+
+Set the `$CLASSPATH` environment variable to include the path you found in the previous
+step, plus the path to `jython.jar` and each additional Jython-related JAR needed for
+your project.
[source, bash]
----