Recalling a File to MapR Filesystem Using the CLI and REST API

You can recall individual files from a storage tier. When you recall a file, the MAST Gateway fetches a copy of the data to the cluster. Based on the expiration time setting on the volume, recalled data is automatically:

  • Offloaded again based on the storage policy (rules) if there are changes to the recalled data.
  • Purged when the compactor runs if there are no changes to the recalled data.

See Data Reads, Writes, and Recalls for more information.

Note: You can recall all data from the tier to the volume. See Recalling a Volume to MapR Filesystem for more information.

Recalling a File Using the REST API

Send a request of type POST to the URL. For example, send a request similar to the following:
curl -k -X POST 'https://abc.sj.us/rest/file/recall?name=fileName' --user mapr:mapr