[
https://issues.apache.org/jira/browse/AMBARI-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394117#comment-14394117
]
Yusaku Sako commented on AMBARI-10321:
--------------------------------------
Hi [~dmcwhorter],
I was able to build from source and install ambari-metrics-assembly_2.0.0-0.deb
on ubuntu 12.04 just fine without this patch.
I ran the command "mvn clean package -Dbuild-deb -DskipTests" from
ambari-metrics directory.
The symlinks were created just fine. Here's what I saw after installing the
.deb file:
{code}
root@u1201:~# ls /usr/lib/ambari-metrics-hadoop-sink/
ambari-metrics-hadoop-sink.jar
ambari-metrics-hadoop-sink-with-common-2.0.0.0.jar
root@u1201:~# ls /usr/lib/flume/lib
ambari-metrics-flume-sink.jar ambari-metrics-flume-sink-with-common-2.0.0.0.jar
root@u1201:~# ls /usr/lib/ambari-metrics-kafka-sink
ambari-metrics-kafka-sink.jar
ambari-metrics-kafka-sink-with-common-2.0.0.0.jar lib
{code}
I used branch-2.0.0:b5c6ea2e7fb64bca8bdf6c7ab63158dec09a1036 (which has fixes
for AMBARI-10319 and AMBARI-10320).
> ambari-metrics fails to install from .deb on ubuntu 12.04
> ----------------------------------------------------------
>
> Key: AMBARI-10321
> URL: https://issues.apache.org/jira/browse/AMBARI-10321
> Project: Ambari
> Issue Type: Bug
> Components: ambari-metrics
> Affects Versions: 2.0.0, 2.1.0
> Environment: ubuntu 12.04
> Reporter: David McWhorter
> Fix For: 2.1.0
>
> Attachments: AMBARI-10321.patch, AMBARI-10321_branch-2.0.0.patch
>
>
> after install there are errors because the post install script has
> $\{hadoop.sink.jar\}, $\{flume.sink.jar\}, and $\{kafka.sink.jar\} in it,
> which are not defined as environment variables. These should be substituted
> from the pom using syntax like \[\[hadoop.sink.jar\]\] I believe.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)