[
https://issues.apache.org/jira/browse/AMBARI-15007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142596#comment-15142596
]
Hudson commented on AMBARI-15007:
---------------------------------
FAILURE: Integrated in Ambari-branch-2.2 #317 (See
[https://builds.apache.org/job/Ambari-branch-2.2/317/])
AMBARI-15007. Make amazon2015 a part of redhat6 family (aonishuk) (aonishuk:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9377291daf9617485b63979430d64ffa901468e4])
* ambari-common/src/main/python/ambari_commons/resources/os_family.json
*
ambari-server/src/main/java/org/apache/ambari/server/state/stack/JsonOsFamilyRoot.java
* ambari-common/src/main/python/ambari_commons/os_check.py
* ambari-server/src/main/resources/stacks/HDP/2.2/repos/repoinfo.xml
* ambari-server/src/main/resources/stacks/HDP/2.4/repos/repoinfo.xml
* ambari-server/src/main/resources/stacks/HDP/2.3/repos/repoinfo.xml
* ambari-server/src/main/java/org/apache/ambari/server/state/stack/OsFamily.java
* ambari-server/src/test/python/TestOSCheck.py
> Make amazon2015 to be part of redhat6 family
> --------------------------------------------
>
> Key: AMBARI-15007
> URL: https://issues.apache.org/jira/browse/AMBARI-15007
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.2.2
>
> Attachments: AMBARI-15007.patch
>
>
> We have discussed the solution for this with Sumit Mohanty.
> We decided to avoid introducing new os family for amazon.
> And to simply add aliases section to os_family.json like this:
>
>
> "aliases": {
> "amazon2015": "amazon6"
> }
>
> The only disadvantage is that when choosing repo-url, user might be confused
> that centos6 url is for amazon 2015.
> But that what initially what I was asked to do.
> Also this jira should include using /etc/system-release instead of /etc/issue
> to detect amazon os. (/etc/os-release seems to be absent on some centos
> distros, so I think it's not reliable)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)