Reuse Existing Storage

How to migrate Schema Registry from HDF to CDP Private Cloud Base by reusing existing storage.

Make sure that the existing database is compatible with and supported by CDP Private Cloud Base. For more information, see Database Requirements in the CDP Release Guide.

  1. Stop existing Schema Registry clients.
  2. Stop the HDF Schema Registry Server.
  3. Configure CDP Schema Registry to connect to the database previously owned by HDF Schema Registry:
    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. Configure the CDP Schema Registry serdes jar location to point to the location used by the old HDF Schema Registry:
    1. In Cloudera Manager select the Schema Registry service.
    2. Go to Configuration.
    3. Find and configure the following properties:
      • Schema Registry Jar Storage Type
      • Schema Registry Jar Storage Directory Path
      • Schema Registry Jar Storage HDFS URL
    4. Click Save Changes.
  5. Start the CDP Schema Registry Server.
  6. Reconfigure Schema Registry clients to point to the CDP Schema Registry Server.
  7. Restart Schema Registry clients.

Schema Registry is migrated. The HDF Schema Registry is no longer required.

Migrate Streams Messaging Manager.