hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: Extra java.library.path config parameter need?
Date Fri, 20 Feb 2009 16:22:46 GMT
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 <ryanobjc@gmail.com> 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 <xiaohuiz@gmail.com> 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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message