hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Zeyliger <phi...@cloudera.com>
Subject Re: Hadoop and org.apache.hadoop.conf.Configuration class.
Date Fri, 16 Oct 2009 16:44:33 GMT
I looked at the code: you're right in what you're
seeing---Configuration.writeXml doesn't write the final attribute.
It's mostly used for serialization a job's configuration when
necessary, and it doesn't need to preserve final in that context.

-- Philip

On Fri, Oct 16, 2009 at 9:20 AM, Vitaliy Avdeev <vavdeev@xasax.net> wrote:
> Yes I meant final.
> But why when I am using  Configuration.writeXML(out) there is no  <final>
> parameters in saved file?
>
> On Fri, Oct 16, 2009 at 7:10 PM, Philip Zeyliger <philip@cloudera.com>wrote:
>
>> I think you meant to use "<final>", not "finaly".  See the "Final
>> Parameters" section of
>>
>> http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/conf/Configuration.html
>> .
>>
>> On Fri, Oct 16, 2009 at 6:26 AM, Vitaliy Avdeev <vavdeev@xasax.net> wrote:
>> > Hello. I have such situation. I neet to write gui on Java for editing
>> > core-site.xml.
>> > For getting an editing data I am using
>> org.apache.hadoop.conf.Configuration
>> > class.
>> > But when i saving data from it such with writeXML() method atributes such
>> as
>> > <finaly>true</finaly> are lost.
>> > Is org.apache.hadoop.conf.Configuration supports such atributes?
>> >
>>
>

Mime
View raw message