trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkby <>
Subject [GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration
Date Fri, 06 Jan 2017 05:39:04 GMT
Github user mkby commented on a diff in the pull request:
    --- Diff: install/ ---
    @@ -0,0 +1,75 @@
    +   # @@@ START COPYRIGHT @@@
    +   #
    +   # Licensed to the Apache Software Foundation (ASF) under one
    +   # or more contributor license agreements.  See the NOTICE file
    +   # distributed with this work for additional information
    +   # regarding copyright ownership.  The ASF licenses this file
    +   # to you under the Apache License, Version 2.0 (the
    +   # "License"); you may not use this file except in compliance
    +   # with the License.  You may obtain a copy of the License at
    +   #
    +   #
    +   #
    +   # Unless required by applicable law or agreed to in writing,
    +   # software distributed under the License is distributed on an
    +   # KIND, either express or implied.  See the License for the
    +   # specific language governing permissions and limitations
    +   # under the License.
    +   #
    +   # @@@ END COPYRIGHT @@@
    + -->
    +## Trafodion Installers
    +* **install** - This is the current command-line installer. It installs a server tarball
    +  on an existing CDH or HDP Hadoop cluster.
    +* **python-installer** - This is the new command-line installer, meant to replace current
    +  command-line installer. Likewise, installs server tarball on existing CDH, HDP,
    +  or APACHE cluster.
    +* **ambari-installer** - This integrates with Ambari cluster manager, so only applies
to HDP.
    +  In this case, trafodion server is installed via RPM. This is installed on Ambari server
    +  a management pack. Trafodion can be included in the initial cluster creation or added
    +## Ambari Integration
    +The Ambari MPack (management pack) is also packaged as an RPM, having a dependency on
    +Given a proper yum repo file, `traf_ambari` rpm
    +can be installed directly and it pulls in ambari-server.
    +If ambari-server is previously installed and running, it must be restarted to pick up
the Trafodion
    +management pack.
    +#### Packaging
    +Part of Ambari's job is to set up yum repo files on each node in order to install packages.
    +The default URLs are for Hortonworks' public repos. But since your custom-built Trafodion
    +not hosted there, you need to specify a URL for your local yum repo server. To build
that into
    +the `traf_ambari` package, use make to specify value of `REPO_URL`.
    +   `make package REPO_URL=http://my.repo.server/repo/...`
    --- End diff --
    @svarnau, thanks for the explanation. It seems that traf-ambari rpm package is customized
with different REPO_URL, so everytime we install on a different envionment, we have to build
a new traf-ambari rpm to apply the new URL, is that true? 
    Can we put this URL into ambari webpage so we can configure the URL  from there? 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message