You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Prashant Pogde (Jira)" <ji...@apache.org> on 2020/01/23 03:08:00 UTC

[jira] [Created] (HDDS-2930) appropriate log message when creating keys fail due to failed server

Prashant Pogde created HDDS-2930:
------------------------------------

             Summary: appropriate log message when creating keys fail due to failed server
                 Key: HDDS-2930
                 URL: https://issues.apache.org/jira/browse/HDDS-2930
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
          Components: Ozone Filesystem
            Reporter: Prashant Pogde
            Assignee: Prashant Pogde


In a 3 node cluster, if one of the nodes is down, creating a key fails without proper error message.

Here's the sequence 

[root@ppogde-1 ~]# ozone fs -ls o3fs://bucket-73-13891.vol-1-96040/

Found 4 items

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-0-11625

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-1-10554

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-2-21504

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-3-54266

 

[root@ppogde-1 ~]# ozone fs -mkdir o3fs://bucket-73-13891.vol-1-96040/dir1

[root@ppogde-1 ~]# ozone fs -ls o3fs://bucket-73-13891.vol-1-96040/

Found 5 items

drwxrwxrwx   - root root          0 2020-01-22 10:21 o3fs://bucket-73-13891.vol-1-96040/dir1

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-0-11625

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-1-10554

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-2-21504

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-3-54266

[root@ppogde-1 ~]# 

[root@ppogde-1 ~]# ozone fs -put ./xyz o3fs://bucket-73-13891.vol-1-96040/dir1 

put: Allocated 0 blocks. Requested 1 blocks

[root@ppogde-1 ~]# ozone fs -ls o3fs://bucket-73-13891.vol-1-96040/

Found 5 items

drwxrwxrwx   - root root          0 2020-01-22 10:23 o3fs://bucket-73-13891.vol-1-96040/dir1

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-0-11625

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-1-10554

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-2-21504

-rw-rw-rw-   1 root root      10240 2019-12-06 14:34 o3fs://bucket-73-13891.vol-1-96040/key-3-54266

[root@ppogde-1 ~]# 

in the above sequence put has failed not giving much clue as to one of the nodes could have been down causing this failure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org