[
https://issues.apache.org/jira/browse/AMBARI-14902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135421#comment-15135421
]
jun aoki commented on AMBARI-14902:
-----------------------------------
hi [~dsen], the [assembly pom
expects|https://github.com/apache/ambari/blob/trunk/ambari-metrics/ambari-metrics-assembly/pom.xml#L287]
a folder
ambari-metrics/ambari-metrics-assembly/target//ambari-metrics-collector-$\{project.version\}
to be existed in rpm maven plugin.
However our build fails as it does not exists.
Folder structure on the failure
{code}
ambari / ambari-metrics / ambari-metrics-assembly / target /
antrun
embedded
resources/rpm/sink
rpm/ambari-metrics-collector
(all files in zip)
{code}
Error log
{code}
[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm
(ambari-metrics-collector) on project ambari-metrics-assembly: Source location
/home/pivotal/ambari/ambari-metrics/ambari-metrics-assembly/target/ambari-metrics-collector-2.2.2.1-SNAPSHOT/ambari-metrics-collector-2.2.2.1-SNAPSHOT/hbase/lib/hadoop-native
does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.mojo:rpm-maven-plugin:2.0.1:rpm (ambari-metrics-collector) on
project ambari-metrics-assembly: Source location
/home/pivotal/ambari/ambari-metrics/ambari-metrics-assembly/target/ambari-metrics-collector-2.2.2.1-SNAPSHOT/ambari-metrics-collector-2.2.2.1-SNAPSHOT/hbase/lib/hadoop-native
does not exist
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
{code}
Do you know if we are missing something?
> Make AMS Grafana component available as a repo package
> ------------------------------------------------------
>
> Key: AMBARI-14902
> URL: https://issues.apache.org/jira/browse/AMBARI-14902
> Project: Ambari
> Issue Type: Task
> Components: ambari-metrics
> Affects Versions: 2.2.2
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.2.2
>
> Attachments: AMBARI-14902-trunk-2.patch
>
>
> Grafana 2.6.0 to be installed as an AMS component. We need this to be a part
> of the Ambari repo so that Ambari can install it with AMS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)