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-idThe filesystem ID to be used.
- --root-folderThe path to use as the root directory for the filesystem agent.
- --nameThe 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
| Command | Action | 
|---|---|
| hive agent add filesystem | Add a Hive agent for a local filesystem | 
| hive agent configure filesystem | Change the configuration of an existing Hive agent for the local filesystem | 
| hive agent check | Check whether the Hive agent can connect to the Metastore | 
| hive agent delete | Delete a Hive agent | 
| hive agent list | List all configured Hive agents | 
| hive agent show | Show the configuration for a Hive agent | 
| hive agent types | List supported Hive agent types |