hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2185) Add html version of default hbase-site.xml
Date Sat, 06 Feb 2010 23:15:28 GMT

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

Kay Kay commented on HBASE-2185:
--------------------------------

|  Should it be called from the docs target and the product linked too somewhere up in the
doc? 

That is ideal . I was playing around with forrest plugin and trying to make sure this integrates
with the 'docs' target. 

|  Perhaps from an article on default hbase settings? (xdoc - like metrics article you'll
see when you click on 'documentation'). 

If you were referring to this -  http://hadoop.apache.org/hbase/docs/r0.20.3/metrics.html
, then yes - it would be ideal to get this integrated with the docs target. 

Similar to that - we can have a Hadoop Default Configuration as a subnode and use that. Ideally
- we can have 'Getting Started'  link as a separate html page by itself putting some introduction
and then point to the package-info.java , as it does today. 

| Do we have an xslt engine in our classpath... ant finds one in the jvm?

I do not have anything special loaded in my classpath. I guess the xslt target just uses the
native xslt processor in the jvm and anybody with jdk 5+ (or , even jdk 1.4+) should be good.
Since it is mandatory that we use java 6 - this should not be an issue. 



> Add html version of default hbase-site.xml 
> -------------------------------------------
>
>                 Key: HBASE-2185
>                 URL: https://issues.apache.org/jira/browse/HBASE-2185
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Kay Kay
>         Attachments: HBASE-2185.patch
>
>
> In the hadoop getting started page - there is a html version of the default configuration
(of core-site.xml / hdfs-site.xml / mapred-site.xml ) . 
> It would be useful to have such a page for hbase-default.xml for easy reference without
flipping the editors. 
> patch creates a html file from the default hbase-default.xml usign xslt. 
> new target - conf.gen.html - added. 
> sample run 
> $ ant conf.gen.html
> Buildfile: build.xml
> init:
> conf.gen.html:
>      [xslt] Processing /opt/workspace/remote-ws/hbase/conf/hbase-default.xml to /opt/workspace/remote-ws/hbase/build/hbase-site.html
>      [xslt] Loading stylesheet /opt/workspace/remote-ws/hbase/docs/conf2html.xsl
>      [echo] HTML Format of default HBase configuration available at /opt/workspace/remote-ws/hbase/build/hbase-site.html
> BUILD SUCCESSFUL

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message