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-8695) The HBase thrift service ignores XML configuration
Date Thu, 11 Jul 2013 11:47:51 GMT

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

Hudson commented on HBASE-8695:
-------------------------------

Integrated in HBase-0.94 #1051 (See [https://builds.apache.org/job/HBase-0.94/1051/])
    HBASE-8695 The HBase thrift service ignores XML configuration (Revision 1502161)

     Result = SUCCESS
larsgeorge : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java

                
> 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
>            Assignee: Lars George
>             Fix For: 0.98.0, 0.95.2, 0.94.10
>
>         Attachments: HBASE-8695.patch
>
>
> 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