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

Add a style guide to the Hadoop documentation

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

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.0
    • None
    • documentation
    • None

    Description

      We don't have a documented style guide for the Hadoop source or its tests other than "use the Java rules with two spaces".

      That doesn't cover policy like

      1. exception handling
      2. logging
      3. metrics
      4. what makes a good test
      5. why features that have O(n) or worse complexity or extra memory load on the NN & RM Are "unwelcome",
      6. ... etc

      We have those in our heads, and we reject patches for not following them —but as they aren't written down, how can we expect new submitters to follow them, or back up our vetos with a policy to point at.

      I propose having an up to date style guide which defines the best practises we expect for new codes. That can be stricter than the existing codebase: we want things to improve.

      Attachments

        Issue Links

        Activity

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

          People

            stevel@apache.org Steve Loughran Assign to me
            stevel@apache.org Steve Loughran

            Dates

              Created:
              Updated:

              Slack

                Issue deployment