ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-22871) Move Stack OS and Repository to DB
Date Mon, 29 Jan 2018 18:05:00 GMT
Dmitry Lysnichenko created AMBARI-22871:

             Summary: Move Stack OS and Repository to DB
                 Key: AMBARI-22871
             Project: Ambari
          Issue Type: Task
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
         Attachments: AMBARI-22871.patch

This jira is to address technical debt.  Move from storing OS and Repository data as embedded
json and make them proper tables/entities instead.

We are starting to add data to OS and Repository over just what is defined on the stack. 
These tables should allow for both  {{stack}} and {{repo_version}} to use them.

new: repo_os
|family|varchar(255), non-null, default ''|the os family (eg redhat6)|
|ambari_managed|smallint default 1|whether ambari manages the repos|

new: repo_definition
|repo_os_id|bigint|FK to repo_os|
|repo_name|varchar(255) non-null|name of the repository (HDP-2.5, HDP-UTILS)|
|repo_id|varchar(255) non-null|freeform id of the repository (HDP-2.5-|
|base_url|varchar(2048) non-null|base url|
|default_url|varchar(2048) non-null|(verify this is still needed)|
|mirrors|text|mirrors to check|

This message was sent by Atlassian JIRA

View raw message