[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-10 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-trafodion/pull/901


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-07 Thread mkby
Github user mkby commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r95057223
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

Great! So I think `REPO_URL` should only be the default value in the GUI, 
and user can modify it. It's acceptable to me.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-06 Thread svarnau
Github user svarnau commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r95010445
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

@mkby, I was just testing again today and found what I said earlier is 
incorrect. Ambari does give a chance to edit the URL in the GUI.

![image](https://cloud.githubusercontent.com/assets/5273190/21731185/fbe310ce-d407-11e6-9785-2ab56105b015.png)

So that helps a lot.



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-06 Thread mkby
Github user mkby commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r94922018
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

thanks, sounds good to me


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-05 Thread svarnau
Github user svarnau commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r94908143
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

Ambari seems to only prompt for the HDP and HDP-UTIL repo URLs, and not any 
repo added in an mpack.  It certainly can be changed in the repoinfo.xml file 
after installing traf_ambari RPM.  Trafodion does source code releases, so 
anyone going to build it to install or distribute it can specify their own web 
server URL.  Also, downstream provider can use it to distribute releases. Just 
as hortonworks distributes other products. If/when a distributor provides a 
site for trafodion releases, they can provide this ambari plugin that points to 
that site.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-05 Thread mkby
Github user mkby commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r94902248
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-05 Thread svarnau
Github user svarnau commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r94815054
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

@mkby, The URL is what is we plug in to Ambari, so that it will set it up 
in a repo file on each node where it will install trafodion. Once the repo file 
is set up on the node, then ambari will do a yum install of 
apache-trafodion_server package.  The only way to work around that is to 
manually install the RPM on each node.  It is much easier to set up a yum repo, 
if you already have a webserver.  If you have a bad URL (including the default 
one), it will probably break yum install on that cluster.  If you have 
suggestion for better default URL, I'd be glad to hear it.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-05 Thread mkby
Github user mkby commented on a diff in the pull request:

https://github.com/apache/incubator-trafodion/pull/901#discussion_r94736506
  
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+
+
+## 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 as
+  a management pack. Trafodion can be included in the initial cluster 
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a 
dependency on ambari-server.
+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 is
+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 --

What does this `REPO_URL` do? If we set an invalid repo url, does it still 
work or not?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-trafodion pull request #901: [TRAFODION-2291] Ambari integration

2017-01-04 Thread svarnau
GitHub user svarnau opened a pull request:

https://github.com/apache/incubator-trafodion/pull/901

[TRAFODION-2291] Ambari integration

Integrates trafodion with Ambari cluster manager via an mpack (management
pack) plug-in.

As described in install/README.md file, to leverage this feature, two RPMs
are built. One to install the mpack and one used by Amari to install 
trafodion
itself. The mpack plug-in is built with a URL that points to where the
trafodion RPM is hosted (a yum repo). It can be specified on the make 
command
line as REPO_URL=...

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/svarnau/incubator-trafodion ambari_mpack_2291

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-trafodion/pull/901.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #901


commit d8a150c07611322503f1b4f678eca1d26feaba33
Author: Steve Varnau 
Date:   2017-01-04T19:15:00Z

[TRAFODION-2291] Ambari integration

Integrates trafodion with Ambari cluster manager via an mpack (management
pack) plug-in.

As described in install/README.md file, to leverage this feature, two RPMs
are built. One to install the mpack and one used by Amari to install 
trafodion
itself. The mpack plug-in is built with a URL that points to where the
trafodion RPM is hosted (a yum repo). It can be specified on the make 
command
line as REPO_URL=...




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---