hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18174) Implement Table#checkAndPut()
Date Wed, 07 Jun 2017 16:52:18 GMT

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

Ted Yu commented on HBASE-18174:
--------------------------------

For RequestConverter::SetRegionToMutateRequest(), when I declare first parameter as {{const
std::unique_ptr<hbase::Request>}}, I got the following compilation error:
{code}
core/request-converter.cc:302:10: error: call to deleted constructor of 'std::unique_ptr<Request>'
  return std::move(
         ^~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.3.1/../../../../include/c++/5.3.1/bits/unique_ptr.h:356:7:
note: 'unique_ptr' has been explicitly marked deleted here
      unique_ptr(const unique_ptr&) = delete;
      ^
1 error generated.
{code}

> Implement Table#checkAndPut()
> -----------------------------
>
>                 Key: HBASE-18174
>                 URL: https://issues.apache.org/jira/browse/HBASE-18174
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>         Attachments: 18174.v1.txt
>
>
> This task is to implement Table#checkAndPut() method



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message