I have cloned the latest thrift and hbase code. Used thrift generator to 
generate c# code from 
hbase-thrift\src\main\resources\org\apache\hadoop\hbase\thrift. Then created a 
single VS solution with the generated code, the thrift lib for c# 
(thrift\lib\csharp\src\Thrift.csproj) and i also added a DemoClient 
(hbase-examples) converted from c++ to c#. When I run that I keep getting 
OutofMemoryException with not a lot of other useful information. I have done 
the same process for C++ and the democlient code from hbase-examples runs with 
no issues at all.


here's the client code:

TTransport socket = new TSocket(args[0], Convert.ToInt32(args[1]));
TTransport transport = new TBufferedTransport((TStreamTransport)socket);
TProtocol protocol = new TBinaryProtocol(transport);
Hbase.Client client = new Hbase.Client(protocol);
List<byte[]> tables = client.getTableNames();

The last line is where the exception is thrown. thanks

Reply via email to