hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: multiple row key ranges support in hbase
Date Mon, 20 Apr 2015 15:26:25 GMT
In my previous email I outlined two approaches. 

Can you tell me whether you tried both ?

Cheers



> On Apr 20, 2015, at 8:16 AM, Jeetendra Gangele <gangele397@gmail.com> wrote:
> 
> Still no luck, what about if add
> https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java
> code into my project and use it.
> 
> create jar and deploy it to hbase.root.dir?
>> On 20 April 2015 at 04:33, Ted Yu <yuzhihong@gmail.com> wrote:
>> 
>> bq. Still this did not worked
>> 
>> Looking at:
>> 
>> http://repository.apache.org/content/groups/snapshots/org/apache/hbase/hbase-client/1.1.0-SNAPSHOT/
>> 
>> it seems you should plugin 20150323.232504-1 for SNAPSHOT
>> 
>> The above artifact was about 1 month old. You can install 1.1.0-SNAPSHOT
>> locally by running the following command from hbase-1 workspace:
>> mvn install -DskipTests
>> 
>> Cheers
>> 
>> On Sun, Apr 19, 2015 at 2:01 PM, Jeetendra Gangele <gangele397@gmail.com>
>> wrote:
>> 
>>> Still this did not worked,Can you please point me from where I can
>> download
>>> this jar?
>>> 
>>>> On 16 April 2015 at 20:16, Ted Yu <yuzhihong@gmail.com> wrote:
>>>> 
>>>> You can first run the following command in your workspace:
>>>> 
>>>> mvn clean package -DskipTests eclipse:eclipse
>>>> 
>>>> FYI
>>>> 
>>>> On Thu, Apr 16, 2015 at 7:43 AM, Jeetendra Gangele <
>> gangele397@gmail.com
>>>> 
>>>> wrote:
>>>> 
>>>>> its not able to download and my POM in eclipse giving below error and
>>> no
>>>>> jar file downloaded
>>>>> 
>>>>> Missing artifact org.apache.hbase:hbase-client:jar:1.1.0-SNAPSHOT
>>>>> 
>>>>>> On 16 April 2015 at 20:07, Ted Yu <yuzhihong@gmail.com> wrote:
>>>>>> 
>>>>>> Your syntax is correct.
>>>>>> 
>>>>>> What errors did you encounter ?
>>>>>> 
>>>>>> On Thu, Apr 16, 2015 at 7:23 AM, Jeetendra Gangele <
>>>> gangele397@gmail.com
>>>>>> 
>>>>>> wrote:
>>>>>> 
>>>>>>> how to make entry in POM file? i did not like it did not bring
>> the
>>>> file
>>>>>>> 
>>>>>>> <groupId>org.apache.hbase</groupId>
>>>>>> <artifactId>hbase-client</artifactId> <
>>>>>>> version>1.1.0-SNAPSHOT</version> </dependency>
<dependency>
>>> <groupId
>>>>>>>> org.apache.hbase</groupId> <artifactId>hbase-server</artifactId>
>>>>>> <version
>>>>>>>> 1.1.0-SNAPSHOT</version> </dependency>
>>>>>>> 
>>>>>>>> On 16 April 2015 at 19:43, Ted Yu <yuzhihong@gmail.com>
wrote:
>>>>>>>> 
>>>>>>>> HBase 1.1.0 SNAPSHOT has been published.
>>>>>>>> e.g. take a look here:
>> http://repository.apache.org/content/groups/snapshots/org/apache/hbase/hbase-common/1.1.0-SNAPSHOT/
>>>>>>>> 
>>>>>>>> MultiRowRangeFilter is in the hbase-client module.
>>>>>>>> 
>>>>>>>> FYI
>>>>>>>> 
>>>>>>>> On Thu, Apr 16, 2015 at 6:39 AM, Jeetendra Gangele <
>>>>>> gangele397@gmail.com
>>>>>>>> 
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> Is this Available in maven repository.?
>>>>>>>>> I did not build the xml I just added below dependencies
in my
>>>>> POM.xml
>>>>>>> and
>>>>>>>>> it should work right?
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> <dependency> <groupId>org.apache.hbase</groupId>
>>>>>>>> <artifactId>hbase-client</
>>>>>>>>> artifactId> <version>1.1.0-SNAPSHOT</version>
</dependency>
>>>>>>> <dependency>
>>>>>>>> <
>>>>>>>>> groupId>org.apache.hbase</groupId>
>>>>>>> <artifactId>hbase-server</artifactId>
>>>>>>>> <
>>>>>>>>> version>1.1.0-SNAPSHOT</version> </dependency>
>>>>>>>>> 
>>>>>>>>> On 16 April 2015 at 19:04, Ted Yu <yuzhihong@gmail.com>
>> wrote:
>>>>>>>>> 
>>>>>>>>>> bq. saying missing artifacts
>>>>>>>>>> 
>>>>>>>>>> Can you pastebin the errors you encountered ?
>>>>>>>>>> 
>>>>>>>>>> Thanks
>>>>>>>>>> 
>>>>>>>>>> On Wed, Apr 15, 2015 at 9:32 PM, Jeetendra Gangele
<
>>>>>>>> gangele397@gmail.com
>>>>>>>>>> 
>>>>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>>> I tried adding below dependencies in pom.xml
did not work
>>> out
>>>>>>> saying
>>>>>>>>>>> missing artifacts
>>>>>>>>>>> 
>>>>>>>>>>> <dependency> <groupId>org.apache.hbase</groupId>
>>>>>>>>>> <artifactId>hbase-client</
>>>>>>>>>>> artifactId> <version>1.1.0-SNAPSHOT</version>
>> </dependency>
>>>>>>>>> <dependency>
>>>>>>>>>> <
>>>>>>>>>>> groupId>org.apache.hbase</groupId>
>>>>>>>>> <artifactId>hbase-server</artifactId>
>>>>>>>>>> <
>>>>>>>>>>> version>1.1.0-SNAPSHOT</version> </dependency>
>>>>>>>>>>> 
>>>>>>>>>>> On 15 April 2015 at 05:35, Nick Dimiduk <
>>> ndimiduk@gmail.com>
>>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> This feature has been committed to master
(2.0) and
>>>> branch-1
>>>>>>> (1.1).
>>>>>>>>> You
>>>>>>>>>>> can
>>>>>>>>>>>> checkout the code and build branch-1. If
you're not
>>>>> comfortable
>>>>>>>> with
>>>>>>>>>>> that,
>>>>>>>>>>>> the 1.1.0 release is scheduled for end of
this month.
>>> There
>>>>>>> should
>>>>>>>> be
>>>>>>>>>>> some
>>>>>>>>>>>> SNAPSHOT builds available in the mean time
(IIRC, at
>>> least
>>>>> one
>>>>>>> has
>>>>>>>>>>> already
>>>>>>>>>>>> been pushed), so you can see about updating
your pom to
>>>> hbase
>>>>>>>> version
>>>>>>>>>>>> 1.1.0-SNAPSHOT to find this feature.
>>>>>>>>>>>> 
>>>>>>>>>>>> Do any of those options work for you Jeetendra?
>>>>>>>>>>>> 
>>>>>>>>>>>> On Tue, Apr 14, 2015 at 1:29 PM, Jeetendra
Gangele <
>>>>>>>>>> gangele397@gmail.com
>>>>>>>>>>>> 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>>> Hi All I have multiple range Queries
which I need to
>>> fire
>>>>> on
>>>>>>> same
>>>>>>>>>> table
>>>>>>>>>>>> and
>>>>>>>>>>>>> Want the result at single call.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I did little bit search and found
>>>>>>>>>>>>> https://issues.apache.org/jira/browse/HBASE-11144
>>>>>>>>>>>>> is there any alternative for this? which
can give
>> same
>>>>>>>> performance.
>>>>>>>>>>>>> Will it give much better result then
firing the each
>>>> range
>>>>>>> query
>>>>>>>> in
>>>>>>>>>>>>> separate scan and collating the results
from each
>> scan.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Also if its not possible can you please
guide how to
>>>> apply
>>>>>> this
>>>>>>>>>> patch.
>> 

Mime
View raw message