[
https://issues.apache.org/jira/browse/HBASE-12756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257873#comment-14257873
]
stack commented on HBASE-12756:
-------------------------------
Can't you just load up a file that has only your differences in it (See how
HBaseConfiguration constructor works loading hbase-default and hbase-site).
> Generate hbase-site2.xml from contents of hbase-site.xml when test runs
> -----------------------------------------------------------------------
>
> Key: HBASE-12756
> URL: https://issues.apache.org/jira/browse/HBASE-12756
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Priority: Minor
>
> During review of HBASE-12651, Enis made the following comment:
> hbase-site2.xml will diverge from hbase-site.xml very quickly since devs will
> not know about this file, and will not change it then they add a new conf
> option. Then, when this test overwrites the file, concurrently running tests
> will be affected. I think the unit test should be changed so that it
> dynamically re-writes the file with the added config option rather than
> committing the hbase-site2.xml file.
> This JIRA is for generating hbase-site2.xml based on the contents of
> hbase-site.xml at runtime.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)