Re: Need help in HBase 0.98.1 CoProcessor Execution

2014-09-30 Thread Vikram Singh Chandel
Hi Ted i attached the coprocessor using the shell. Coprocessor jar contains RowCountEndpoint + ExampleProtos (taken from hbase-example.jar)* do i need to add anything else in that jar?* Client has some debugging code + RowCountEndpointTest command that i used disable 'author_30YR'

ExportSnapshot webhdfs problems

2014-09-30 Thread Brian Jeltema
I’m trying to use ExportSnapshot to copy a snapshot from a Hadoop 1 to a Hadoop 2 cluster using the webhdfs protocol. I’ve done this successfully before, though there are always mapper failures and retries in the job log. However, I’m not having success with a rather large table due to an

Getting Class not Found Exception while attaching CoProcessor jar( in HDFS) to table

2014-09-30 Thread Vikram Singh Chandel
Hi *HBase : 0.98.1 CDH 5.1.1* When i am trying to attach CoPro jar to table in RS logs i am getting following Exceptions ERROR org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost:* Failed to load coprocessor * org.apache.hadoop.hbase.coprocessor.RowCountEndpointCoPro java.io.IOException:

HBase 0.98.6.1 maven dependency

2014-09-30 Thread innowireless TaeYun Kim
Hi, I'm relatively new to HBase and maven. Currently I'm trying to add dependency for hbase-0.98.6.1-hadoop2.jar to my application. But when I run 'mvn package' after adding the dependency, it fails with the following error: [ERROR] Failed to execute goal on project MyApp: Could not

Re: HBase 0.98.6.1 maven dependency

2014-09-30 Thread Ted Yu
Please add the modules (components as you mentioned) to dependency. Cheers On Sep 30, 2014, at 5:21 AM, innowireless TaeYun Kim taeyun@innowireless.co.kr wrote: Hi, I'm relatively new to HBase and maven. Currently I'm trying to add dependency for hbase-0.98.6.1-hadoop2.jar to

Re: A use case for ttl deletion?

2014-09-30 Thread Michael Segel
OP wants to know good use cases where to use ttl setting. Answer: Any situation where the cost of retaining the data exceeds the value to be gained from the data. Using ttl allows for automatic purging of data. Answer2: Any situation where you have to enforce specific retention policies

Re: Getting Class not Found Exception while attaching CoProcessor jar( in HDFS) to table

2014-09-30 Thread Ted Yu
What endpoint class is in your jar ? The ClassNotFound exception means the class given by your command cannot be found. Cheers On Sep 30, 2014, at 4:52 AM, Vikram Singh Chandel vikramsinghchan...@gmail.com wrote: Hi *HBase : 0.98.1 CDH 5.1.1* When i am trying to attach CoPro jar to

Re: HBase 0.98.6.1 maven dependency

2014-09-30 Thread Sean Busbey
For 0.98.x you should use hbase - client. See the FAQ item on updating a maven managed project from 0.94 to 0.98: http://hbase.apache.org/book.html#d0e22846 -- Sean On Sep 30, 2014 7:20 AM, innowireless TaeYun Kim taeyun@innowireless.co.kr wrote: Hi, I'm relatively new to HBase and

are column qualifiers safe as user inputed values?

2014-09-30 Thread Ted
Hi I'm wondering if it's safe to use user inputed values as column qualifiers. I realised there maybe a sensible size limit, but that's easily checked. The scenario is if you wanted to store simple key/value pairs into column/values like perhaps some ones preferences like : FavouriteColour=Red

Re: are column qualifiers safe as user inputed values?

2014-09-30 Thread Nick Dimiduk
This depends more on your parsing code than on HBase. All values are converted into byte[]'s for HBase. Once your code has parsed the user input and generated the byte[], there's no place for ambiguity on the HBase side. On Tue, Sep 30, 2014 at 5:19 PM, Ted r6squee...@gmail.com wrote: Hi I'm