You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Brandon Forehand (JIRA)" <ji...@apache.org> on 2013/06/05 23:53:20 UTC

[jira] [Created] (HBASE-8695) The HBase thrift service ignores XML configuration

Brandon Forehand created HBASE-8695:
---------------------------------------

             Summary: The HBase thrift service ignores XML configuration
                 Key: HBASE-8695
                 URL: https://issues.apache.org/jira/browse/HBASE-8695
             Project: HBase
          Issue Type: Bug
          Components: Thrift
    Affects Versions: 0.94.6
         Environment: Ubuntu 12.04.2 LTS
            Reporter: Brandon Forehand


I put the following configuration in my hbase-site.xml:

{code}
  <property>
    <name>hbase.regionserver.thrift.compact</name>
    <value>true</value>
  </property>
  <property>
    <name>hbase.regionserver.thrift.framed</name>
    <value>true</value>
  </property>
{code}

But the configuration is ignored due to the following lines in ThriftServer.java around lines 197:

{code}
    conf.setBoolean(
        ThriftServerRunner.COMPACT_CONF_KEY, cmd.hasOption(COMPACT_OPTION));
    conf.setBoolean(
        ThriftServerRunner.FRAMED_CONF_KEY, cmd.hasOption(FRAMED_OPTION));
{code}

The configuration values are being unconditionally set to the defaults programmatically.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira