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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to