You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/05/13 03:18:15 UTC

[GitHub] [incubator-doris] zhangboya1 opened a new issue #5803: Dynamic Partition create not correct

zhangboya1 opened a new issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803


   I create a table with properties
   PROPERTIES (
   "replication_num" = "3",
   "dynamic_partition.enable" = "true",
   "dynamic_partition.time_unit" = "DAY",
   "dynamic_partition.time_zone" = "Asia/Shanghai",
   "dynamic_partition.start" = "-30",
   "dynamic_partition.end" = "3",
   "dynamic_partition.prefix" = "p",
   "dynamic_partition.replication_num" = "3",
   "dynamic_partition.buckets" = "12",
   "storage_medium" = "SSD",
   "storage_format" = "V2"
   );
   
   When new partition created, the storage_medium is HDD, not SSD. 
   Why? Is it a bug? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] morningman commented on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
morningman commented on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841094283


   > My configuration is:
   > storage_root_path = /data01/doris.SSD,2000;/data02/doris.SSD,2000;/data03/doris.SSD,2000;/data04/doris.SSD,2000
   
   This is a issue. Currently, dynamic partition does not consider the `storage_medium` property, this should be fixed later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] zhangboya1 closed issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
zhangboya1 closed issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] hf200012 commented on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841014353


   How is your SSD disk mounted, and how is the name of the doris storage directory named?
   The directory names of your configured doris storage directories hdd and ssd should be similar to doris.SSD, doris.HDD
   
   storage_root_path = /hdd_data05/doris.HDD;/ssd_data03/doris.SSD;/hdd_data08/doris.HDD;/hdd_data02/doris.HDD;/hdd_data04/doris.HDD;/hdd_data01/doris.HDD;/hdd_data10/doris.HDD; ;/ssd_data02/doris.SSD;/hdd_data09/doris.HDD;/hdd_data06/doris.HDD;/hdd_data03/doris.HDD;/ssd_data01/doris.SSD;/hdd_data07/doris.HDD;/ssd_data04/doris.SSD


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] hf200012 commented on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
hf200012 commented on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841014684


   > I create a table with properties
   > PROPERTIES (
   > "replication_num" = "3",
   > "dynamic_partition.enable" = "true",
   > "dynamic_partition.time_unit" = "DAY",
   > "dynamic_partition.time_zone" = "Asia/Shanghai",
   > "dynamic_partition.start" = "-30",
   > "dynamic_partition.end" = "3",
   > "dynamic_partition.prefix" = "p",
   > "dynamic_partition.replication_num" = "3",
   > "dynamic_partition.buckets" = "12",
   > "storage_medium" = "SSD",
   > "storage_format" = "V2"
   > );
   > 
   > When new partition created, the storage_medium is HDD, not SSD.
   > Why? Is it a bug?
   
   This is your configuration problem, not a bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] zhangboya1 commented on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
zhangboya1 commented on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841098328


   Got it. I have read the code, in the analyzeDataProperty method, the properties not contain storage_medium . For now I create partition manually.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] zhangboya1 edited a comment on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
zhangboya1 edited a comment on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841093660


   My configuration is:
   storage_root_path = /data01/doris.SSD,2000;/data02/doris.SSD,2000;/data03/doris.SSD,2000;/data04/doris.SSD,2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] zhangboya1 commented on issue #5803: Dynamic Partition create not correct

Posted by GitBox <gi...@apache.org>.
zhangboya1 commented on issue #5803:
URL: https://github.com/apache/incubator-doris/issues/5803#issuecomment-841093660


   my configuration is:
   storage_root_path = /data01/doris.SSD,2000;/data02/doris.SSD,2000;/data03/doris.SSD,2000;/data04/doris.SSD,2000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org