Source code in hadoop-common repo has a bunch of files that have CRLF endings.
With more development happening on windows there is a higher chance of more CRLF files getting into the source tree.
I would like to avoid that by creating .gitattributes file which prevents sources from having CRLF entries in text files.
I am adding a couple of links here to give more primer on what exactly is the issue and how we are trying to fix it.
This issue for adding .gitattributes file to the tree.