Skip to content

your 5 min installation is not working #236

@abcnow

Description

@abcnow

ArcadeDB Version: <version here, you can find it on the first line of server output>

JDK Version:

OS:

Expected behavior

I copied and pasted your 5 min installation code and it is broken.. so I had to adjust it.. and then copied and pasted in my docker terminal and it doesn't finish.. It stays hanging there


docker run --rm -p 2480:2480 -p 2424:2424 --env arcadedb.server.rootPassword=playwithdata --env "arcadedb.server.defaultDatabases=Imported[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdbOpenBeer.gz}" arcadedata/arcadedb:latest
Password:

█████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ ██████╗
██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗
███████║██████╔╝██║ ███████║██║ ██║█████╗ ██║ ██║██████╔╝
██╔══██║██╔══██╗██║ ██╔══██║██║ ██║██╔══╝ ██║ ██║██╔══██╗
██║ ██║██║ ██║╚██████╗██║ ██║██████╔╝███████╗██████╔╝██████╔╝
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═════╝ ╚═════╝
PLAY WITH DATA arcadedb.com
[0.976s][error][gc] Failed to allocate backing file (Cannot allocate memory)
[1.624s][error][gc,init] Not enough space available on the backing filesystem to hold the current max
[1.625s][error][gc,init] Java heap size (2048M). Forcefully lowering max Java heap size to 2046M (100%).

2021-12-12 12:04:04.426 INFO [ArcadeDBServer] <ArcadeDB_0> ArcadeDB Server v21.12.1-SNAPSHOT (build 94c9efa/1638857567344/main) is starting up...
2021-12-12 12:04:04.427 INFO [ArcadeDBServer] <ArcadeDB_0> Starting ArcadeDB Server with plugins [] ...
2021-12-12 12:04:04.502 INFO [ArcadeDBServer] <ArcadeDB_0> - JMX Metrics Started...
2021-12-12 12:04:04.605 INFO [ServerSecurity] <ArcadeDB_0> Creating root user with the provided password
2021-12-12 12:04:04.941 INFO [ArcadeDBServer] <ArcadeDB_0> Creating default database 'Imported'...
2021-12-12 12:04:05.486 INFO [SourceDiscovery] <ArcadeDB_0> Analyzing url: https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdbOpenBeer.gz...- Status update: parsed 0 (0/sec) - 0 documents (0/sec) - 0 vertices (0/sec) - 0 edges (0/sec) - 0 skipped edges - 0 linked edges (0/sec - 0%)
Exception in thread "main" com.arcadedb.exception.CommandExecutionException: Error on importing database
at com.arcadedb.query.sql.parser.ImportDatabaseStatement.executeSimple(ImportDatabaseStatement.java:58)
at com.arcadedb.query.sql.executor.SingleOpExecutionPlan.executeInternal(SingleOpExecutionPlan.java:115)
at com.arcadedb.query.sql.parser.SimpleExecStatement.execute(SimpleExecStatement.java:53)
at com.arcadedb.query.sql.parser.Statement.execute(Statement.java:86)
at com.arcadedb.query.sql.parser.Statement.execute(Statement.java:70)
at com.arcadedb.query.sql.SQLQueryEngine.command(SQLQueryEngine.java:90)
at com.arcadedb.database.EmbeddedDatabase.command(EmbeddedDatabase.java:1205)
at com.arcadedb.server.ArcadeDBServer.loadDefaultDatabases(ArcadeDBServer.java:475)
at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:123)
at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:84)
Caused by: com.arcadedb.integration.importer.ImportException: Error on parsing source 'null'
at com.arcadedb.integration.importer.Importer.load(Importer.java:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.arcadedb.query.sql.parser.ImportDatabaseStatement.executeSimple(ImportDatabaseStatement.java:53)
... 9 more
Caused by: java.io.FileNotFoundException: https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdbOpenBeer.gz
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1920)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at com.arcadedb.integration.importer.SourceDiscovery.getSourceFromURL(SourceDiscovery.java:98)
at com.arcadedb.integration.importer.SourceDiscovery.getSource(SourceDiscovery.java:81)
at com.arcadedb.integration.importer.SourceDiscovery.getSchema(SourceDiscovery.java:53)
at com.arcadedb.integration.importer.Importer.loadFromSource(Importer.java:75)
at com.arcadedb.integration.importer.Importer.load(Importer.java:50)
... 14 more

Actual behavior

after 10 minutes it is still waiting...

Steps to reproduce

  1. copied your 5 min installation link
  2. pasted on my terminal (link it is broken)
  3. adjusted your link
  4. copied the new link and pasted in my terminal
  5. installation doesn't finish/stays hanging

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions