ambari-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/AMBARI-22871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Lysnichenko updated AMBARI-22871:
----------------------------------------
    Attachment: AMBARI-22871.patch

> Move Stack OS and Repository to DB
> ----------------------------------
>
>                 Key: AMBARI-22871
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22871
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>            Priority: Major
>         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
> |id|bigint|PK|
> |family|varchar(255), non-null, default ''|the os family (eg redhat6)|
> |ambari_managed|smallint default 1|whether ambari manages the repos|
> new: repo_definition
> |id|bigint|PK|
> |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-2.5.0.0)|
> |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
(v7.6.3#76005)

Mime
View raw message