Cmdlets for HDFS

Build 21.0.7930

CacheLocation Parameter (Connect-HDFS Cmdlet)

Specifies the path to the cache when caching to a file.


Connect-HDFS -CacheLocation string

Data Type


Default Value

"%APPDATA%\\CData\\HDFS Data Provider"


The CacheLocation is a simple, file-based cache. The cmdlet uses SQLite.

If left unspecified, the default location is "%APPDATA%\\CData\\HDFS Data Provider" with %APPDATA% being set to the user's configuration directory:

Platform %APPDATA%
Windows The value of the APPDATA environment variable
Mac ~/.config
Linux ~/.config

See Also

  • AutoCache: Set to implicitly create and maintain a cache for later offline use.
  • CacheMetadata: Set to persist the HDFS catalog in CacheLocation.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930