You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2008/08/08 10:10:44 UTC

[jira] Created: (HADOOP-3927) Be able to create a Configuration out an stream (with config XML content)

Be able to create a Configuration out an stream (with config XML content)
-------------------------------------------------------------------------

                 Key: HADOOP-3927
                 URL: https://issues.apache.org/jira/browse/HADOOP-3927
             Project: Hadoop Core
          Issue Type: New Feature
          Components: conf
         Environment: all
            Reporter: Alejandro Abdelnur


While it is possible to write a {{Configuration}} as XML to a stream, it is not possible to read from a stream a {{Configuration}}.

The use case is to persist a given {{Configuration}} (more specifically a {{JobConf}}) for later retrieval an use.

Currently I can do it only by first writing the XML content to a temporary file and then give a URL to that temporary file to the {{Configuration}} as {{addResource}} or in the constructor.

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


[jira] Resolved: (HADOOP-3927) Be able to create a Configuration out an stream (with config XML content)

Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved HADOOP-3927.
----------------------------------------

    Resolution: Duplicate

this has been solved as part of the HADOOP-3702

> Be able to create a Configuration out an stream (with config XML content)
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-3927
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3927
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: conf
>         Environment: all
>            Reporter: Alejandro Abdelnur
>
> While it is possible to write a {{Configuration}} as XML to a stream, it is not possible to read from a stream a {{Configuration}}.
> The use case is to persist a given {{Configuration}} (more specifically a {{JobConf}}) for later retrieval an use.
> Currently I can do it only by first writing the XML content to a temporary file and then give a URL to that temporary file to the {{Configuration}} as {{addResource}} or in the constructor.

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