In fact digging a bit more : https://issues.apache.org/jira/browse/MAPREDUCE-2399?focusedCommentId=13009343&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13009343 "Hamlet.java only needs to be regenerated for people who want to hack on the framework (fixing bugs or support new html5 tags etc.)" . So it does seem to be generated code.
On Sat, May 21, 2016 at 3:07 AM, Ravi Prakash <[email protected]> wrote: > Sangeeta! > > Your second email does not contain any attachments (the mailing list may > have dropped them). Could you please point out in github? e.g. > https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/Hamlet.java#L19 > is the only instance I could find. > > If you are indeed referring to Hamlet.java, it may well have been > generated if we are to believe the comment. If I remember correctly, it was > contributed by Luke Lu. I'm ccing him on the email. Here's some history : > https://issues.apache.org/jira/browse/MAPREDUCE-279?focusedCommentId=13008881&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13008881 > . I'm afraid I don't have any more information than that. > > HTH > Ravi > > On Sat, May 21, 2016 at 12:32 AM, sangeeta lal <[email protected]> > wrote: > >> Dear Dev Team, >> >> Can anyone please answer my query. I am attaching the file for reference. >> >> >> Thank You >> >> On Fri, May 20, 2016 at 4:02 PM, sangeeta lal <[email protected]> >> wrote: >> >>> Dear Hadoop Team, >>> >>> >>> I am Sangeeta, a PhD scholar from India. I am working in the area of >>> automated software engineering and my aim is to analyse logging statements. >>> >>> While analysing the Hadoop project, I found one file having following >>> statement written in them: >>> >>> >>> //*Generated by hamletGen. Do not Edit.* >>> >>> >>> >>> 1. Can anyone please tell *me what this means*? >>> 2. Are these kinds of files *generated by a tool and have no developer >>> contribution*? >>> >>> >>> I *highly appreciate your help*! >>> >>> *Thank You* >>> *Sangeeta* >>> >>> -- >>> Regards... >>> Sangeeta >>> Assistant Professor >>> CSE Department @JIIT Noida >>> >>> >> >> >> -- >> Regards... >> Sangeeta >> Assistant Professor >> CSE Department @JIIT Noida >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > >
