[ 
https://issues.apache.org/jira/browse/AMBARI-18873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nitiraj Singh Rathore updated AMBARI-18873:
-------------------------------------------
    Status: Patch Available  (was: Open)

Earlier : view jars were shipped with the ambari-server package. 
Now : separate rpm and deb files can be created 
(ambari-views-package_$VERSION.deb, ambari-views-package-$VERSION.x86_64.rpm) 
which can be shipped and installed separately.

each view (module) in contrib/views can copy its jar into the parent 
(ambari-contrib-view project) target/views-jars folder and when mvn runs in 
ambari-views-package, it creates an RPM and DEB file packaging all the jars.

created RPM location : 
$AMBARI/contrib/views/ambari-views-package/target/rpm/ambari-views-package/RPMS/x86_64/ambari-views-package-2.5.0.0-0.x86_64.rpm
create DEB location : 
$AMBARI/contrib/views/ambari-views-package/target/ambari-views-package_2.5.0.0-0.deb

The order of module ambari-views-package in pom.xml of ambari-contrib-views 
should be last as it will create the package.

command to create deb and rpm
$ cd $AMBARI/contrib/views
$ mvn clean package rpm:rpm jdeb:jdeb install

> create separate RPM / DEB package for views during build process.
> -----------------------------------------------------------------
>
>                 Key: AMBARI-18873
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18873
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Nitiraj Singh Rathore
>            Assignee: Nitiraj Singh Rathore
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18873_branch-2.5.patch
>
>
> Create separate RPM and DEB files for the ambari-views named 
> ambari-views-package
> This will help reduce the size of ambari-server rpm. 
> User will be able to install ambari-views using this RPM /DEB. This package 
> will have dependency on the ambari-server package. 
> Note : ambari-admin view will still be shipped with ambari-server package and 
> not inside ambari-views-package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to