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-11796) Ozone: MiniOzoneCluster should set "ozone.handler.type" key correctly
Date Fri, 02 Jun 2017 20:22:04 GMT

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

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

This patch extends the changes that is done by [~msingh] to fix the failing test cases.

The changes are :
# {{KeyManagerImpl.java}}
* Removed fail the call if the Key already exists, filed HDFS-11922 to track the issue of
orphaned blocks and made the putkey to behave as the original Ozone spec. That is overwrite
of key works.
* Make sure that allocateBlock request has at least 1 bytes in size. That was causing a failure
in a testCase.
* Changed the DBException to catch Exception. When we passed 0 size, the precondition check
was failing but we were not propagating that failure to the caller. This fixes that so the
test case fails fast if there is  an exception, since it gets propagated to the rest client.
# {{MiniOzoneCluster.java}}
Original change made by mukul.
# {{TestKeySpaceManager.java}}
In oder for {{TestOzoneRestWithMiniCluster.java}}  pass with this change, we needed to make
sure that overwrite works. Key space manager test assumed that overwrite would fail.  Changed
that assumption in tests.
# {{TestOzoneRestWithMiniCluster.java}}
 Added wait for ozone cluster call.

> Ozone: MiniOzoneCluster should set "ozone.handler.type" key correctly
> ---------------------------------------------------------------------
>                 Key: HDFS-11796
>                 URL: https://issues.apache.org/jira/browse/HDFS-11796
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>         Attachments: HDFS-11796-HDFS-7240.001.patch, HDFS-11796-HDFS-7240.002.patch
> MiniOzoneCluster currently doest not set "ozone.handler.type" key correctly.
> Handler type passed with setHandlerType is ignored silently.

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