Thanks Carl,
i could test ODBC driver for Hive following what you suggested as 1)
Ariel
On Wed, Sep 8, 2010 at 4:59 AM, Carl Steinbach wrote:
> Hi Ariel,
>
> Here are a couple more things to try:
>
> 1) Force libhiveodbc.so to be loaded first by setting the LD_PRELOAD
> environment library:
>
>
Hi Ariel,
Here are a couple more things to try:
1) Force libhiveodbc.so to be loaded first by setting the LD_PRELOAD
environment library:
% LD_PRELOAD=/usr/local/unixODBC/lib/libodbchive.so isql -v Hive
It turns out that SQLAllocEnv is defined in both libodbchive.so *and*
libodbc.so. I have not
Something you can check out are:
- Did you compiled and deployed your code in different environment (Linux/C
compier version)? If so there might incompatibility issues in the kernel/C .so
files
- Can you check 'ldd isql' and see which .so files it loads? Particularly
libodbc.so should be the
All three .so files can be found in LD_LIBRARY_PATH and i am still getting
the same error. Thanks for your suggestion.
On Tue, Sep 7, 2010 at 1:41 AM, Ning Zhang wrote:
> It looks like isql cannot load libodbchive.so. Please make sure that all
> three .so files libodbchive.so, libhiveclient.so,
It looks like isql cannot load libodbchive.so. Please make sure that all three
.so files libodbchive.so, libhiveclient.so, and libthrift.so can be found in
LD_LIBRARY_PATH.
On Sep 4, 2010, at 1:31 PM, Ariel Leiva wrote:
> Hi, i built Hive odbc driver following
> http://wiki.apache.org/hadoop
Hi, i built Hive odbc driver following
http://wiki.apache.org/hadoop/Hive/HiveODBC and wanted to test it with isql,
but i get the following error:
[ISQL]ERROR: Could not SQLAllocEnv
I set LD_LIBRARY_PATH so libhiveclient.so can be found correctly.
I also tried,
dltest libodbchive.so SQLAllocEnv w