hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-9991) Enhance test-patch.sh with post back of snippet of compilation error if any is detected
Date Tue, 19 Nov 2013 19:41:21 GMT

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

Ted Yu edited comment on HBASE-9991 at 11/19/13 7:40 PM:
---------------------------------------------------------

Patch v1.
Here is output from local run against a patch that breaks compilation:
{noformat}
mvn clean test -DskipTests -DHBasePatchProcess > /tmp/trunkJavacWarnings.txt 2>&1
Trunk compilation is broken?
    {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project hbase-client: Compilation failure
[ERROR] /Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java:[21,0]
class, interface, or enum expected
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.{code}
{noformat}


was (Author: yuzhihong@gmail.com):
Patch v1.
Here is output from local run against a patch that breaks compilation:
{code}
mvn clean test -DskipTests -DHBasePatchProcess > /tmp/trunkJavacWarnings.txt 2>&1
Trunk compilation is broken?
    {code}[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project hbase-client: Compilation failure
[ERROR] /Users/tyu/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java:[21,0]
class, interface, or enum expected
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.{code}
{code}

> Enhance test-patch.sh with post back of snippet of compilation error if any is detected
> ---------------------------------------------------------------------------------------
>
>                 Key: HBASE-9991
>                 URL: https://issues.apache.org/jira/browse/HBASE-9991
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 9991-v1.txt
>
>
> Currently test-patch.sh would post back something like this:
> {code}
> -1 hadoop1.0. The patch failed to compile against the hadoop 1.0 profile.
> {code}
> Snippet of the compilation error should be included so that people can see what caused
the error.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message