hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19740) Repeated error message for NamespaceExistException
Date Wed, 10 Jan 2018 12:59:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16320191#comment-16320191
] 

Chia-Ping Tsai commented on HBASE-19740:
----------------------------------------

Please remove the extra description from NamespaceExistException for v2 patch.
{code}
  public NamespaceExistException(String namespace) {
    super("Namespace " + namespace + " already exists");
  }
{code}

> Repeated error message for NamespaceExistException
> --------------------------------------------------
>
>                 Key: HBASE-19740
>                 URL: https://issues.apache.org/jira/browse/HBASE-19740
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 19740.v2.txt
>
>
> The following can be observed in TestAsyncNamespaceAdminApi test output:
> {code}
> 2018-01-09 07:55:08,685 INFO  [Default-IPC-NioEventLoopGroup-5-2] client.RawAsyncHBaseAdmin$NamespaceProcedureBiConsumer(2374):
Operation: CREATE_NAMESPACE, Namespace: TestNamespacens1 failed with Namespace Namespace TestNamespacens1
already exists already exists
> {code}
> This was due to ForeignExceptionUtil.toIOException() recreating NamespaceExistException,
resulting in "already exists" appended one more time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message