Re: Accessing a Configuration Description

2015-05-22 Thread Lewis John Mcgibbney
ACK Chris. https://issues.apache.org/jira/browse/HADOOP-12021 Thanks. Lets see how the conversation goes over there. Lewis On Fri, May 22, 2015 at 2:24 PM, Chris Nauroth wrote: > I'm sorry to be the bearer of bad news. :-) > > It's possible there could be some push-back on the grounds of perfor

Re: Accessing a Configuration Description

2015-05-22 Thread Chris Nauroth
I'm sorry to be the bearer of bad news. :-) It's possible there could be some push-back on the grounds of performance or memory footprint. It's admittedly small, but the vast majority of users wouldn't need programmatic access to descriptions. I do think it would be worthwhile for you to file a

Re: Accessing a Configuration Description

2015-05-22 Thread Lewis John Mcgibbney
Thanks for your reply Chris. The answer is exactly what I didn't want to hear :) I am using the configuration descriptions within the Nutch 2.X Web Application and they are very useful for providing additional user context for augmenting configuration via the interface. Sigh... Would this be someth

Re: Accessing a Configuration Description

2015-05-22 Thread Chris Nauroth
Hello Lewis, The contents of 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 . For example, we use XSL in the project's docu

Accessing a Configuration Description

2015-05-22 Thread Lewis John Mcgibbney
Hi Folks, Does anyone have a solution for accessing the value of the tag below? I cant seem to find it from within the Configuration object accessors. hadoop.tmp.dir /tmp/hadoop-${user.name} blah blah blah Thanks in advance for any help. Lewis -- *Lewis*