[ 
https://issues.apache.org/jira/browse/YARN-7162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16167043#comment-16167043
 ] 

Junping Du commented on YARN-7162:
----------------------------------

bq. Maybe we do want to support the old format, JSON, and XML, but we may need 
to tweak the XML format incompatibly depending on how the JSON format ends up 
and how the pluggable code for it works; but we'd be stuck if we make a release 
with the existing XML in that case. Or maybe once we have the JSON format we 
don't want to worry about the XML format. In any case, the safest thing to do 
is to remove the XML format now before the release.
JSON format is something Ming propose to have. I gave it a +1 because I think 
it is to replace/add XML format but not just simply kill XML one.
For me, to have JSON format support is just something nice to have but not 
must. The work I care more here is to verify its functionality and make it 
stabilized. The cases you listed above is missing an important case which is 
none of us has bandwidth to add JSON format back so we could totally lose this 
feature/functionality. I would prefer to call it an alpha feature instead of 
remove it which cause unnecessary feature regression.

> Remove XML excludes file format
> -------------------------------
>
>                 Key: YARN-7162
>                 URL: https://issues.apache.org/jira/browse/YARN-7162
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: graceful
>    Affects Versions: 2.9.0, 3.0.0-beta1
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>            Priority: Blocker
>         Attachments: YARN-7162.001.patch, YARN-7162.branch-2.001.patch
>
>
> YARN-5536 aims to replace the XML format for the excludes file with a JSON 
> format.  However, it looks like we won't have time for that for Hadoop 3 Beta 
> 1.  The concern is that if we release it as-is, we'll now have to support the 
> XML format as-is for all of Hadoop 3.x, which we're either planning on 
> removing, or rewriting using a pluggable framework.  
> [This comment in 
> YARN-5536|https://issues.apache.org/jira/browse/YARN-5536?focusedCommentId=16126194&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16126194]
>  proposed two quick solutions to prevent this compat issue.  In this JIRA, 
> we're going to remove the XML format.  If we later want to add it back in, 
> YARN-5536 can add it back, rewriting it to be in the pluggable framework.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to