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

Dong Li updated HAWQ-52:
------------------------
    Description: 
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;



  was:
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 not can 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;




> 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: Roman Shaposhnik
>
> 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)

Reply via email to