Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33702

Result of add "unused-locals" compile arg to scalac

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 CommentsDelete
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0, 3.2.0
    • None
    • Build
    • None

    Description

      Try to add "unused-locals" compile arg to scalac and collect the warning informations, there are total 184 files and 296 compile warnings about  "unused-locals":

      • core: 92 warnings
      • mllib-local\mllib:  42 warnings
      • graphx: 6 warnings
      • streaming: 14 warnings
      • Sql\hive\avro: 81 warnings
      • Yarn\mesos\k8s: 23 warnings
      • kafka: 3 warnings
      • kinesis-asl: 4 warnings
      • examples: 31  warnings

      Attachments

        Activity

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

          People

            Unassigned Unassigned Assign to me
            LuciferYang Yang Jie

            Dates

              Created:
              Updated:

              Slack

                Issue deployment