Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-2216

add support for modifying DBRoot during post-install

Details

    Description

      The DBRoot directory seems to be hardcoded to /usr/local/mariadb/columnstore in postConfigure.cpp.

      When running CS in containers, data directories only (which are sub-directories of said path) need to be mapped to a persistent volume, while binaries etc continue to remain in an ephemeral volume under this directory.

      I would like to request that the DBRoot is added as a parameter to postCfg (assuming only data directories will be hosted under it).

      Attachments

        Activity

          alexander.aldev Alexander Aldev (Inactive) created issue -
          alexander.aldev Alexander Aldev (Inactive) made changes -
          Field Original Value New Value
          Summary CLONE - add support for using and defaulting memory based settings to docker image add support for modifying DBRoot during post-install
          alexander.aldev Alexander Aldev (Inactive) made changes -
          Affects Version/s 1.2.3 [ 23231 ]
          Affects Version/s 1.2.2 [ 23220 ]
          alexander.aldev Alexander Aldev (Inactive) made changes -
          Labels containers relnote containers
          alexander.aldev Alexander Aldev (Inactive) made changes -
          Description ColumnsStore now supports explicit memory settings for NumBlocksPct and TotalUmMemory however i believe there is not currently a way to force / override these in postConfigure.

          The docker image should support 2 new env variables to allow overriding these and also default to some sensible small values like 1024m for NPB and 512m for TUM. Assuming my analysis is correct we'll need a mechanism to allow postCfg to take and default values for these (either as parameters or utilizing the values already in ColumnStore.xml (there is some logic for this in the upgrade path).
          The DBRoot directory seems to be hardcoded to /usr/local/mariadb/columnstore in the post. When running in containers, data directories only (which are sub-directories of said path) need to be mapped to a persistent volume, while binaries etc continue to remain in an ephemeral volume under this directory.



          The docker image should support 2 new env variables to allow overriding these and also default to some sensible small values like 1024m for NPB and 512m for TUM. Assuming my analysis is correct we'll need a mechanism to allow postCfg to take and default values for these (either as parameters or utilizing the values already in ColumnStore.xml (there is some logic for this in the upgrade path).
          alexander.aldev Alexander Aldev (Inactive) made changes -
          Description The DBRoot directory seems to be hardcoded to /usr/local/mariadb/columnstore in the post. When running in containers, data directories only (which are sub-directories of said path) need to be mapped to a persistent volume, while binaries etc continue to remain in an ephemeral volume under this directory.



          The docker image should support 2 new env variables to allow overriding these and also default to some sensible small values like 1024m for NPB and 512m for TUM. Assuming my analysis is correct we'll need a mechanism to allow postCfg to take and default values for these (either as parameters or utilizing the values already in ColumnStore.xml (there is some logic for this in the upgrade path).
          The DBRoot directory seems to be hardcoded to /usr/local/mariadb/columnstore in postConfigure.cpp.

          When running CS in containers, data directories only (which are sub-directories of said path) need to be mapped to a persistent volume, while binaries etc continue to remain in an ephemeral volume under this directory.

          I would like to request that the DBRoot is added as a parameter to postCfg (assuming only data directories will be hosted under it).
          jens.rowekamp Jens Röwekamp (Inactive) made changes -
          Fix Version/s 1.2.4 [ 23254 ]
          Fix Version/s 1.2.3 [ 23231 ]
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Fix Version/s 1.2.5 [ 23613 ]
          Fix Version/s 1.2.4 [ 23254 ]
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Assignee David Thompson [ dthompson ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked lower
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          LinuxJedi Andrew Hutchings (Inactive) made changes -
          Fix Version/s 1.2.6 [ 23734 ]
          Fix Version/s 1.2.5 [ 23613 ]
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked higher
          toddstoffel Todd Stoffel (Inactive) made changes -
          Rank Ranked lower
          David.Hall David Hall (Inactive) made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Closed [ 6 ]

          People

            Unassigned Unassigned
            alexander.aldev Alexander Aldev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.