Copy Raw Data

How to migrate Schema Registry from HDF to CDP Private Cloud Base by copying raw data.

  1. Stop existing Schema Registry clients.
  2. Stop the HDF Schema Registry server.
  3. Backup/restore the Schema Registry database from old database to new database:
    • MySQL - See the MySQL Backup and Recovery MySQL document.
    • PostgreSQL - See Chapter 24. Backup and Restore in the PostgresSQL documentation.
  4. Copy all serdes from the HDF Schema Registry serdes jar location (local/HDFS) to the CDP Schema Registry serdes jar location (local/HDFS)
  5. Configure CDP Schema Registry to connect to the new database:
    1. In Cloudera Manager select the Schema Registry service.
    2. Go to Configuration.
    3. Find and configure the following database related properties:
      • Schema Registry Database Type
      • Schema Registry Database Name
      • Schema Registry Database Host
      • Schema Registry Database Port
      • Schema Registry Database User
      • Schema Registry Database User Password
    4. Click Save Changes.
  6. Start the CDP Schema Registry Server.
  7. Reconfigure Schema Registry clients to point to the CDP Schema Registry Server.
  8. Restart Schema Registry clients.
Schema Registry is migrated. The HDF Schema Registry is no longer required.
Migrate Streams Messaging Manager.