So... could finally compile Hive ODBC by patching the Thrift.h header...
I think there is some configure header issue with the HAVE_* constants
the are defined in the /include/thrift/config.h header.
It will only include the required headers if HAVE_CONFIG_H is defined:
#define HAVE_CONFIG_H 1
FYI:
hive@orca:~/hive-0.10.0/src$ g++ --version
g++ (Debian 4.4.5-8) 4.4.5
Seb
On 04/30/2013 04:13 PM, Sebastien FLAESCH wrote:
Making some progress...
After disabling some options to build thrift - because it installs some
files in the system directory (/usr/lib/php), and I - do not - want t
Making some progress...
After disabling some options to build thrift - because it installs some
files in the system directory (/usr/lib/php), and I - do not - want that,
I did following configure for thrift:
./configure --prefix=/home/hive/thrift-0.9.0 \
--with-qt4=no \
--with-csharp=no \
Thank you Carl, but I still have problems to build Hive ODBC:
I followed the instruction from this page (I believe the doc is wrong):
https://cwiki.apache.org/Hive/hiveodbc.html
Where it says:
"Build the Hive client by running the following command from HIVE_HOME..."
Here is my env:
Hi Sebastien,
Most (if not all) of the ant targets will fail if run from the submodule
directories. You must run the targets from the root source directory
instead.
Thanks.
Carl
On Fri, Apr 26, 2013 at 6:09 AM, Sebastien FLAESCH wrote:
> I have now installed Thrift, but I still get the error
I have now installed Thrift, but I still get the error with the "osfamily" task:
Please help!
hive@orca:~/hive-0.10.0/src/odbc$ ant compile-cpp
-Dthrift.home=/home/hive/thrift-0.9.0
Buildfile: /home/hive/hive-0.10.0/src/odbc/build.xml
BUILD FAILED
/home/hive/hive-0.10.0/src/odbc/build.xml:30:
Go it, need to install Apache Thrift first ... sorry for this mail.
Seb
On 04/26/2013 01:33 PM, Sebastien FLAESCH wrote:
Hi all,
Just started with an Hadoop / Hive POC to write a
So far, I have installed:
So far I have downloaded the Hadoop and Hive packages from:
http://hadoop.apache.org/re