[
https://issues.apache.org/jira/browse/HAWQ-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15003491#comment-15003491
]
Dong Li commented on HAWQ-52:
-----------------------------
This may be not a problem anymore as HDFA can not connect the invalid port now.
{code}
create FILESPACE fsinvalid ON hdfs ('localhost:10086/hawq/fsinvalid');
{code}
WARNING: could not remove filespace directory 16541: Input/output error
CONTEXT: Dropping file-system object -- Filespace Directory: '16541'
ERROR: could not create filespace directory hdfs://localhost:10086/fsinvalid:
Input/output error
DETAIL: Hdfs::HdfsRpcException: HdfsFailoverException: Failed to invoke RPC
call "getFsStats" on server "localhost:10086" Caused by:
HdfsNetworkConnectException: Connect to "localhost:10086" failed: (errno: 61)
Connection refused
> 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)