FAQ
Allow Xinclude in hadoop config file
------------------------------------

Key: HADOOP-4944
URL: https://issues.apache.org/jira/browse/HADOOP-4944
Project: Hadoop Core
Issue Type: Improvement
Components: conf
Reporter: Rama, Ramasamy
Assignee: Rama, Ramasamy
Priority: Minor


It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)


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

Search Discussions

  • Rama, Ramasamy (JIRA) at Dec 24, 2008 at 11:41 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Rama, Ramasamy updated HADOOP-4944:
    -----------------------------------

    Attachment: include_in_conf.diff

    Allow include files in conf. For example in hadoop-site.xml

    ---
    <configuration xmlns:xi="http://www.w3.org/2001/XInclude">
    ...

    <xi:include href="test.xml"/>

    ...
    </configuration>


    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Attachments: include_in_conf.diff


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Rama, Ramasamy (JIRA) at Dec 24, 2008 at 11:57 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Rama, Ramasamy updated HADOOP-4944:
    -----------------------------------

    Attachment: (was: include_in_conf.diff)
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor

    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Rama, Ramasamy (JIRA) at Dec 24, 2008 at 11:59 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Rama, Ramasamy updated HADOOP-4944:
    -----------------------------------

    Attachment: includes_in_conf.diff.txt

    By setting XcludeAware to true, we can have xi:include tags in xml file.
    XincludeAware requires setNamespaceAware to be true.


    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Dec 25, 2008 at 12:21 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659175#action_12659175 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    +1. I think this *is* a compatible change because it should not affect parsing of existing configuration files.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Dec 26, 2008 at 5:44 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659255#action_12659255 ]

    Doug Cutting commented on HADOOP-4944:
    --------------------------------------

    +1 This looks fine to me.

    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Dec 29, 2008 at 4:19 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-4944:
    -------------------------------------

    Fix Version/s: 0.20.0
    Hadoop Flags: [Reviewed]
    Status: Patch Available (was: Open)
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Steve Loughran (JIRA) at Jan 5, 2009 at 1:46 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660751#action_12660751 ]

    Steve Loughran commented on HADOOP-4944:
    ----------------------------------------

    +1, though there are docs and tests to consider. The other issue is security; it now becomes possible to xinclude from somewhere else, if you aren't careful.


    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 8, 2009 at 12:37 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661795#action_12661795 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    Rama: if you have a unit test for this one, that will be great.

    However, i am willing to commit this without a unit test because the code-change is very very minor. Also, in some sense it is an "Improvement" only. so the risk of impacting existing installations is minimal.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 9, 2009 at 5:21 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-4944:
    -------------------------------------

    Status: Open (was: Patch Available)

    Rama: let's discuss how we can come up with a simple unit test.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Steve Loughran (JIRA) at Jan 9, 2009 at 4:50 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662421#action_12662421 ]

    Steve Loughran commented on HADOOP-4944:
    ----------------------------------------

    Once the patch becomes a feature, you need the test to make sure it doesn't go away later; for regression testing.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 15, 2009 at 6:53 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-4944:
    -------------------------------------

    Attachment: configInclude2.patch

    This patch allows including a xml file via the <xi:include> xml tag. I updated Rama's version of the patch to include a unit test as well.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 15, 2009 at 6:55 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-4944:
    -------------------------------------

    Status: Patch Available (was: Open)
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 23, 2009 at 4:44 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666368#action_12666368 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    Can some kind soul please review this patch? Thanks.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Jan 23, 2009 at 7:32 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666663#action_12666663 ]

    Doug Cutting commented on HADOOP-4944:
    --------------------------------------

    The current version of this patch changes the syntax of configurations so that they may be nested. Couldn't this extension of the syntax be avoided by using "range-inside", e.g., something like:

    {code}
    <include xmlns="http://www.w3.org/2001/XInclude"
    href="foo.xml"
    xpointer="xpointer(range-inside(//configuration))"/>
    {code}
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Rama, Ramasamy (JIRA) at Jan 23, 2009 at 8:52 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666697#action_12666697 ]

    Rama, Ramasamy commented on HADOOP-4944:
    ----------------------------------------

    That was the original idea, but xerces currently doesn’t support xpointer() scheme (http://xerces.apache.org/xerces2-j/faq-xinclude.html#faq-8) and got the following error:


    hadoop5224.snc1.facebook.com: [Warning] hadoop-site.xml:9:147: SchemeUnsupported: The XPointer scheme 'xpointer' is not supported.
    ..
    2009-01-23 12:28:49,678 FATAL org.apache.hadoop.conf.Configuration: error parsing conf file: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found.
    2009-01-23 12:28:49,679 ERROR org.apache.hadoop.mapred.TaskTracker: Can not start task tracker because java.lang.RuntimeException: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found.
    at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:912)



    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Doug Cutting (JIRA) at Jan 23, 2009 at 9:18 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666713#action_12666713 ]

    Doug Cutting commented on HADOOP-4944:
    --------------------------------------
    xerces currently doesn't support xpointer() scheme
    Sigh. So I wonder if, instead of supporting nested "configuration" tags we might instead support nested "properties" tags, that each contain a set of properties. Or do you think it would be useful to have included files also capable of acting as top-level configuration files?

    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 24, 2009 at 10:42 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667008#action_12667008 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    I think it is more powerful for an include file A to be able to include another include file B for a cluster, while at the same time B to be the top level config file for another cluster. I would like to keep it this way, unless you feel strongly otherwise.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Steve Loughran (JIRA) at Jan 26, 2009 at 4:58 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667297#action_12667297 ]

    Steve Loughran commented on HADOOP-4944:
    ----------------------------------------

    As someone who works in CM, I clearly think that being able to include stuff is a handy way to deal with scale. But if you treat every .xml file as toplevel, dont forget to include test cases that
    * have an import of yourself
    * import file A.xml that imports B.xml that imports A.xml
    * include inconsistent (name,value) declarations
    * import file A.xml that imports B.xml that then imports a nonexistent file (try and have the error message helpfile here)
    * tries to do property expansion to set the path of the include

    You dont have to support these, property expansion in particular. But get those tests together to make sure that whatever behaviour you have matches expectations.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 28, 2009 at 7:00 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667947#action_12667947 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    @Steve: Good points. Thaks. I verified that all of the issues you mentioned is actually handled by the Xerces library. It can detect recursive includes. The hadoop Configuration.get() method generates an RuntimeException when this occurs.

    I plan to commit this patch to 0.20 and trunk.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 30, 2009 at 8:49 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669015#action_12669015 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    [exec] +1 overall.
    [exec]
    [exec] +1 @author. The patch does not contain any @author tags.
    [exec]
    [exec] +1 tests included. The patch appears to include 3 new or modified tests.
    [exec]
    [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
    [exec]
    [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
    [exec]
    [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
    [exec]
    [exec] +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
    [exec]
    [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.


    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Jan 30, 2009 at 9:57 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-4944:
    -------------------------------------

    Resolution: Fixed
    Status: Resolved (was: Patch Available)

    I just committed this. Thanks Rama!
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Steve Loughran (JIRA) at Feb 13, 2009 at 4:47 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Steve Loughran reopened HADOOP-4944:
    ------------------------------------


    re-opening as it appears to raise problems with different XML parsers/JVMs. I'm not sure that 0.20 will want this.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Feb 13, 2009 at 6:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673336#action_12673336 ]

    dhruba borthakur commented on HADOOP-4944:
    ------------------------------------------

    Hi Steve, Hadoop uses the xerces library to parse the XML file. Xerces handles include files well. Can you pl explain what problem you are seeing.


    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Steve Loughran (JIRA) at Feb 13, 2009 at 9:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673383#action_12673383 ]

    Steve Loughran commented on HADOOP-4944:
    ----------------------------------------

    I think myself and someone on the user list has encountered problems which may be caused by the built in JVM's version of Xerces; see HADOOP-5254 for details and stack traces
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hudson (JIRA) at Feb 16, 2009 at 5:04 pm
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673976#action_12673976 ]

    Hudson commented on HADOOP-4944:
    --------------------------------

    Integrated in Hadoop-trunk #756 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/])

    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • dhruba borthakur (JIRA) at Apr 16, 2009 at 5:06 am
    [ https://issues.apache.org/jira/browse/HADOOP-4944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur resolved HADOOP-4944.
    --------------------------------------

    Resolution: Fixed

    The problems that you saw were fixed in HADOOP-5254. I am closing this JIRA. Please re-open (or create a new one) if you see any remaining issues with this one.
    Allow Xinclude in hadoop config file
    ------------------------------------

    Key: HADOOP-4944
    URL: https://issues.apache.org/jira/browse/HADOOP-4944
    Project: Hadoop Core
    Issue Type: Improvement
    Components: conf
    Reporter: Rama, Ramasamy
    Assignee: Rama, Ramasamy
    Priority: Minor
    Fix For: 0.20.0

    Attachments: configInclude2.patch, includes_in_conf.diff.txt


    It would be easier to mange the configuration of hadoop by allowing include files in configuration file (file: hadoop-site.xml)
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedDec 24, '08 at 11:29p
activeApr 16, '09 at 5:06a
posts27
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

dhruba borthakur (JIRA): 27 posts

People

Translate

site design / logo © 2021 Grokbase