It's not work, because HBase will set itself's java.library.path in hbase srcipt.
On Sat, Feb 21, 2009 at 12:22 AM, stack <[email protected]> wrote: > If doing the following: > > HBASE_OPTS="-Dpython.path=$JYTHON_HOME" > HBASE_CLASSPATH=$JYTHON_HOME/jython.jar ./bin/hbase > org.python.util.jython > > ... just add the -Djava.library.path=... as an extra option to HBASE_OPTS > as in: > > HBASE_OPTS="-Dpython.path=$JYTHON_HOME > -Djava.library.path=/READLINE_PATH" > HBASE_CLASSPATH=$JYTHON_HOME/jython.jar ./bin/hbase > org.python.util.jython > > St.Ack > > > > On Thu, Feb 19, 2009 at 5:48 PM, Ryan Rawson <[email protected]> wrote: > > > If you start jython with a CLASSPATH it will respect said classpath... > > > > That is how I got my jython + hbase work done. > > > > -ryan > > > > On Thu, Feb 19, 2009 at 5:46 PM, xiaohui zhang <[email protected]> > wrote: > > > > > Hi, everybody, > > > I want to use HBase with Jython and followed the instructions of > > > http://wiki.apache.org/hadoop/Hbase/Jython. Every thing goes fine, but > > the > > > command line editor. I googled and find out that Jython need a native > > edit > > > line library(http://wiki.python.org/jython/ReadlineSetup) to work > > > correctly. > > > > > > It seems there is no way to set a extra java.library.path for HBase. Do > I > > > have to copy the library to HBase's native library path or manually > > modify > > > the hbase script? > > > > > > Thanks. > > > > > > Best regards, > > > Xiaohui > > > > > >
