Re: thrift.ProcessFunction: Internal error processing get

2015-08-25 Thread Chandrashekhar Kotekar
On Tue, Aug 25, 2015 at 9:19 AM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Did it worked on your system? Are you able to get some row from HBase using Node.js? Regards, Chandrash3khar Kotekar Mobile - +91 8600011455 On Mon, Aug 24, 2015 at 9:22 PM, Ted Yu yuzhih

Re: Thrift node.js code not working

2015-08-24 Thread Chandrashekhar Kotekar
, 2015 at 5:47 AM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: I am using HBase 0.98.6 which is shipped with CDH 5.3.0, Thrift compiler version is 0.9.2 and I guess I have started HBase thrift server. I am not sure if Thrift2 is available with 0.98.6 or not and even

Re: Thrift node.js code not working

2015-08-24 Thread Chandrashekhar Kotekar
Mobile - +91 8600011455 On Mon, Aug 24, 2015 at 6:15 PM, Ted Yu yuzhih...@gmail.com wrote: Which hbase release are you using ? Which version of thrift do you use in your app ? Thanks On Aug 24, 2015, at 5:00 AM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Hi, I am

Re: Thrift node.js code not working

2015-08-24 Thread Chandrashekhar Kotekar
, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Figured it out. I was passing wrong javascript object to that method but now getting ' ERROR thrift.ProcessFunction: Internal error processing get' error in Thrift server logs. Shall I write separate thread about this error

thrift.ProcessFunction: Internal error processing get

2015-08-24 Thread Chandrashekhar Kotekar
Hi, I have generated node.js files using Thrift and trying to get a single row from HBase. I am getting thrift.ProcessFunction: Internal error processing get http://pastebin.com/embed.php?i=r9uqr8iN error when I execute Node.js code. When I try to put dummy column to existing row then I get this

Thrift node.js code not working

2015-08-24 Thread Chandrashekhar Kotekar
Hi, I am trying to use following code to test HBase Thrift interface for Node.js but it is not working. *var thrift = require('thrift');* *var hbase = require('./gen-nodejs/THBaseService');* *var hbaseTypes = require('./gen-nodejs/hbase_types');* *var connection = thrift.createConnection('nn2',

Re: thrift.ProcessFunction: Internal error processing get

2015-08-24 Thread Chandrashekhar Kotekar
error ' message. I tried the above operation both at home and at work. Can you double check your code, considering the 'Invalid method name' message ? Thanks On Mon, Aug 24, 2015 at 7:32 AM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Hi, I have generated node.js files

Re: HBase co-processor performance

2015-07-16 Thread Chandrashekhar Kotekar
Regions. Search mailing archives for more detailed discussion on this topic. How about denormalizing the data and then just doing ONE call? Now, this becomes more of a data modeling question. Thanks, Anil Gupta On Tue, Jul 14, 2015 at 11:39 PM, Chandrashekhar Kotekar shekhar.kote

HBase co-processor performance

2015-07-15 Thread Chandrashekhar Kotekar
Hi, REST APIs of my project make 2-3 calls to different tables in HBase. These calls are taking 10s of milli seconds to finish. I would like to know 1) If moving business logic to HBase co-processors and/or observer will improve performance? Idea is like to pass all the related information to

Performance of co-processor and observer while fetching data from other RS

2015-07-15 Thread Chandrashekhar Kotekar
Hi, REST APIs of my project make 2-3 calls to different tables in HBase. These calls are taking 10s of milli seconds to finish. I would like to know 1) If moving business logic to HBase co-processors and/or observer will improve performance? Idea is like to pass all the related information to

Is it possible to execute co-processors like cron job?

2015-06-19 Thread Chandrashekhar Kotekar
Hi, Can you please help to see if there is any feature in HBase which will satisfy following? 1) I need something which will be native to HBase and 2) Which will be able to execute some code at certain interval like daily or weekly. Is there any HBase feature which satisfies these two

How to create HTableInterface object per thread in REST API?

2015-06-05 Thread Chandrashekhar Kotekar
Hello everyone, We have a REST API which communicates with HBase for CRUD operations. During load testing we saw that REST API throws String index out of range exception if multiple parallel requests try to insert hundreds of cells in HBase. After looking at HBase code and after reading HBase

HBase copyTable stuck at map 100% reduce 0%

2015-05-02 Thread Chandrashekhar Kotekar
Hi, I am copying table from primary cluster to backup cluster using copyTable command but m-r job spawned by this command is stuck at map 100% reduce 0%. Command used is : hbase org.apache.hadoop.hbase.mapreduce.CopyTable -Dhbase.client.scanner.caching=100 --peer.adr=target-nn1:/hbase Here is

Cluster replication is not replicating any data

2015-04-28 Thread Chandrashekhar Kotekar
Hi, I have setup cluster replication between 2 clusters but data is not getting copied. Can anyone please help me in cluster replication? I would like to know if I add only 1 row in one of the tables then will that row get replicated in other cluster or HBase waits for some time or HBase waits

Re: Cluster replication is not replicating any data

2015-04-28 Thread Chandrashekhar Kotekar
:39 PM Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Yes. When replication did not worked then I copied 4 rows which were already present in primary cluster using copyTables program. Those 4 rows properly got copied into target cluster. Regards, Chandrash3khar Kotekar

Re: InvocationTargetException exception from org.apache.hadoop.hbase.client.HConnectionManager.createConnection

2015-03-03 Thread Chandrashekhar Kotekar
Spaggiari jean-m...@spaggiari.org wrote: Hi Chandrashekhar, Can you make sure your hbase-site.xml is into the classpath and remove the addResouce line from your code? JM 2015-03-03 0:07 GMT-05:00 Chandrashekhar Kotekar shekhar.kote...@gmail.com : My tomcat based REST API application

InvocationTargetException exception from org.apache.hadoop.hbase.client.HConnectionManager.createConnection

2015-03-02 Thread Chandrashekhar Kotekar
My tomcat based REST API application is not able to process request due to above mentioned error. I have tried following things so far : 1. checking if all the jar files are available or not 2. Checking permissions on all files present in tomcat/webapp/ directory 3. firewall rules 4.

Re: Storing Json format in Hbase

2015-01-04 Thread Chandrashekhar Kotekar
You can convert xml to json using map-reduce program and then store json into HBase but you need to decide what should be your row key. Another point you have to take into account is that if you want to search anything inside json or not. If you want to search inside json then HBase won't be best

Re: Hello!

2014-11-02 Thread Chandrashekhar Kotekar
Hello jackie.. looks like u have joined mailing list just now :D Regards, Chandrash3khar Kotekar Mobile - +91 8600011455 On Sun, Nov 2, 2014 at 6:52 PM, jackie jackiehbaseu...@126.com wrote: Hello!

Re: Could not resolve the DNS name of slave2:60020

2014-08-01 Thread Chandrashekhar Kotekar
Thanks a lot for your help :) Regards, Chandrash3khar Kotekar Mobile - +91 8600011455 On Fri, Aug 1, 2014 at 11:46 AM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: Not sure if client will approve the upgrade.. :( Regards, Chandrash3khar Kotekar Mobile - +91 8600011455

Re: Could not resolve the DNS name of slave2:60020

2014-08-01 Thread Chandrashekhar Kotekar
(HBase 0.98)? 2014-07-31 3:25 GMT-04:00 Chandrashekhar Kotekar shekhar.kote...@gmail.com : No, we are using hbase-0.90.6-cdh3u6 Regards, Chandrash3khar Kotekar Mobile - +91 8600011455 On Thu, Jul 31, 2014 at 12:49 PM, Qiang Tian tian...@gmail.com wrote: see https

Re: Could not resolve the DNS name of slave2:60020

2014-07-31 Thread Chandrashekhar Kotekar
to HBase? Thanks, JM 2014-07-30 7:34 GMT-04:00 Chandrashekhar Kotekar shekhar.kote...@gmail.com : I have a HBase cluster on AWS. I have written few REST services which are supposed to connect to this HBase cluster and get some data. My configuration is as below : 1. Java code

Re: Could not resolve the DNS name of slave2:60020

2014-07-31 Thread Chandrashekhar Kotekar
, 2014 at 2:24 PM, Chandrashekhar Kotekar shekhar.kote...@gmail.com wrote: This is how /etc/hosts file looks like on HBase master node ubuntu@master:~$ cat /etc/hosts 10.78.21.133 master #10.62.126.245 slave1 #10.154.133.161 slave1 10.224.115.218 slave1 10.32.213.195 slave2

Could not resolve the DNS name of slave2:60020

2014-07-30 Thread Chandrashekhar Kotekar
I have a HBase cluster on AWS. I have written few REST services which are supposed to connect to this HBase cluster and get some data. My configuration is as below : 1. Java code, eclipse, tomcat running on my desktop 2. HBase cluster, Hadoop cluster sitting on AWS 3. Can connect to