[
https://issues.apache.org/jira/browse/HAWQ-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956197#comment-14956197
]
Lirong Jian commented on HAWQ-52:
---------------------------------
Considering there is another filespace creation issue (HAWQ-27), we should add
more validation logic for creating filespaces.
Your proposal looks good to me. I will do more investigation of these two
issues and implementation details, and pose my design later.
> filespace can be created in invalid hdfs port
> ---------------------------------------------
>
> Key: HAWQ-52
> URL: https://issues.apache.org/jira/browse/HAWQ-52
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Storage
> Reporter: Dong Li
> Assignee: Lirong Jian
>
> you can create filespace in invalid hdfs port , it didn't check the hdfs port
> and not check if it was created successfully. Actually it was not created in
> hdfs and can not be used.
> create filespace fsinvalid on hdfs ('localhost:10086/fsinvalid');
> CREATE FILESPACE
> create TABLESPACE tsinvalid FILESPACE fsinvalid;
> WARNING: could not remove tablespace directory 17464: Input/output error
> CONTEXT: Dropping file-system object -- Tablespace Directory: '17464'
> ERROR: could not create tablespace directory 17464: Input/output error
> select * from gp_persistent_filespace_node;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)