Hi,

Did you source impala-config.sh on the other host?

As Tim said in an other thread, getJNIEnv is defined in libhdfs.so.

Search for the binary of catalogd by issuing:
find -name catalogd -executable -not -type d

Check for the libhdfs.so dynamic library on each hosts:
ldd catalogd | grep libhdfs

So it can find the so on the host that compiled impala, but cannot find the
so on the other host, right?
If you can find the so in the filesystem, try to set LD_LIBRARY_PATH
manually.

BR,
    Zoltan





On Fri, Jan 5, 2018 at 3:08 AM, sky <[email protected]> wrote:

> I compiled the Impala with the command( ./buildall.sh -notests -so
> -release). And then move the directory to the same directory to start on
> another host.But get the errors:
> $ cat logs/cluster/catalogd.ERROR
> Log file created at: ******
> Running on machine: *******
> Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
> E0103 ******  8216 logging.cc:126] stderr will be logged to this file.
> /impala/be/build/latest/catalog/catalogd: symbol lookup error:
> /impala/be/build/release/util/libUtil.so: undefined symbol: getJNIEnv
>
>
> I used Centos 6.5.  In addition to recompiling without -so , are there any
> other ways ?
>
>
>
>

Reply via email to