You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2018/03/09 17:30:00 UTC

[jira] [Commented] (HBASE-20068) Hadoopcheck project health check uses default maven repo instead of yetus managed ones

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

Sean Busbey commented on HBASE-20068:
-------------------------------------

right now hadoopcheck in our personality calls {{"${MAVEN}"}}. it either should switch to using the yetus function {{maven_executor}} provided by the maven plugin, or it should call {{"${MAVEN}" "${MAVEN_ARGS[@]}"}} instead since that's what that function says to do currently.

> Hadoopcheck project health check uses default maven repo instead of yetus managed ones
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-20068
>                 URL: https://issues.apache.org/jira/browse/HBASE-20068
>             Project: HBase
>          Issue Type: Bug
>          Components: community, test
>            Reporter: Sean Busbey
>            Priority: Major
>
> Recently had a precommit run fail hadoop check for all 3 versions with 
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) on project hbase-thrift: Failed to install metadata org.apache.hbase:hbase-thrift:3.0.0-SNAPSHOT/maven-metadata.xml: Could not parse metadata /home/jenkins/.m2/repository/org/apache/hbase/hbase-thrift/3.0.0-SNAPSHOT/maven-metadata-local.xml: in epilog non whitespace content is not allowed but got / (position: END_TAG seen ...</metadata>\n/... @25:2)  -> [Help 1]
> {code}
> Looks like maven repo corruption.
> Also the path {{/home/jenkins/.m2/repository}} means that those invocations are using the jenkins user repo, which isn't safe since there are multiple executors. either the plugin isn't using the yetus provided maven repo path or our yetus invocation isn't telling yetus to provide its own maven repo path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)