You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2017/07/18 23:14:00 UTC
[jira] [Created] (HBASE-18407) [C++] Configuration::SetBool should
convert bool value to "true" or "false"
Xiaobing Zhou created HBASE-18407:
-------------------------------------
Summary: [C++] Configuration::SetBool should convert bool value to "true" or "false"
Key: HBASE-18407
URL: https://issues.apache.org/jira/browse/HBASE-18407
Project: HBase
Issue Type: Sub-task
Reporter: Xiaobing Zhou
Assignee: Xiaobing Zhou
Configuration::SetBool internally converts true/false to 1/0 using boost::lexical_cast<std::string>(value), this results in runtime exception with 'Unexpected value found while conversion to bool.' in Configuration::GetBool since it only recognizes "true" or "false" as string representation of true or false.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)