You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2017/02/15 22:46:41 UTC

[jira] [Updated] (HADOOP-14085) Drop unnecessary type assertion and cast

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

Sean Mackrory updated HADOOP-14085:
-----------------------------------
    Attachment: HADOOP-14085-HADOOP-13345.001.patch

Attaching a patch - I've run all S3 tests with this patch. No tests because it fixes existing tests.

> Drop unnecessary type assertion and cast
> ----------------------------------------
>
>                 Key: HADOOP-14085
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14085
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>         Attachments: HADOOP-14085-HADOOP-13345.001.patch
>
>
> This is a spin-off from some discussion on HADOOP-13736. There's an assertion and type-cast that often causes a large number of test failures (this can be seen at HADOOP-14041). It appears to be unnecessary - things work really well by just removing that, and unless there's a good reason or test of something S3-specific, we should handle FileStatus in metadata anyway.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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