asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Luo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ASTERIXDB-1860) Inconsistent behavior w.r.t. connecting/disconnecting feed to a non-existing dataset
Date Sun, 26 Mar 2017 18:37:41 GMT

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

Chen Luo updated ASTERIXDB-1860:
--------------------------------
    Description: 
Connecting a feed to a non-existing dataset (whose name is 'unknown_dataset') is successful,
and the system shows the message: "Success: Query Complete".
However, disconnecting this feed to this dataset is rejected with error message: "Unknown
target dataset :unknown_dataset [CompilationException]".
Then, connecting this feed to the dataset again gives: "FeedTweetFeed is already connected
dataset unknown_dataset [AlgebricksException]".

Thus, it seems once a feed is connected to a non-existing dataset, it cannot be disconnected
from it.

Steps to reproduce:
# create a feed named Feed1;
# connect Feed1 to a non-existing dataset, e.g., unknown_dataset:
{code}
connect feed Feed1 to dataset unknown_dataset;
{code}
Now Feed1 is successfully connected to unknown_dataset.
# disconnect Feed1 from unknown_dataset:
{code}
disconnect feed Feed1 from dataset unknown_dataset;
{code}
This command is rejected because unknown_dataset is not existing.
# connect Feed1 to unknown_dataset again:
{code}
connect feed Feed1 to dataset unknown_dataset;
{code}
The system shows Feed1 is already connected to unknown_dataset.

  was:
Connecting a feed to a non-existing dataset (whose name is 'unknown_dataset') is successful,
and the system shows the message: "Success: Query Complete".
However, disconnecting this feed to this dataset is rejected with error message: "Unknown
target dataset :unknown_dataset [CompilationException]".
Then, connecting this feed to the dataset again gives: "FeedTweetFeed is already connected
dataset unknown_dataset [AlgebricksException]".

Thus, it seems once a feed is connected to a non-existing dataset, it cannot be disconnected
from it.

Steps to reproduce:
# create a feed named Feed1;
# connect Feed1 to a non-existing dataset, e.g., unknown_dataset:
"connect feed Feed1 to dataset unknown_dataset;"
Now Feed1 is successfully connected to unknown_dataset.
# disconnect Feed1 from unknown_dataset:
"disconnect feed Feed1 from dataset unknown_dataset;"
This command is rejected because unknown_dataset is not existing.
# connect Feed1 to unknown_dataset again:
{code}
connect feed Feed1 to dataset unknown_dataset;
{code}
The system shows Feed1 is already connected to unknown_dataset.


> Inconsistent behavior w.r.t. connecting/disconnecting feed to a non-existing dataset
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1860
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1860
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Feeds
>            Reporter: Chen Luo
>            Priority: Minor
>
> Connecting a feed to a non-existing dataset (whose name is 'unknown_dataset') is successful,
and the system shows the message: "Success: Query Complete".
> However, disconnecting this feed to this dataset is rejected with error message: "Unknown
target dataset :unknown_dataset [CompilationException]".
> Then, connecting this feed to the dataset again gives: "FeedTweetFeed is already connected
dataset unknown_dataset [AlgebricksException]".
> Thus, it seems once a feed is connected to a non-existing dataset, it cannot be disconnected
from it.
> Steps to reproduce:
> # create a feed named Feed1;
> # connect Feed1 to a non-existing dataset, e.g., unknown_dataset:
> {code}
> connect feed Feed1 to dataset unknown_dataset;
> {code}
> Now Feed1 is successfully connected to unknown_dataset.
> # disconnect Feed1 from unknown_dataset:
> {code}
> disconnect feed Feed1 from dataset unknown_dataset;
> {code}
> This command is rejected because unknown_dataset is not existing.
> # connect Feed1 to unknown_dataset again:
> {code}
> connect feed Feed1 to dataset unknown_dataset;
> {code}
> The system shows Feed1 is already connected to unknown_dataset.



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

Mime
View raw message