hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18647) Parameter cacheBlocks does not take effect in REST API for scan
Date Thu, 24 Aug 2017 18:42:00 GMT

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

Hudson commented on HBASE-18647:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.5 #28 (See [https://builds.apache.org/job/HBase-1.5/28/])
HBASE-18647 Parameter cacheBlocks does not take effect in REST API for (tedyu: rev 016ead793631d148c09d1df24807618661b9f884)
* (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Constants.java
* (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
* (edit) hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableScanResource.java


> Parameter cacheBlocks does not take effect in REST API for scan
> ---------------------------------------------------------------
>
>                 Key: HBASE-18647
>                 URL: https://issues.apache.org/jira/browse/HBASE-18647
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.0.0, 3.0.0, 1.4.0
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>             Fix For: 3.0.0, 1.4.0, 1.5.0, 2.0.0-alpha-3
>
>         Attachments: HBASE-18647.branch-1.patch, HBASE-18647.patch
>
>
> Assign the parameter SCAN_BATCH_SIZE to the variable cacheBlocks  incorrectly.
> And cacheBlocks  has never been used.
> {code:title=TableResource.java|borderStyle=solid}
>   @Path("{scanspec: .*[*]$}")
>   public TableScanResource  getScanResource(
>       final @PathParam("scanspec") String scanSpec,
>       @DefaultValue(Integer.MAX_VALUE + "")
>       @QueryParam(Constants.SCAN_LIMIT) int userRequestedLimit,
>       @DefaultValue("") @QueryParam(Constants.SCAN_START_ROW) String startRow,
>       @DefaultValue("") @QueryParam(Constants.SCAN_END_ROW) String endRow,
>       @DefaultValue("") @QueryParam(Constants.SCAN_COLUMN) List<String> column,
>       @DefaultValue("1") @QueryParam(Constants.SCAN_MAX_VERSIONS) int maxVersions,
>       @DefaultValue("-1") @QueryParam(Constants.SCAN_BATCH_SIZE) int batchSize,
>       @DefaultValue("0") @QueryParam(Constants.SCAN_START_TIME) long startTime,
>       @DefaultValue(Long.MAX_VALUE + "") @QueryParam(Constants.SCAN_END_TIME) long endTime,
>       @DefaultValue("true") @QueryParam(Constants.SCAN_BATCH_SIZE) boolean cacheBlocks,
>       @DefaultValue("false") @QueryParam(Constants.SCAN_REVERSED) boolean reversed,
>       @DefaultValue("") @QueryParam(Constants.SCAN_FILTER) String paramFilter) {
> {code}



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

Mime
View raw message