Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: schema file missing - required for offline mode #20

Closed
lxd235 opened this issue Feb 25, 2021 · 1 comment
Closed

ERROR: schema file missing - required for offline mode #20

lxd235 opened this issue Feb 25, 2021 · 1 comment

Comments

@lxd235
Copy link

lxd235 commented Feb 25, 2021

when i run batch mode. found title saied error.
here is my json config:

{
  "version": "0.8.1",
  "sources": [
    {
      "alias": "S1",
      "name": "O112A",
      "reader": {
        "type": "batch",
        "redo-logs": [
          "/home/build/oracle-ha/OpenLogReplicator/archivedlog",
          "/home/build/oracle-ha/OpenLogReplicator/redolog"
        ],
        "log-archive-format": ""
      },
      "format": {
        "type": "json"
      },
      "memory-min-mb": 64,
      "memory-max-mb": 1024,
      "tables": [
        {
          "table": "sys.zbbtest"
        }
      ]
    }
  ],
  "targets": [
    {
      "alias": "K1",
      "source": "S1",
      "writer": {
        "type": "file",
        "name": "transactions.json"
      }
    }
  ]
}

here is raw error:

[build@build197 OpenLogReplicator]$ ./src/OpenLogReplicator 
OpenLogReplicator v.0.8.1 (C) 2018-2021 by Adam Leszczynski (aleszczynski@bersler.com), see LICENSE file for licensing information
Adding source: S1
Adding target: K1
INFO: Writer is starting: File:transactions.json
INFO: Oracle Analyzer for O112A in batch mode is starting (flags: 1) from NOW
INFO: last confirmed SCN: <none>
INFO: missing schema for O112A
ERROR: schema file missing - required for offline mode
INFO: Oracle analyzer for: O112A is shutting down
INFO: Oracle analyzer for: O112A is shut down, allocated at most 64MB memory, max disk read buffer: 0MB
INFO: Writer is stopping: File:transactions.json, max queue size: 0

and how create xxx.scheam.json, and content is ?

@bersler
Copy link
Owner

bersler commented Feb 25, 2021

At this moment the only solution is to switch to online mode, generate the file and then back to offline.
But in few weeks (months?) this will change, as this is a subject to massive rewrite. Till version GA arrives.

@bersler bersler closed this as completed Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants