[jira] [Updated] (CARBONDATA-1749) (Carbon1.3.0- DB creation external path) - mdt file is not created in directory as per configuration in carbon.properties

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-1749) (Carbon1.3.0- DB creation external path) - mdt file is not created in directory as per configuration in carbon.properties

Akash R Nilugal (Jira)

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

Chetan Bhat updated CARBONDATA-1749:
------------------------------------
    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.

  was:
Steps :
In carbon.properties the mdt file directory path is configured as Carbon.update.sync.folder=hdfs://hacluster/user/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.

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


> (Carbon1.3.0- DB creation external path) - mdt file is not created in directory as per configuration in carbon.properties
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1749
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1749
>             Project: CarbonData
>          Issue Type: Bug
>          Components: other
>    Affects Versions: 1.3.0
>         Environment: 3 node cluster
>            Reporter: Chetan Bhat
>              Labels: Functional
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)