Hive thrift C++ client

2010-11-29 Thread Saptarshi Guha
Hello, Does anyone have some example code of using building this? My steps, I'm trying to build a shared library using the thrift api 1. Checked out from SVN (trunk) 2. Made a directory called thrift, into which I place fb303.thrift, hive_metastore.thrift,hive_service.thrift,queryplan.thrift

Re: Deserializing results from ThriftHiveClient::fetch*

2010-11-30 Thread Saptarshi Guha
And sorry for the terrible grammar. Should have proofread. Cheers J From: Saptarshi Guha saptar...@revolution-computing.com Date: November 30, 2010 4:51:35 PM PST To: user@hive.apache.org Subject: Deserializing results from ThriftHiveClient::fetch* Hello A few questions. Once i get

Re: Deserializing results from ThriftHiveClient::fetch*

2010-12-01 Thread Saptarshi Guha
(). Thanks. Carl On Tue, Nov 30, 2010 at 4:51 PM, Saptarshi Guha saptar...@revolution-computing.com wrote: Hello A few questions. Once i get the result from e.g void fetchOne(std::string _return); how does one parse the bytes in _return? Is this what getSchema is for? Do I call getSchema

Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-01 Thread Saptarshi Guha
Hello, Does anyone get a backtrace when running HiveClientTestC? On an EC2 instance with Hive (0.6.0), i checked out the trunk (RELEASE_NOTEST.txt says 0.6.0) of Hive and compiled the client. ant compile-cpp -Dthrift.home=/usr/local Copied the odbc/testdata/ to /tmp and ran

Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-01 Thread Saptarshi Guha
/thrift -I/include -I/root/hive/service/include/thrift/fb303 -I/root/hive/service/src/gen-cpp -I/root/hive/metastore/src/gen-cpp -I/root/hive/odbc/src/cpp -L/root/hive/build/odbc/lib -L/usr/local/lib -lhiveclient -lthrift -ofoo x.cpp Cheers Saptarshi/Joy From: Saptarshi Guha saptar...@revolution

Re: Backtrace when running build/odbc/test/HiveClientTestC (from trunk)

2010-12-02 Thread Saptarshi Guha
-deactivate-malloccheck-on-x8664.html Setting MALLOC_CHECK_ to 0 or 1 should fix the situation. Hope this helps. Carl On Wed, Dec 1, 2010 at 3:43 PM, Saptarshi Guha saptar...@revolution-computing.com wrote: Hello, This very small code also fails (with similar errors) #include stdio.h

Question for ORCFileFormat

2013-09-09 Thread Saptarshi Guha
Hello, Are there any examples of writing using ORC as aFileOutputFormat (and then as a FileInputFormat) in MapReduce jobs? I was looking at the source of ORCFIleInput/OutputFormat but couldn't quite grok how to compose the ORCSerdes. Cheers Saptarshi

Re: Question for ORCFileFormat

2013-09-11 Thread Saptarshi Guha
, which enables you to read or write ORC files from MapReduce or Pig. -- Owen On Mon, Sep 9, 2013 at 11:14 AM, Saptarshi Guha saptarshi.g...@gmail.comwrote: Hello, Are there any examples of writing using ORC as aFileOutputFormat (and then as a FileInputFormat) in MapReduce jobs? I was looking