Skip to main content
Version: 2.4.3

Configure a Hive filesystem agent

You can configure a Hive filesystem target agent to migrate your metadata to a specified target filesystem location. Use this to migrate metadata to a loading location to be read or manipulated ahead of its final destination.

note

Hive filesystem target agents are currently only available using the CLI.

Prerequisites

  • A target filesystem configured in Data Migrator.

Configure a Hive filesystem target agent with the CLI

To create a Hive filesystem target agent, run the hive agent add filesystem command in the Data Migrator CLI.

hive agent add filesystem

Add a filesystem Hive agent to migrate your metadata to a specified target filesystem location using the hive agent add filesystem command.

Add filesystem agent
hive agent add filesystem [--file-system-id] string
[--root-folder] string
[--name] string
  • --file-system-id The filesystem ID to be used.
  • --root-folder The path to use as the root directory for the filesystem agent.
  • --name The ID to give to the new Hive agent.
Example
hive agent add filesystem --file-system-id myfilesystem --root-folder /var/lib/mysql --name fsAgent

Hive filesystem commands

CommandAction
hive agent add filesystemAdd a Hive agent for a local filesystem
hive agent configure filesystemChange the configuration of an existing Hive agent for the local filesystem
hive agent checkCheck whether the Hive agent can connect to the Metastore
hive agent deleteDelete a Hive agent
hive agent listList all configured Hive agents
hive agent showShow the configuration for a Hive agent
hive agent typesList supported Hive agent types