[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768967#action_12768967
 ] 

Hong Tang commented on MAPREDUCE-1135:
--------------------------------------

Quote my original proposal from MAPREDUCE-1016:

{quote}
I'd like to propose the following that may make it easier toward future 
extension without requiring too much special case code to support backward 
compatibility.

Line 1: The version string. We, for now, would require an exact match. And it 
should be "Avro". In the future, it could be "Avro/2.0".
Line 2: "Encoder: Json" (Or "Encoder: Binary")
Line 3: "Schema: <schema string>"
Line 4: Empty line
Remaining file: encoded history-event objects.

Essentially, the structure of this file mimic the HTTP style:

Line 1: Protocol + Version. For JobHistoryParser to determine whether it can 
handle the input, and if so, what backend deserialization framework to invoke.
Line 2 until the empty line: Header. These are parameters that are needed to 
instantiate the deserializer.
Remainder of the file: serialized data.
{quote}

> Making JobHistory log format easily extensible in the future
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-1135
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1135
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: jobtracker
>    Affects Versions: 0.22.0
>            Reporter: Hong Tang
>
> This jira is branched from MAPREDUCE-1016.
> It would be nice to make the JobHistory log format easily extensible in the 
> future.

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

Reply via email to