Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1363

Internal error when accidentally loading the same dataset 2x

    XMLWordPrintableJSON

    Details

      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"));

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mhubail Murtadha Makki Al Hubail
                Reporter:
                dtabass Michael J. Carey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: