Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7993

Fix build and scripts to be more useful to developers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 4.0.0
    • Infrastructure
    • None
    • ghx-label-6

    Description

      Got a build failure on a Gerrit patch. The tidy log.txt file is 300 MB in size with 3.4 million lines. It contains 87,535 warnings identified by a "~~~" squiggle, 122 occurrences of the word "failure", 6947 occurrences of "fail", and 35,503 occurrences of the word "error." The bottom of the file states "7988 warnings generated." Indeed, there are 1077 occurrences of the line "warnings generated" in the build.

      It is not realistic for a human to plow through this stuff looking for the one obscure pattern that indicates and actual problem.

      This build is unusually large and verbose for an open source project.

      Some improvements:

      • Separate out normal "narration" (echoing of shell commands) from actual error output.
      • Fix the code to eliminate warnings, or turn off the warnings.
      • Turn off the extra checks which we just ignore.
      • Create a script that will grep through the file looking for the actual failures, ignoring the "expected" errors and failures, identifying the real ones.

      It also appears that the scripts build Javadoc (can't tell for what.) Impala is famous for its highly unorthodox use of Javadoc comments; the generate Javadoc will be gibberish. Either fix the comments to be Java-doc compliant, or stop building Javadoc.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Paul.Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: