Programmatic access to DSEFS
DSEFS can be accessed programmatically from an application by obtaining DSEFS’s implementation of the Apache Hadoop® FileSystem interface.
DataStax Enterprise (DSE) includes a demo project with simple applications that demonstrate how to acquire, configure, and use this implementation.
The demo project demonstrates reading, writing and connecting to a secured DSEFS using the API.
The demo is located in the /demos/dsefs directory of your DSE installation.
The default location of the demos directory depends on the type of installation:
-
Package installations:
/usr/share/dse/demosYou might need to install the demos packages, if you didn’t install them during your initial installation. For more information, see Install DataStax Enterprise (DSE) 6.8 on Debian-based systems with APT and Install DataStax Enterprise (DSE) 6.8 on RHEL-based systems with Yum.
-
Tarball installations:
INSTALL_DIRECTORY/demos
README.md files are provided with your DSE installation and in the demos directories with instructions on building and running the demo applications.