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

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

    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

        1. unused-locals.log
          49 kB
          Yang Jie

        Activity

          People

            Unassigned Unassigned
            LuciferYang Yang Jie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: