---------tidb-lightning.log日志
[2020/03/30 16:39:17.739 +08:00] [WARN] [config.go:339] [“currently only per-task configuration can be applied, global configuration changes can only be made on startup”] [“global config changes”="[lightning.status-addr,lightning.server-mode,lightning.level,lightning.file,lightning.max-size,lightning.max-days,lightning.max-backups,tidb.log-level]"]
[2020/03/30 16:39:17.740 +08:00] [INFO] [version.go:48] [“Welcome to lightning”] [“Release Version”=v3.0.12] [“Git Commit Hash”=093ce9fef81f6c2f77880efc8bfce37f3105fc27] [“Git Branch”=HEAD] [“UTC Build Time”=“2020-03-16 12:36:11”] [“Go Version”=“go version go1.13 linux/amd64”]
[2020/03/30 16:39:17.740 +08:00] [INFO] [lightning.go:173] [cfg] [cfg="{“id”:1585557557740637264,“lightning”:{“table-concurrency”:6,“index-concurrency”:2,“region-concurrency”:56,“io-concurrency”:5,“check-requirements”:true},“tidb”:{“host”:“ip1”,“port”:4000,“user”:“root”,“status-port”:10080,“pd-addr”:“ip:2379”,“sql-mode”:“ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”,“tls”:“false”,“security”:{“ca-path”:"",“cert-path”:"",“key-path”:""},“max-allowed-packet”:67108864,“distsql-scan-concurrency”:100,“build-stats-concurrency”:20,“index-serial-scan-concurrency”:20,“checksum-table-concurrency”:16},“checkpoint”:{“enable”:true,“schema”:“tidb_lightning_checkpoint”,“driver”:“file”,“keep-after-success”:false},“mydumper”:{“read-block-size”:65536,“batch-size”:107374182400,“batch-import-ratio”:0.75,“data-source-dir”:"/opt/data",“no-schema”:true,“character-set”:“auto”,“csv”:{“separator”:"|",“delimiter”:"\"",“header”:true,“trim-last-separator”:false,“not-null”:false,“null”:"\\N",“backslash-escape”:true},“case-sensitive”:false},“black-white-list”:{“do-tables”:null,“do-dbs”:null,“ignore-tables”:null,“ignore-dbs”:[“mysql”,“information_schema”,“performance_schema”,“sys”]},“tikv-importer”:{“addr”:"",“backend”:“importer”,“on-duplicate”:“replace”},“post-restore”:{“level-1-compact”:false,“compact”:false,“checksum”:true,“analyze”:true},“cron”:{“switch-mode”:“5m0s”,“log-progress”:“5m0s”},“routes”:null,“security”:{“ca-path”:"",“cert-path”:"",“key-path”:""}}"]
[2020/03/30 16:39:17.741 +08:00] [INFO] [lightning.go:202] [“load data source start”]
[2020/03/30 16:39:17.741 +08:00] [INFO] [lightning.go:205] [“load data source completed”] [takeTime=208.699碌s] []
[2020/03/30 16:39:17.747 +08:00] [INFO] [restore.go:262] [“the whole procedure start”]
[2020/03/30 16:39:17.788 +08:00] [INFO] [restore.go:564] [“restore all tables data start”]
[2020/03/30 16:39:17.788 +08:00] [ERROR] [restore.go:277] [“run failed”] [step=2] [error=“table info run1_his.logasset not found”]
[2020/03/30 16:39:17.788 +08:00] [ERROR] [restore.go:283] [“the whole procedure failed”] [takeTime=40.486459ms] [error=“table info run1_his.logasset not found”]
[2020/03/30 16:39:17.788 +08:00] [ERROR] [main.go:59] [“tidb lightning encountered error”] [error=“table info run1_his.logasset not found”] [errorVerbose=“table info run1_his.logasset not found\ngithub.com/pingcap/tidb-lightning/lightning/restore.(*RestoreController).restoreTables\
\t/home/jenkins/agent/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb-lightning/lightning/restore/restore.go:607\ngithub.com/pingcap/tidb-lightning/lightning/restore.(*RestoreController).Run\
\t/home/jenkins/agent/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb-lightning/lightning/restore/restore.go:267\ngithub.com/pingcap/tidb-lightning/lightning.(*Lightning).run\
\t/home/jenkins/agent/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb-lightning/lightning/lightning.go:221\ngithub.com/pingcap/tidb-lightning/lightning.(*Lightning).RunOnce\
\t/home/jenkins/agent/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb-lightning/lightning/lightning.go:146\
main.main\
\t/home/jenkins/agent/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb-lightning/cmd/tidb-lightning/main.go:56\
runtime.main\
\t/usr/local/go/src/runtime/proc.go:203\
runtime.goexit\
\t/usr/local/go/src/runtime/asm_amd64.s:1357”]
--------导入的语句
./tidb-lightning -config tidb-lightning.toml
Error: table info run1_his.logasset not found
-----------是在一个schema ,都是run1_his