[jira] [Updated] (HDFS-16861) RBF. Truncate API always fails when dirs use AllResolver oder on Router

2024-01-27 Thread Shilun Fan (Jira)


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

Shilun Fan updated HDFS-16861:
--
Hadoop Flags: Reviewed
Target Version/s: 3.4.0

> RBF. Truncate API always fails when dirs use AllResolver oder on Router  
> -
>
> Key: HDFS-16861
> URL: https://issues.apache.org/jira/browse/HDFS-16861
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: rbf
>Affects Versions: 3.4.0
>Reporter: Max  Xie
>Assignee: Max  Xie
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: image-2022-12-05-17-35-19-841.png
>
>
> # prepare a directory in a HASH_ALL/SPACE/RANDOM mount point.
>  # put  a test file with 1024 bytes  to this directory
>  # truncate the file with 100 new length  and this op will fail and throw  a 
> exception that the file does not exist.
>  
> After dig it, we should ignore the result of Truncate API in 
> RouterClientProtocol because
> Truncate can return true/false, so don't expect a result.
> After fix it , the code is 
> !image-2022-12-05-17-35-19-841.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-16861) RBF. Truncate API always fails when dirs use AllResolver oder on Router

2023-06-14 Thread Wei-Chiu Chuang (Jira)


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

Wei-Chiu Chuang updated HDFS-16861:
---
Fix Version/s: 3.4.0
   (was: 3.3.6)

> RBF. Truncate API always fails when dirs use AllResolver oder on Router  
> -
>
> Key: HDFS-16861
> URL: https://issues.apache.org/jira/browse/HDFS-16861
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: rbf
>Affects Versions: 3.4.0
>Reporter: Max  Xie
>Assignee: Max  Xie
>Priority: Major
>  Labels: pull-request-available
> Fix For: 3.4.0
>
> Attachments: image-2022-12-05-17-35-19-841.png
>
>
> # prepare a directory in a HASH_ALL/SPACE/RANDOM mount point.
>  # put  a test file with 1024 bytes  to this directory
>  # truncate the file with 100 new length  and this op will fail and throw  a 
> exception that the file does not exist.
>  
> After dig it, we should ignore the result of Truncate API in 
> RouterClientProtocol because
> Truncate can return true/false, so don't expect a result.
> After fix it , the code is 
> !image-2022-12-05-17-35-19-841.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-16861) RBF. Truncate API always fails when dirs use AllResolver oder on Router

2022-12-05 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated HDFS-16861:
--
Labels: pull-request-available  (was: )

> RBF. Truncate API always fails when dirs use AllResolver oder on Router  
> -
>
> Key: HDFS-16861
> URL: https://issues.apache.org/jira/browse/HDFS-16861
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: rbf
>Affects Versions: 3.4.0
>Reporter: Max  Xie
>Priority: Major
>  Labels: pull-request-available
> Attachments: image-2022-12-05-17-35-19-841.png
>
>
> # prepare a directory in a HASH_ALL/SPACE/RANDOM mount point.
>  # put  a test file with 1024 bytes  to this directory
>  # truncate the file with 100 new length  and this op will fail and throw  a 
> exception that the file does not exist.
>  
> After dig it, we should ignore the result of Truncate API in 
> RouterClientProtocol because
> Truncate can return true/false, so don't expect a result.
> After fix it , the code is 
> !image-2022-12-05-17-35-19-841.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org