Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16749

Configuration parsing of CDATA values are blank

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 2.9.3, 3.1.4, 3.2.2, 2.10.1
    • conf
    • None

    Description

      When using CDATA. CDATA elements are skipped by the parser.

      In fact someone on stack overflow was asking this same question a few months ago.
      https://stackoverflow.com/questions/57829034/why-is-apache-hadoop-configuration-module-ignores-cdata

        <property>
          <name>test.cdata</name>
          <value>hello <![CDATA[world]]></value>
        </property>
      

      conf.get("test.cdata") parses as 'hello ' instead of 'hello world'

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            daryn Daryn Sharp Assign to me
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment