XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HADOOP-12111
    • HADOOP-12111
    • yetus
    • None

    Description

      (branch|patch)-javac-root-warning.txt is always empty though there are some warnings on ant-based projects, because check_patch_javac filters warning messages as follows:

            if [[ -f "${PATCH_DIR}/branch-javac-${fn}.txt" ]]; then                                                                                 
              ${GREP} '\[WARNING\]' "${PATCH_DIR}/branch-javac-${fn}.txt" \                                                                         
                > "${PATCH_DIR}/branch-javac-${fn}-warning.txt"                                                                                     
            else                                                                                                                                    
              touch "${PATCH_DIR}/branch-javac-${fn}.txt" \                                                                                         
                "${PATCH_DIR}/branch-javac-${fn}-warning.txt"                                                                                       
            fi                                                                                                                                      
                                                                                                                                                    
            ${GREP} '\[WARNING\]' "${PATCH_DIR}/patch-javac-${fn}.txt" \                                                                            
              > "${PATCH_DIR}/patch-javac-${fn}-warning.txt"                                                                                        
      

      But ant's warning output format is as follows:

      [javac] /home/sekikn/pig/src/org/apache/pig/backend/hadoop/executionengine/mapReduceLayer/JobControlCompiler.java:64: warning: [deprecation] ComparisonFunc in org.apache.pig has been deprecated
      

      Attachments

        1. HADOOP-12188.HADOOP-12111.01.patch
          4 kB
          Kengo Seki
        2. HADOOP-12188.HADOOP-12111.02.patch
          4 kB
          Kengo Seki

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: