Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A64418951 for ; Fri, 31 Jul 2015 16:06:05 +0000 (UTC) Received: (qmail 95569 invoked by uid 500); 31 Jul 2015 16:06:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95514 invoked by uid 500); 31 Jul 2015 16:06:04 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 95500 invoked by uid 99); 31 Jul 2015 16:06:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 16:06:04 +0000 Date: Fri, 31 Jul 2015 16:06:04 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14162) Fixing maven target for regenerating thrift classes fails against 0.9.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14649410#comment-14649410 ] Sean Busbey commented on HBASE-14162: ------------------------------------- -1 on v3. the point of the check is to make sure the thrift.version variable doesn't get updated without a review of compatibility. also it's a regular expression so using the variable will be unnecessarily permissive. > Fixing maven target for regenerating thrift classes fails against 0.9.2 > ----------------------------------------------------------------------- > > Key: HBASE-14162 > URL: https://issues.apache.org/jira/browse/HBASE-14162 > Project: HBase > Issue Type: Bug > Components: build, Thrift > Affects Versions: 2.0.0, 1.3.0 > Reporter: Sean Busbey > Assignee: Srikanth Srungarapu > Priority: Blocker > Fix For: 2.0.0, 1.3.0 > > Attachments: HBASE-14162-branch-1.patch, HBASE-14162.patch, HBASE-14162_v2.patch, HBASE-14162_v3.patch > > > HBASE-14045 updated the thrift version, but our enforcer rule is still checking 0.9.0. > {code} > $ git checkout master > Switched to branch 'master' > Your branch is up-to-date with 'origin/master'. > $ mvn compile -Pcompile-thrift -DskipTests > [INFO] Scanning for projects... > ... SNIP ... > [INFO] ------------------------------------------------------------------------ > [INFO] Building HBase - Thrift 2.0.0-SNAPSHOT > [INFO] ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ hbase-thrift --- > [INFO] > [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-thrift-version) @ hbase-thrift --- > [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProperty failed with message: > - > - > [FATAL] ========================================================================================== > [FATAL] HBase Thrift requires the thrift generator version 0.9.0. > [FATAL] Setting it to something else needs to be reviewed for wire and behavior compatibility. > [FATAL] ========================================================================================== > - > - > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] HBase .............................................. SUCCESS [ 2.897 s] > [INFO] HBase - Checkstyle ................................. SUCCESS [ 0.554 s] > [INFO] HBase - Annotations ................................ SUCCESS [ 0.940 s] > [INFO] HBase - Protocol ................................... SUCCESS [ 15.454 s] > [INFO] HBase - Common ..................................... SUCCESS [ 8.984 s] > [INFO] HBase - Procedure .................................. SUCCESS [ 1.982 s] > [INFO] HBase - Client ..................................... SUCCESS [ 6.805 s] > [INFO] HBase - Hadoop Compatibility ....................... SUCCESS [ 0.202 s] > [INFO] HBase - Hadoop Two Compatibility ................... SUCCESS [ 1.393 s] > [INFO] HBase - Prefix Tree ................................ SUCCESS [ 1.233 s] > [INFO] HBase - Server ..................................... SUCCESS [ 13.841 s] > [INFO] HBase - Testing Util ............................... SUCCESS [ 2.979 s] > [INFO] HBase - Thrift ..................................... FAILURE [ 0.234 s] > [INFO] HBase - Shell ...................................... SKIPPED > [INFO] HBase - Integration Tests .......................... SKIPPED > [INFO] HBase - Examples ................................... SKIPPED > [INFO] HBase - Rest ....................................... SKIPPED > [INFO] HBase - Assembly ................................... SKIPPED > [INFO] HBase - Shaded ..................................... SKIPPED > [INFO] HBase - Shaded - Client ............................ SKIPPED > [INFO] HBase - Shaded - Server ............................ SKIPPED > [INFO] Apache HBase - Spark ............................... SKIPPED > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 01:00 min > [INFO] Finished at: 2015-07-28T12:36:15-05:00 > [INFO] Final Memory: 84M/1038M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce-thrift-version) on project hbase-thrift: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the command > [ERROR] mvn -rf :hbase-thrift > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)