hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11196) Ozone: Improve logging and error handling in the container layer
Date Fri, 03 Mar 2017 05:11:45 GMT

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

Anu Engineer updated HDFS-11196:
    Attachment: HDFS-11196-HDFS-7240.002.patch

[~xyao] Thanks for the comments. I have addressed all comments in the v2 patch. 

bq. 1. We seems to have an extra StorageContainerException defined 
thanks, fixed.

bq. 2. NIT: StorageContainerException.java

bq.  295: can we remove the TODO i

bq. Line 300: do we need to plumb the traceID 

bq. Line 167/255: NIT: javadoc throws does 
fixed one, line 255 not able to find the issue.

bq. Line 293: do we need to throw StorageContainerException with CONTAINER_INTERNAL_ERROR
not really since we are getting an IO_EXCEPTION from underlying layer.

bq. Line 310: NIT: javadoc throws declaration

bq. Line 319: can we include the path in the exception message for trouble shooting?

bq. Line 102/107/156/277: throws StorageContainerException
fixed in some locations.

Line 210: should we rethrow StorageContainerException here?

bq. Maybe adding more specific PUT_SMALLFILE_ERROR/GET_SMALLFILE_ERROR?

> Ozone: Improve logging and error handling in the container layer
> ----------------------------------------------------------------
>                 Key: HDFS-11196
>                 URL: https://issues.apache.org/jira/browse/HDFS-11196
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>             Fix For: HDFS-7240
>         Attachments: HDFS-11196-HDFS-7240.001.patch, HDFS-11196-HDFS-7240.002.patch
> Improve logging and error handling in container layer.
>  * With this change Storage Containers return StorageContainerException.
>  * Precondition checks fail with a human readable error.
>  * All failed requests are logged with traceID in the dispatcher.
>  * Returns proper error codes for corresponding failures.

This message was sent by Atlassian JIRA

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

View raw message