Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-1749

Carbon1.3.0- DB creation external path : mdt file is not created in directory as per configuration in carbon.properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • other
    • 3 node cluster

    Description

      Steps :
      In carbon.properties the mdt file directory path is configured as Carbon.update.sync.folder=hdfs://hacluster/user/test1 or /tmp/test1/

      In beeline user creates a database by specifying the carbon store path and creates a carbon table in the db.
      drop database if exists test_db1 cascade;
      create database test_db1 location 'hdfs://hacluster/user/test1';
      use test_db1;
      create table if not exists ORDERS(O_ORDERDATE string,O_ORDERPRIORITY string,O_ORDERSTATUS string,O_ORDERKEY string,O_CUSTKEY string,O_TOTALPRICE double,O_CLERK string,O_SHIPPRIORITY int,O_COMMENT string) STORED BY 'org.apache.carbondata.format'TBLPROPERTIES ('table_blocksize'='128');

      User checks in HDFS UI if the mdt file is created in directory specified (hdfs://hacluster/user/test1 as per configuration in carbon.properties.

      Issue : mdt file is not created in directory specified (hdfs://hacluster/user/test1) as per configuration in carbon.properties. Also the folder is not created if the user configures the folder path as Carbon.update.sync.folder=/tmp/test1/

      Expected : mdt file should be created in directory specified (hdfs://hacluster/user/test1) or /tmp/test1/ as per configuration in carbon.properties.

      Attachments

        Activity

          People

            anubhavtarar anubhav tarar
            chetdb Chetan Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: