[ 
https://issues.apache.org/jira/browse/HBASE-18815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183260#comment-16183260
 ] 

Peter Somogyi commented on HBASE-18815:
---------------------------------------

My suggestion is to create an interface called CompactionRequest with the 
relevant getters (e.g. isMajor, getPriority...) and implement this interface in 
the current CompactionRequest class. We can rename the current class to 
CompactionRequestImpl similarly as it is done in some places.
After this we can pass the interface to CP.

Any thoughts?

> We need to pass something like CompactionRequest in CP to give user some 
> information about the compaction
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18815
>                 URL: https://issues.apache.org/jira/browse/HBASE-18815
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Duo Zhang
>             Fix For: 2.0.0-alpha-4
>
>
> For example, it is a major compaction or minor compaction.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to