hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12188) javac warning file is always empty on ant-based projects
Date Thu, 09 Jul 2015 08:11:05 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620093#comment-14620093
] 

Hadoop QA commented on HADOOP-12188:
------------------------------------

\\
\\
| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {color} | {color:blue}
precommit patch detected. {color} |
| {color:blue}0{color} | {color:blue} @author {color} | {color:blue} 0m 0s {color} | {color:blue}
Skipping @author checks as test-patch.sh has been patched. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 14s {color}
| {color:green} Patch does not generate ASF License warnings. {color} |
| {color:green}+1{color} | {color:green} shellcheck {color} | {color:green} 0m 8s {color}
| {color:green} There were no new shellcheck issues. {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color}
| {color:green} Patch has no whitespace issues. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 0m 26s {color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12744443/HADOOP-12188.HADOOP-12111.02.patch
|
| git revision | HADOOP-12111 / 8243608 |
| Optional Tests | asflicense shellcheck |
| uname | Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep
3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/patchprocess/dev-support-test/personality/hadoop.sh
|
| Default Java | 1.7.0_55 |
| Multi-JDK versions |  /home/jenkins/tools/java/jdk1.8.0:1.8.0 /home/jenkins/tools/java/jdk1.7.0_55:1.7.0_55
|
| shellcheck | v0.3.3 (This is an old version that has serious bugs. Consider upgrading.)
|
| Console output | https://builds.apache.org/job/PreCommit-HADOOP-Build/7209/console |


This message was automatically generated.

> javac warning file is always empty on ant-based projects
> --------------------------------------------------------
>
>                 Key: HADOOP-12188
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12188
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>         Attachments: HADOOP-12188.HADOOP-12111.01.patch, HADOOP-12188.HADOOP-12111.02.patch
>
>
> (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:
> {code}
>       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"                           
                                                            
> {code}
> But ant's warning output format is as follows:
> {code}
> [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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message