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

Tim Sell updated HBASE-1285:
----------------------------

    Attachment: HBase-1285v2.patch

Attached patch that includes changes to generated files, of which it only 
touches Hbase.java

I haven't included a test. Not sure if it needs one or the best way to test 
this? It seems silly to run an actual compaction on a minidfs instance. Maybe 
it would make sense to just mock HBaseAdmin and HTable and check the right 
functions are called with the right arguments etc? The actual client operations 
aren't the thrift servers responsibility.

I did run the tests and TestThriftServer fails. I tried it without my changes 
and it still failed. I'm not sure why.


> Forcing compactions should be available via thrift.
> ---------------------------------------------------
>
>                 Key: HBASE-1285
>                 URL: https://issues.apache.org/jira/browse/HBASE-1285
>             Project: Hadoop HBase
>          Issue Type: New Feature
>            Reporter: Tim Sell
>            Assignee: Tim Sell
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HBase-1285v1.patch, HBase-1285v2.patch
>
>
> It would be useful to be able to trigger compactions via thrift just as we 
> can with the ruby shell.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to