hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Hbase/Jython" by stack
Date Mon, 03 Mar 2008 20:39:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by stack:
http://wiki.apache.org/hadoop/Hbase/Jython

The comment on the change is:
Add alternative for setting CLASSPATH

------------------------------------------------------------------------------
  }}}
  My CLASSPATH then contains 24 entries.
  When you start Jython it will likely print some stuff to the screen about processing each
of the jars listed in your CLASSPATH.
+ 
+ 
+ An alternative that is available in TRUNK or in (the soon to be released) 0.1.0 is to do
the following:
+ 
+ {{{$ HBASE_OPTS="-Dpython.path=$JYTHON_HOME" HBASE_CLASSPATH=$JYTHON_HOME/jython.jar ./bin/hbase
org.python.util.jython
+ Jython 2.2.1 on java1.5.0_13
+ Type "copyright", "credits" or "license" for more information.
+ >>> from org.apache.hadoop.hbase.client import HTable;
+ >>> }}}
+ 
+ This will start up a jython shell with all of hbase and hadoop on its CLASSPATH. Be sure
to define JYTHON_HOME so it points at your jython install.
  
  == The Code ==
  

Mime
View raw message