Hi, I'm trying to make ambari work for debian 8. I want to know how the HDP stack and the repository info's are mapped and how this data is populated? I'm able to get past the registration process by adding the entry in os_family.json. But during the deployment process. The error gets thrown again. I wanted to know how the data is populated which maps the repository version and the OS version.
Debian is not listed in supported OS. I highly recommend to stick with the OS listed in the following doc
@Neeraj Sabharwal Thank you so much. I know the requirements. I'm trying to make it more work for Debian 8. I want to know how the initialization is works. I have dug down to find that there is a unmodifiable map that is created that maps the HDP repositories with the compatible OS. I want to know, how this information is populated. I think its just a matter of configuration to make is work in debian 8. This is mainly because of the dependencies for HDP and Ambari with debian 7 are similar with debian 8
Exactly. I understand. But I want to try it. There is not much changes in the existing libraries with respect to debian 7 and debian 8, there is minimal changes to existing libraries and addition of a few more enhancements. As far as I can see, the HDP installation shouldn't break for debian 8, except for this small OS Check. Hence my curiosity. Its just an experiment that I'm trying. I'm looking into that repository. Thank you for pointing out.
@Sriganesh Navaneethakrishnan I guess you realize that you're breaking warranty by doing so, that said, take a look at solution here, disable one script and see if you can register your host https://community.hortonworks.com/questions/4324/hdp-support-for-mix-of-os-releases-within-a-cluste....
Thanks @Artem Ervits. I did the same and was able to register the host properly. But deployment of the components is the place that I'm stuck with. It seems, the OS compatibility check [mapping process] is done in two locations.
I'll show you the logs... WARN [qtp-ambari-client-21] ClustersImpl:552 - Trying to map host to cluster where stack does not support host's os type, clusterName=sample1, clusterStackId=HDP-2.3, hostname=xxx, hostOsFamily=debian8
29 Feb 2016 16:04:00,418 ERROR [qtp-ambari-client-21] AbstractResourceProvider:280 - Caught AmbariException when creating a resource
org.apache.ambari.server.AmbariException: Trying to map host to cluster where stack does not support host's os type, clusterName=sample1, clusterStackId=HDP-2.3, hostname=xxx, hostOsFamily=debian8
@Sriganesh Navaneethakrishnan consider creating your own stack https://cwiki.apache.org/confluence/display/AMBARI/Stacks+and+Services build packages from source and deploy using Ambari. Have you looked at Apache Bigtop, it might be something you could use http://bigtop.apache.org/