hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-5082) ColumnAggregationEndPoint- Causes null pointer in RS when we pass null column qualifier
Date Tue, 06 Jan 2015 16:49:35 GMT

     [ https://issues.apache.org/jira/browse/HBASE-5082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell resolved HBASE-5082.
-----------------------------------
    Resolution: Invalid

Thanks for the nudge [~clehene]


> ColumnAggregationEndPoint- Causes null pointer in RS when we pass null column qualifier
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-5082
>                 URL: https://issues.apache.org/jira/browse/HBASE-5082
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Priority: Minor
>              Labels: delete
>
> I was trying to use the ColumnAggregationEndPoint.sum().
>  
> In my sample is just created a column family but did not use any qualifier and inserted
some data.
>  
> I tried to use  ColumnAggregationEndPoint.sum(qualifier, null).  When i did this inside
the ColumnAggregationEndPoint we do 
> scan.addColumn().  This is adding the [null] array in the scan object.  Later in the
scanQueryMatcher it is throwing nullpointer exception.  
> I can understand that addColumn() is to specifiy the qualifier.
> Do we need to document somewhere saying qualifier should not be null? I think coprocessors
can be used even in places where we don't have qualifiers. If that is the case this sample
ColumnAggregationEndPoint may not work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message