hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Nauroth <cnaur...@hortonworks.com>
Subject Re: Accessing a Configuration Description
Date Fri, 22 May 2015 20:20:03 GMT
Hello Lewis,

The contents of <description> elements are not parsed and held in the
Configuration data structure at runtime, so there isn't any way to access
them programmatically.  You can of course use external tools to parse the
files directly and pull out the <description>.  For example, we use XSL in
the project's documentation to build an HTML table of the configuration
properties, including <description>.


--Chris Nauroth

On 5/22/15, 12:24 PM, "Lewis John Mcgibbney" <lewis.mcgibbney@gmail.com>

>Hi Folks,
>Does anyone have a solution for accessing the value of the <description>
>tag below?
>I cant seem to find it from within the Configuration object accessors.
><property>  <name>hadoop.tmp.dir</name>
>  <description>blah blah blah</description>
> </property>
>Thanks in advance for any help.

View raw message