openzipkin-attic / docker-zipkin

Docker images for OpenZipkin
Apache License 2.0
687 stars 329 forks source link

openzipkin/zipkin-mysql image can not use -v perameter to persistent data #220

Closed jinfanx closed 5 years ago

jinfanx commented 5 years ago

the error log is

2019-08-05 17:34:17 0 [Note] InnoDB: Using Linux native AIO
2019-08-05 17:34:17 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-08-05 17:34:17 0 [Note] InnoDB: Uses event mutexes
2019-08-05 17:34:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-08-05 17:34:17 0 [Note] InnoDB: Number of pools: 1
2019-08-05 17:34:17 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-08-05 17:34:17 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-08-05 17:34:17 0 [Note] InnoDB: Completed initialization of buffer pool
2019-08-05 17:34:17 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2019-08-05 17:34:17 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1630815
2019-08-05 17:34:17 0 [ERROR] InnoDB: Tablespace 5 was not found at ./zipkin/zipkin_spans.ibd.
2019-08-05 17:34:17 0 [ERROR] InnoDB: Set innodb_force_recovery=1 to ignore this and to permanently lose all changes to the tablespace.
2019-08-05 17:34:17 0 [ERROR] InnoDB: Tablespace 6 was not found at ./zipkin/zipkin_annotations.ibd.
2019-08-05 17:34:17 0 [ERROR] InnoDB: Tablespace 7 was not found at ./zipkin/zipkin_dependencies.ibd.
2019-08-05 17:34:17 0 [ERROR] InnoDB: Plugin initialization aborted with error Tablespace not found
2019-08-05 17:34:18 0 [Note] InnoDB: Starting shutdown...
2019-08-05 17:34:18 0 [ERROR] Plugin 'InnoDB' init function returned error.
2019-08-05 17:34:18 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2019-08-05 17:34:18 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-08-05 17:34:18 0 [ERROR] Unknown/unsupported storage engine: InnoDB
2019-08-05 17:34:18 0 [ERROR] Aborting
devinsba commented 5 years ago

This image is not intended for use outside of zipkin tests, you will want to use another MySQL image for running zipkin. Please note, mysql is not recommended for production use

jinfanx commented 5 years ago

ok,thank you