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

have the pre-commit checks run by hudson veto patches with System.out and System.err calls in them

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • build
    • None

    Description

      I don't know how to do this, but we ought to get checkstyle to reject System.out and System.err calls, to stop them unintentionally getting into code. We may still need them in some places (LogLevel, external entry points), but those main() methods could all delegate to our own log output method that provides a single place where messages get printed

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: