hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Forehand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-8695) The HBase thrift service ignores XML configuration
Date Wed, 05 Jun 2013 21:53:20 GMT
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

Mime
View raw message