[
https://issues.apache.org/jira/browse/ASTERIXDB-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chen Luo updated ASTERIXDB-1859:
--------------------------------
Description:
When creating a data feed on a non-existing type, AsterixDB gives an error
message: {code}Error: Invalid feed parameters. Exception Message:null.{code}
The error message could be more meaningful by informing that user that the type
is non-existent. Moreover, no stacktrace is printed to logs.
Steps to reproduce: simply create a feed on a non-existing type.
{code}
create feed Feed1 using socket_adapter
(
("sockets"="red:10001"),
("address-type"="nc"),
("type-name"="unknownType"),
("format"="adm")
)
{code}
was:
When creating a data feed on a non-existing type, AsterixDB gives an error
message: "Error: Invalid feed parameters. Exception Message:null". The error
message could be more meaningful by informing that user that the type is
non-existent. Moreover, no stacktrace is printed to logs.
Steps to reproduce: simply create a feed on a non-existing type.
create feed Feed1 using socket_adapter
(
("sockets"="red:10001"),
("address-type"="nc"),
("type-name"="unknownType"),
("format"="adm")
);
> "Exception Message:null" when creating a feed on non-existing type
> ------------------------------------------------------------------
>
> Key: ASTERIXDB-1859
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1859
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: Feeds
> Reporter: Chen Luo
> Priority: Minor
>
> When creating a data feed on a non-existing type, AsterixDB gives an error
> message: {code}Error: Invalid feed parameters. Exception Message:null.{code}
> The error message could be more meaningful by informing that user that the
> type is non-existent. Moreover, no stacktrace is printed to logs.
> Steps to reproduce: simply create a feed on a non-existing type.
> {code}
> create feed Feed1 using socket_adapter
> (
> ("sockets"="red:10001"),
> ("address-type"="nc"),
> ("type-name"="unknownType"),
> ("format"="adm")
> )
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)