[
https://issues.apache.org/jira/browse/HBASE-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699453#comment-13699453
]
stack commented on HBASE-8810:
------------------------------
Here is result of a little experiment where I generate a java constants file
from hbase-default.xml.
Here is how I ran did the generation:
{code}
$ java -classpath /opt/local/share/java/saxon9he.jar net.sf.saxon.Transform
-xsl:hbase-default_to_java_constants.xsl
~/checkouts/hbase/hbase-common/src/main/resources/hbase-default.xml >
HBaseDefaultXMLConstants.java
{code}
We could have the build do this for us if we wanted.
Attached are stylesheet and example generated class. Needs a bit of work
including marking the hbase-default.xml w/ type information; e.g. if a String,
I'd supply quotes.
> Bring in code constants in line with default xml's
> --------------------------------------------------
>
> Key: HBASE-8810
> URL: https://issues.apache.org/jira/browse/HBASE-8810
> Project: HBase
> Issue Type: Bug
> Reporter: Elliott Clark
> Assignee: Elliott Clark
>
> After the defaults were changed in the xml some constants were left the same.
> DEFAULT_HBASE_CLIENT_PAUSE for example.
--
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