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 <[email protected]> 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 <[email protected]>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 <[email protected]> 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? >> > >> >
