You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2022/08/11 20:54:00 UTC

[jira] [Resolved] (HDFS-16702) MiniDFSCluster should report cause of exception in assertion error

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

Chao Sun resolved HDFS-16702.
-----------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

> MiniDFSCluster should report cause of exception in assertion error
> ------------------------------------------------------------------
>
>                 Key: HDFS-16702
>                 URL: https://issues.apache.org/jira/browse/HDFS-16702
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>         Environment: Tests running in the Hadoop dev environment image.
>            Reporter: Steve Vaughan
>            Assignee: Steve Vaughan
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> When the MiniDFSClsuter detects that an exception caused an exit, it should include that exception as the cause for the AssertionError that it throws.  The current AssertError simply reports the message "Test resulted in an unexpected exit" and provides a stack trace to the location of the check for an exit exception.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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