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

Michael J. Carey updated ASTERIXDB-1363:
----------------------------------------
    Description: 
We have a really sucky response to an accidental "overload" - i.e., if you try 
to load something 2x:
 "Internal error. Please check instance logs for further details. 
[NullPointerException]"

Here's a simple reproducer based on our 101 scenario (an open version thereof, 
actually):

drop dataverse OpenTinySocial if exists;
create dataverse OpenTinySocial;
use dataverse OpenTinySocial;
create type FacebookMessageType as {
        message-id: int64
};
create dataset FacebookMessages(FacebookMessageType)
primary key message-id;
load dataset FacebookMessages using localfs
    
(("path"="127.0.0.1:///Users/mikejcarey/tinysocialdata/fbm.adm"),("format"="adm"));
load dataset FacebookMessages using localfs
    
(("path"="127.0.0.1:///Users/mikejcarey/tinysocialdata/fbm.adm"),("format"="adm"));

  was:
The following series of operations fails at load time with "Internal error. 
Please check instance logs for further details. [NullPointerException]"

Here's what seems to be a minimal reproducer:

drop dataverse OpenTinySocial if exists;
create dataverse OpenTinySocial;
use dataverse OpenTinySocial;
create type FacebookMessageType as {
        message-id: int64
};
create dataset FacebookMessages(FacebookMessageType)
primary key message-id;
create index fbAuthorIdx on FacebookMessages(author-id: int64) type btree 
enforced;
create index fbSenderLocIndex on FacebookMessages(sender-location: point) type 
rtree enforced;
create index fbMessageIdx on FacebookMessages(message: string) type keyword 
enforced;
load dataset FacebookMessages using localfs
    
(("path"="127.0.0.1:///Users/mikejcarey/tinysocialdata/fbm.adm"),("format"="adm"));


> Internal error when accidentally loading the same dataset 2x
> ------------------------------------------------------------
>
>                 Key: ASTERIXDB-1363
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1363
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Error Reporting, Storage
>         Environment: Running AsterixDB from Master on a Mac
>            Reporter: Michael J. Carey
>            Assignee: Taewoo Kim
>
> We have a really sucky response to an accidental "overload" - i.e., if you 
> try to load something 2x:
>  "Internal error. Please check instance logs for further details. 
> [NullPointerException]"
> Here's a simple reproducer based on our 101 scenario (an open version 
> thereof, actually):
> drop dataverse OpenTinySocial if exists;
> create dataverse OpenTinySocial;
> use dataverse OpenTinySocial;
> create type FacebookMessageType as {
>         message-id: int64
> };
> create dataset FacebookMessages(FacebookMessageType)
> primary key message-id;
> load dataset FacebookMessages using localfs
>     
> (("path"="127.0.0.1:///Users/mikejcarey/tinysocialdata/fbm.adm"),("format"="adm"));
> load dataset FacebookMessages using localfs
>     
> (("path"="127.0.0.1:///Users/mikejcarey/tinysocialdata/fbm.adm"),("format"="adm"));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to