truongbk24 commented on PR #555: URL: https://github.com/apache/bigtop/pull/555#issuecomment-1323041267
> Hello guys, is there also support for ubuntu20 in the mpack? I still can not deploy the stack over ambari on my ubuntu 20.04 machine, because this osFamily or osVersion ist not supported. It is also not possible to add the os version on the cluster installation over ambari (there ist still only the ubuntu18 as the only choose). Am I missing something? > > I get the following exception if i try to confirm the hosts: `Exception: Registration failed due to: Cannot register host with not supported os type, hostname=trshdp1.trs.local, serverOsType=ubuntu20, agentOsType=ubuntu20` > > And there is no place where I can add the repository for this os versions or something... > > Edit: I've got the agents registered. But on the deploy I still getting an error: > > ` Problem accessing /api/v1/clusters/medic/hosts. Reason: Operating System matching ubuntu20 could not be found at org.apache.ambari.server.controller.AmbariManagementControllerImpl.retrieveHostRepositories(AmbariManagementControllerImpl.java:5938) at org.apache.ambari.server.agent.stomp.HostLevelParamsHolder.getCurrentDataExcludeCluster(HostLevelParamsHolder.java:79) at org.apache.ambari.server.agent.stomp.HostLevelParamsHolder.getCurrentData(HostLevelParamsHolder.java:68) at org.apache.ambari.server.controller.AmbariManagementControllerImpl.getAddedComponentsTopologyEvent(AmbariManagementControllerImpl.java:817) at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createHostComponents(AmbariManagementControllerImpl.java:711) at ...` I just figured out you face the same problem with me. My solution is: after installed the ambari-server, just go to this file /usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json and add more version 20 of the ubuntu. Restart all the agent and server for a couple of times and it will work -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
