Details
Description
I put the following configuration in my hbase-site.xml:
<property> <name>hbase.regionserver.thrift.compact</name> <value>true</value> </property> <property> <name>hbase.regionserver.thrift.framed</name> <value>true</value> </property>
But the configuration is ignored due to the following lines in ThriftServer.java around lines 197:
conf.setBoolean( ThriftServerRunner.COMPACT_CONF_KEY, cmd.hasOption(COMPACT_OPTION)); conf.setBoolean( ThriftServerRunner.FRAMED_CONF_KEY, cmd.hasOption(FRAMED_OPTION));
The configuration values are being unconditionally set to the defaults programmatically.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-8826 Ensure HBASE-8695 is covered in Thrift 2
- Closed
-
HBASE-8921 [thrift2] Add GenericOptionsParser to Thrift 2 server
- Closed