Skip to content

Conversation

@arcade-player
Copy link
Contributor

What does this PR do?

  • move to zulu-openjdk ad base image
  • move to kubernetes-maven-plugin to build the Docker image

Motivation

provde docker image that support more CPUs/OS

Related issues

#412
#408

@arcade-player arcade-player force-pushed the feature-412/multiplatform_docker_image branch 2 times, most recently from 765d3eb to e14e43a Compare July 14, 2022 21:29
@MrHassanMurtaza
Copy link

MrHassanMurtaza commented Jul 22, 2022

@arcade-player any update on when this PR will get accepted/merged? We plan to run the ArcadeDB on arm64 especially Mac M1 for the local kubernetes cluster.

@arcade-player arcade-player force-pushed the feature-412/multiplatform_docker_image branch from c08f54c to a3572a4 Compare July 22, 2022 22:19
@arcade-player
Copy link
Contributor Author

@MrHassanMurtaza could you please test this branch on your side and confirm that the image created is good for M1?

It would be very valuable for us.

If you have gh installed, just do:

gh pr checkout 456
mvn clean install -Pdocker  -DskipTests

then

docker run --rm  -p 2480:2480 -p 2424:2424 -p 6379:6379 -p 5432:5432 \
           --env arcadedb.server.rootPassword=playwithdata \
           --env arcadedb.server.defaultDatabases="Imported[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz}" \
           --env arcadedb.server.plugins="Redis:com.arcadedb.redis.RedisProtocolPlugin, MongoDB:com.arcadedb.mongo.MongoDBProtocolPlugin, Postgres:com.arcadedb.postgres.PostgresProtocolPlugin" \
            arcadedata/arcadedb:latest

We are still facing problem activating the Gremlin plugin

@vaidotasstankus
Copy link

vaidotasstankus commented Aug 11, 2022

@arcade-player it builds successfully:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ArcadeDB 22.6.2-SNAPSHOT:
[INFO]
[INFO] ArcadeDB ........................................... SUCCESS [ 0.351 s]
[INFO] arcadedb-engine .................................... SUCCESS [ 4.783 s]
[INFO] arcadedb-network ................................... SUCCESS [ 0.126 s]
[INFO] arcadedb-integration ............................... SUCCESS [ 0.252 s]
[INFO] arcadedb-server .................................... SUCCESS [ 2.828 s]
[INFO] arcadedb-console ................................... SUCCESS [ 0.123 s]
[INFO] arcadedb-gremlin ................................... SUCCESS [ 3.968 s]
[INFO] arcadedb-graphql ................................... SUCCESS [ 0.279 s]
[INFO] arcadedb-mongodbw .................................. SUCCESS [ 0.334 s]
[INFO] arcadedb-redisw .................................... SUCCESS [ 0.111 s]
[INFO] arcadedb-postgresw ................................. SUCCESS [ 1.294 s]
[INFO] arcadedb-coverage .................................. SUCCESS [ 0.008 s]
[INFO] arcadedb-package ................................... SUCCESS [ 16.991 s]
[INFO] arcadedb-e2e ....................................... SUCCESS [ 0.156 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.681 s
[INFO] Finished at: 2022-08-10T18:18:09+03:00
[INFO] ------------------------------------------------------------------------

but hangs during startup:

❯ docker run --rm -p 2480:2480 -p 2424:2424 -p 6379:6379 -p 5432:5432
--env arcadedb.server.rootPassword=playwithdata
--env arcadedb.server.defaultDatabases="Imported[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz}"
--env arcadedb.server.plugins="Redis:com.arcadedb.redis.RedisProtocolPlugin, MongoDB:com.arcadedb.mongo.MongoDBProtocolPlugin, Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
arcadedata/arcadedb:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

█████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ ██████╗
██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗
███████║██████╔╝██║ ███████║██║ ██║█████╗ ██║ ██║██████╔╝
██╔══██║██╔══██╗██║ ██╔══██║██║ ██║██╔══╝ ██║ ██║██╔══██╗
██║ ██║██║ ██║╚██████╗██║ ██║██████╔╝███████╗██████╔╝██████╔╝
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═════╝ ╚═════╝
PLAY WITH DATA arcadedb.com
Can't load log handler "java.util.logging.FileHandler"
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:512)
at java.logging/java.util.logging.FileHandler.(FileHandler.java:279)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:41)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:36)
at com.arcadedb.log.LogManager.(LogManager.java:31)
at com.arcadedb.log.LogManager.(LogManager.java:29)
at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:98)
at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)
Can't load log handler "java.util.logging.FileHandler"
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:512)
at java.logging/java.util.logging.FileHandler.(FileHandler.java:279)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:41)
at com.arcadedb.log.LogManager.(LogManager.java:31)
at com.arcadedb.log.LogManager.(LogManager.java:29)
at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:98)
at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)

2022-08-10 15:19:47.513 INFO [ArcadeDBServer] <ArcadeDB_0> ArcadeDB Server v22.6.2-SNAPSHOT (build a3572a4d0a677dfb988e741514351a40914ef0db/1660144658987/feature-412/multiplatform_docker_image) is starting up...
2022-08-10 15:19:47.521 INFO [ArcadeDBServer] <ArcadeDB_0> Starting ArcadeDB Server with plugins [Redis, MongoDB, Postgres] ...
2022-08-10 15:19:47.615 INFO [ArcadeDBServer] <ArcadeDB_0> - JMX Metrics Started...
2022-08-10 15:19:47.896 INFO [ServerSecurity] <ArcadeDB_0> Creating root user with the provided password
2022-08-10 15:19:48.778 INFO [ArcadeDBServer] <ArcadeDB_0> Creating default database 'Imported'...
2022-08-10 15:19:49.503 INFO [SourceDiscovery] <ArcadeDB_0> Analyzing url: https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz...

waited for ~15h before killing it. Can be that I run into CPU issue:

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
54b2ab8a3185 dazzling_khorana 101.05% 357.5MiB / 9.703GiB 3.60% 13.3kB / 3.05kB 0B / 1.88MB 30

resources allocated:
image

mac:
image

later will try with more CPU allocated.

@lvca
Copy link
Contributor

lvca commented Aug 11, 2022

To me seems there is something wrong with the setup of the directory. The log folder is missing?

@lvca lvca added the bug Something isn't working label Aug 11, 2022
@vaidotasstankus
Copy link

I had increased CPUs to 8 (from 4), had made a restart of Docker Desktop and had managed to pass the step where was getting stuck. CPU utilization is still ~100%, but maybe that is normal. Currently am waiting on Creation of edges started: creating edges between vertices. If I manage to pass this step, then will try to reduce amount of CPUs back to 4, restart DD and try once again. DD is prone to get into problematic states. Want to be sure that it was not DD causing trouble.

Regarding logs. I still receive those exceptions. Logs folder within container seems to be present (it is empty):
image

@vaidotasstankus
Copy link

vaidotasstankus commented Aug 12, 2022

It didn't go past the point I was waiting on while writing the previous comment. Had to delete container to stop it. The last lines I saw:

Creation of records started: creating vertices and documents records (edges on the next phase)

  • Creation of records completed: created 7,467 vertices and 0 documents, skipped 14,908 edges (1,866 records/sec elapsed=4 secs)
  • Status update: parsed 7,484 (1,871/sec) - 0 documents (0/sec) - 7,467 vertices (1,866/sec) - 0 edges (0/sec) - 14,908 skipped edges - 0 linked edges (0/sec - 0%)
    Creation of edges started: creating edges between vertices

Without changing anything decided to try one more run and had managed to get to the point where studio had started 🤷:

docker run --rm -p 2480:2480 -p 2424:2424 -p 6379:6379 -p 5432:5432
--env arcadedb.server.rootPassword=playwithdata
--env arcadedb.server.defaultDatabases="Imported[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz}"
--env arcadedb.server.plugins="Redis:com.arcadedb.redis.RedisProtocolPlugin, MongoDB:com.arcadedb.mongo.MongoDBProtocolPlugin, Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
arcadedata/arcadedb:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

█████╗ ██████╗ ██████╗ █████╗ ██████╗ ███████╗██████╗ ██████╗
██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔══██╗
███████║██████╔╝██║ ███████║██║ ██║█████╗ ██║ ██║██████╔╝
██╔══██║██╔══██╗██║ ██╔══██║██║ ██║██╔══╝ ██║ ██║██╔══██╗
██║ ██║██║ ██║╚██████╗██║ ██║██████╔╝███████╗██████╔╝██████╔╝
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═════╝ ╚═════╝
PLAY WITH DATA arcadedb.com
Can't load log handler "java.util.logging.FileHandler"
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:512)
at java.logging/java.util.logging.FileHandler.(FileHandler.java:279)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:41)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:36)
at com.arcadedb.log.LogManager.(LogManager.java:31)
at com.arcadedb.log.LogManager.(LogManager.java:29)
at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:98)
at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)
Can't load log handler "java.util.logging.FileHandler"
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
java.nio.file.NoSuchFileException: log/arcadedb.log.0.lck
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:182)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:292)
at java.base/java.nio.channels.FileChannel.open(FileChannel.java:345)
at java.logging/java.util.logging.FileHandler.openFiles(FileHandler.java:512)
at java.logging/java.util.logging.FileHandler.(FileHandler.java:279)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1000)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:970)
at java.logging/java.util.logging.LogManager$4.run(LogManager.java:966)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:966)
at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2417)
at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2511)
at java.logging/java.util.logging.Logger.getHandlers(Logger.java:2089)
at com.arcadedb.log.DefaultLogger.installCustomFormatter(DefaultLogger.java:79)
at com.arcadedb.log.DefaultLogger.(DefaultLogger.java:41)
at com.arcadedb.log.LogManager.(LogManager.java:31)
at com.arcadedb.log.LogManager.(LogManager.java:29)
at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:98)
at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)

2022-08-12 15:26:26.672 INFO [ArcadeDBServer] <ArcadeDB_0> ArcadeDB Server v22.6.2-SNAPSHOT (build a3572a4d0a677dfb988e741514351a40914ef0db/1660144658987/feature-412/multiplatform_docker_image) is starting up...
2022-08-12 15:26:26.677 INFO [ArcadeDBServer] <ArcadeDB_0> Starting ArcadeDB Server with plugins [Redis, MongoDB, Postgres] ...
2022-08-12 15:26:26.761 INFO [ArcadeDBServer] <ArcadeDB_0> - JMX Metrics Started...
2022-08-12 15:26:27.010 INFO [ServerSecurity] <ArcadeDB_0> Creating root user with the provided password
2022-08-12 15:26:27.864 INFO [ArcadeDBServer] <ArcadeDB_0> Creating default database 'Imported'...
2022-08-12 15:26:28.584 INFO [SourceDiscovery] <ArcadeDB_0> Analyzing url: https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz...
2022-08-12 15:26:32.474 INFO [SourceDiscovery] <ArcadeDB_0> Recognized format OrientDB (parsingLimitBytes=9.54MB parsingLimitEntries=0)
2022-08-12 15:26:32.476 INFO [Importer] <ArcadeDB_0> Checking schema...Importing OrientDB database from stream to '../databases/Imported'
Creation of the schema: types, properties and indexes

  • 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%)
  • Created type 'V' with the following properties {}
  • Created type 'Beer' with the following properties {id=INTEGER}
  • Created type 'Brewery' with the following properties {id=INTEGER}
  • Created type 'Category' with the following properties {id=INTEGER}
  • Created type 'E' with the following properties {}
  • Created type 'HasBrewery' with the following properties {}
  • Created type 'HasCategory' with the following properties {}
  • Created type 'HasStyle' with the following properties {}
  • Created type 'Style' with the following properties {id=INTEGER}
  • Created index UNIQUE on Beer[id]
  • Created index UNIQUE on Brewery[id]
  • Created index UNIQUE on Style[id]
  • Created index UNIQUE on Category[id]
    Creation of records started: creating vertices and documents records (edges on the next phase)
  • Creation of records completed: created 7,467 vertices and 0 documents, skipped 14,908 edges (1,866 records/sec elapsed=4 secs)
    Creation of edges started: creating edges between vertices
  • Status update: parsed 7,484 (1,496/sec) - 0 documents (0/sec) - 7,467 vertices (1,493/sec) - 0 edges (0/sec) - 14,908 skipped edges - 0 linked edges (0/sec - 0%)
  • Creation of edges completed: created 14,908 edges {HasStyle=4433, HasBrewery=5901, HasCategory=4574} (1,656 edges/sec elapsed=9 secs)
    Dropping empty 'V' base vertex type (in OrientDB all the vertices have their own class
    Dropping empty 'E' base edge type (in OrientDB all the edges have their own class

Import of OrientDB database completed in 9 secs with 0 errors and 0 warnings.

SUMMARY

  • Records..................................: 7,484
    -- Beer : 5,901
    -- Brewery : 1,414
    -- Category : 11
    -- E : 0
    -- HasBrewery : 5,901
    -- HasCategory : 4,574
    -- HasStyle : 4,433
    -- OFunction : 0 (excluded)
    -- OIdentity : 0 (excluded)
    -- ORestricted : 0 (excluded)
    -- ORole : 3 (excluded)
    -- OSchedule : 0 (excluded)
    -- OSecurityPolicy : 4 (excluded)
    -- OSequence : 0 (excluded)
    -- OTriggered : 0 (excluded)
    -- OUser : 3 (excluded)
    -- Style : 141
    -- V : 0
    -- _studio : 7 (excluded)
  • Total attributes.........................: 513,424

NOTES:

  • users stored in OUser class will not be imported because ArcadeDB has users only at server level. If you want to import such users into ArcadeDB server configuration, please run the importer with the option -s
  • you can find your new ArcadeDB database in '../databases/Imported'
  • Status update: parsed 0 (-1,871/sec) - 0 documents (0/sec) - 7,467 vertices (0/sec) - 14,908 edges (3,727/sec) - 0 skipped edges - 0 linked edges (0/sec - 0%)

2022-08-12 15:26:42.832 INFO [RedisNetworkListener] <ArcadeDB_0> Listening for incoming connections on 0.0.0.0:6379 (protocol v.-1)
2022-08-12 15:26:42.837 INFO [ArcadeDBServer] <ArcadeDB_0> - Redis plugin started[main] INFO de.bwaldvogel.mongo.MongoServer - started MongoServer(port: 27017, ssl: false)

2022-08-12 15:26:43.541 INFO [ArcadeDBServer] <ArcadeDB_0> - MongoDB plugin started
2022-08-12 15:26:43.561 INFO [PostgresNetworkListener] <ArcadeDB_0> Listening for incoming connections on 0.0.0.0:5432 (protocol v.-1)
2022-08-12 15:26:43.563 INFO [ArcadeDBServer] <ArcadeDB_0> - Postgres plugin started
2022-08-12 15:26:43.564 INFO [HttpServer] <ArcadeDB_0> - Starting HTTP Server (host=0.0.0.0 port=2480-2489)...
2022-08-12 15:26:43.747 INFO [undertow] starting server: Undertow - 2.2.18.Final
2022-08-12 15:26:43.783 INFO [xnio] XNIO version 3.8.7.Final
2022-08-12 15:26:43.826 INFO [nio] XNIO NIO Implementation Version 3.8.7.Final
2022-08-12 15:26:43.936 INFO [threads] JBoss Threads version 3.1.0.Final
2022-08-12 15:26:44.100 INFO [HttpServer] <ArcadeDB_0> - HTTP Server started (host=0.0.0.0 port=2480)
2022-08-12 15:26:44.103 INFO [ArcadeDBServer] <ArcadeDB_0> Available query languages: [mongo, gremlin, cypher, graphql, sql]
2022-08-12 15:26:44.104 INFO [ArcadeDBServer] <ArcadeDB_0> ArcadeDB Server started (CPUs=8 MAXRAM=2.00GB)
2022-08-12 15:26:44.104 INFO [ArcadeDBServer] <ArcadeDB_0> Studio web tool available at http://localhost:2480

Not sure what does this necessity to run several times to get through mean. Say if you need some additional info. Now, when studio is running, CPU usage is below 1%.

@arcade-player arcade-player force-pushed the feature-412/multiplatform_docker_image branch 2 times, most recently from a92ea35 to e6edefd Compare August 19, 2022 08:46
@arcade-player
Copy link
Contributor Author

Another update on this PR. I moved to temurin as base image, but --env stopped to work. So, to pass properties, the new way is:

docker run --rm  -p 2480:2480 -p 2424:2424 -p 6379:6379 -p 5432:5432 -p 8182:8182 \
           --env JAVA_OPTS="-Darcadedb.server.rootPassword=playwithdata \
                      -Darcadedb.server.defaultDatabases=OpenBeer[root]{import:https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/OpenBeer.gz} \
                      -Darcadedb.server.plugins=Redis:com.arcadedb.redis.RedisProtocolPlugin,MongoDB:com.arcadedb.mongo.MongoDBProtocolPlugin,Postgres:com.arcadedb.postgres.PostgresProtocolPlugin,GremlinServer:com.arcadedb.server.gremlin.GremlinServerPlugin "  \
         arcadedata/arcadedb:latest

The startup time, on my machine, is really fast.

@arcade-player arcade-player force-pushed the feature-412/multiplatform_docker_image branch from 62f6755 to e63cb3a Compare September 3, 2022 15:24
- move to zulu-openjdk ad base image
- move to kubernetes-maven-plugin to build the Docker image
fix paths for log and gremlin
@arcade-player arcade-player force-pushed the feature-412/multiplatform_docker_image branch from 50c7e13 to 521304e Compare September 3, 2022 16:26
@arcade-player arcade-player requested a review from lvca September 3, 2022 21:13
@mergify mergify bot merged commit e61bb61 into main Sep 3, 2022
@lvca lvca added this to the 22.9.1 milestone Sep 3, 2022
@lvca lvca deleted the feature-412/multiplatform_docker_image branch June 20, 2025 00:12
mergify bot added a commit that referenced this pull request Aug 29, 2025
…o 5.18.3 in /studio [skip ci]

Bumps [enhanced-resolve](https://github.com/webpack/enhanced-resolve) from 5.18.1 to 5.18.3.
Release notes

*Sourced from [enhanced-resolve's releases](https://github.com/webpack/enhanced-resolve/releases).*

> v5.18.3
> -------
>
> ### Fixes
>
> * Fixed nonsensible intersection in types
>
> ### Performance
>
> * Decreased initial loading time
>
> v5.18.2
> -------
>
> ### Fixes
>
> * [Types] FileSystem type


Commits

* [`52b61d0`](webpack/enhanced-resolve@52b61d0) chore(release): 5.18.3
* [`ec38ca9`](webpack/enhanced-resolve@ec38ca9) perf: decrease initial loading time ([#458](https://github.com/webpack/enhanced-resolve/issues/458))
* [`5f74295`](webpack/enhanced-resolve@5f74295) refactor: update eslint config ([#457](https://github.com/webpack/enhanced-resolve/issues/457))
* [`86ff212`](webpack/enhanced-resolve@86ff212) fix(types): fix nonsensible intersection
* [`367d0f6`](webpack/enhanced-resolve@367d0f6) chore(deps): bump form-data from 3.0.3 to 3.0.4 ([#455](https://github.com/webpack/enhanced-resolve/issues/455))
* [`0bf4503`](webpack/enhanced-resolve@0bf4503) chore(release): 5.18.2
* [`b244176`](webpack/enhanced-resolve@b244176) fix: types
* [`775f2fb`](webpack/enhanced-resolve@775f2fb) chore: migrate to eslint-config-webpack ([#453](https://github.com/webpack/enhanced-resolve/issues/453))
* [`6df312e`](webpack/enhanced-resolve@6df312e) chore: fix tsconfig ([#452](https://github.com/webpack/enhanced-resolve/issues/452))
* [`b059bff`](webpack/enhanced-resolve@b059bff) ci: show report
* Additional commits viewable in [compare view](webpack/enhanced-resolve@v5.18.1...v5.18.3)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=enhanced-resolve&package-manager=npm\_and\_yarn&previous-version=5.18.1&new-version=5.18.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
mergify bot added a commit that referenced this pull request Dec 21, 2025
…kip ci]

Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.11.1 to 3.12.0.
Release notes

*Sourced from [docker/setup-buildx-action's releases](https://github.com/docker/setup-buildx-action/releases).*

> v3.12.0
> -------
>
> * Deprecate `install` input by [`@​crazy-max`](https://github.com/crazy-max) in [docker/setup-buildx-action#455](https://github.com/docker/setup-buildx-action/pull/455)
> * Bump `@​docker/actions-toolkit` from 0.62.1 to 0.63.0 in [docker/setup-buildx-action#434](https://github.com/docker/setup-buildx-action/pull/434)
> * Bump brace-expansion from 1.1.11 to 1.1.12 in [docker/setup-buildx-action#436](https://github.com/docker/setup-buildx-action/pull/436)
> * Bump form-data from 2.5.1 to 2.5.5 in [docker/setup-buildx-action#432](https://github.com/docker/setup-buildx-action/pull/432)
> * Bump undici from 5.28.4 to 5.29.0 in [docker/setup-buildx-action#435](https://github.com/docker/setup-buildx-action/pull/435)
>
> **Full Changelog**: <docker/setup-buildx-action@v3.11.1...v3.12.0>


Commits

* [`8d2750c`](docker/setup-buildx-action@8d2750c) Merge pull request [#455](https://github.com/docker/setup-buildx-action/issues/455) from crazy-max/install-deprecated
* [`e81846b`](docker/setup-buildx-action@e81846b) deprecate install input
* [`65d18f8`](docker/setup-buildx-action@65d18f8) Merge pull request [#454](https://github.com/docker/setup-buildx-action/issues/454) from docker/dependabot/github\_actions/actions/checkout-6
* [`000d75d`](docker/setup-buildx-action@000d75d) build(deps): bump actions/checkout from 5 to 6
* [`1583c0f`](docker/setup-buildx-action@1583c0f) Merge pull request [#443](https://github.com/docker/setup-buildx-action/issues/443) from nicolasleger/patch-1
* [`ed158e7`](docker/setup-buildx-action@ed158e7) doc: bump actions/checkout from 4 to 5
* [`4cc794f`](docker/setup-buildx-action@4cc794f) Merge pull request [#441](https://github.com/docker/setup-buildx-action/issues/441) from docker/dependabot/github\_actions/actions/checkout-5
* [`4dfc3d6`](docker/setup-buildx-action@4dfc3d6) build(deps): bump actions/checkout from 4 to 5
* [`af1b253`](docker/setup-buildx-action@af1b253) Merge pull request [#440](https://github.com/docker/setup-buildx-action/issues/440) from crazy-max/k3s-build
* [`3c6ab92`](docker/setup-buildx-action@3c6ab92) ci: k3s test with latest buildx
* Additional commits viewable in [compare view](docker/setup-buildx-action@e468171...8d2750c)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=docker/setup-buildx-action&package-manager=github\_actions&previous-version=3.11.1&new-version=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants