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

postConfigure: System Name invalid value entering makes inconsistent "Columnstore.xml" and postConfigure cannot be rerun due to parser errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 1.1.5
    • Icebox
    • installation
    • None
    • CentOS Linux 7

    Description

      Steps:

      1. Just install ColumnStore 1.1.5 on Centos 7, but not configure it.

      2. Run "sudo /usr/local/mariadb/columnstore/bin/postConfigure".

      3. Select 1 for the type of System Server install.

      4. For the System Name value paste the following 4 lines:

      Select the type of System Server install [1=single, 2=multi] (2) > 1
       
      Performing the Single Server Install.
      Enter System Name (columnstore-1) > HappyMariaCS3
      

      Actual results:

      1. Console output:

      terminate called after throwing an instance of 'std::runtime_error'
        what():  Config::parseDoc: error parsing config file /usr/local/mariadb/columnstore/etc/Columnstore.xml
      

      2. postConfigure cannot be rerun again due to the parser errors:

      /usr/local/mariadb/columnstore/etc/Columnstore.xml:260: parser error : Specification mandate value for attribute the
                      <DBRootPerforming the Single Server Install.>/usr/local/mariadb/columnstore/da
                                            ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:260: parser error : attributes construct error
                      <DBRootPerforming the Single Server Install.>/usr/local/mariadb/columnstore/da
                                            ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:260: parser error : Couldn't find end of Start Tag DBRootPerforming line 260
                      <DBRootPerforming the Single Server Install.>/usr/local/mariadb/columnstore/da
                                            ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:260: parser error : expected '>'
      mariadb/columnstore/dataPerforming the Single Server Install.</DBRootPerforming
                                                                                     ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:260: parser error : Opening and ending tag mismatch: SystemConfig line 220 and DBRootPerforming
      mariadb/columnstore/dataPerforming the Single Server Install.</DBRootPerforming
                                                                                     ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:261: parser error : Opening and ending tag mismatch: Columnstore line 3 and SystemConfig
              </SystemConfig>
                             ^
      /usr/local/mariadb/columnstore/etc/Columnstore.xml:262: parser error : Extra content at the end of the document
              <SystemModuleConfig>
              ^
      terminate called after throwing an instance of 'std::runtime_error'
        what():  Config::parseDoc: error parsing config file /usr/local/mariadb/columnstore/etc/Columnstore.xml
      Aborted
      

      3. The configuration file "/usr/local/mariadb/columnstore/etc/Columnstore.xml" (attached 180724_Columnstore_Parse_Err.xml) becomes inconsistent.
      It contains the following lines 260-262:

      		<DBRootPerforming the Single Server Install.>/usr/local/mariadb/columnstore/dataPerforming the Single Server Install.</DBRootPerforming the Single Server Install.>
      	</SystemConfig>
      	<SystemModuleConfig>
      

      Expected results:

      1. postConfigure can be rerun.
      2. "Columnstore.xml" does not become inconsistent.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stepan.patryshev Stepan Patryshev (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.