This documentation is for an unreleased version of Apache Paimon. We recommend you use the latest stable version.
You don’t need any additional dependencies to access HDFS because you have already taken care of the Hadoop dependencies.
HDFS Configuration #
For HDFS, the most important thing is to be able to read your HDFS configuration.
You may not have to do anything, if you are in a hadoop environment. Otherwise pick one of the following ways to configure your HDFS:
- Set environment variable
'hadoop-conf-dir'in the paimon catalog.
- Configure Hadoop options through prefix
'hadoop.'in the paimon catalog.
The first approach is recommended.
If you do not want to include the value of the environment variable, you can configure
Hadoop-compatible file systems (HCFS) #
All Hadoop file systems are automatically available when the Hadoop libraries are on the classpath.
This way, Paimon seamlessly supports all of Hadoop file systems implementing the
interface, and all Hadoop-compatible file systems (HCFS).
- Alluxio (see configuration specifics below)
The Hadoop configuration has to have an entry for the required file system implementation in the
For Alluxio support add the following entry into the core-site.xml file:
Configure the following three options in your catalog configuration:
- security.kerberos.login.keytab: Absolute path to a Kerberos keytab file that contains the user credentials. Please make sure it is copied to each machine.
- security.kerberos.login.principal: Kerberos principal name associated with the keytab.
- security.kerberos.login.use-ticket-cache: True or false, indicates whether to read from your Kerberos ticket cache.
HDFS HA #
core-site.xml contain the necessary HA configuration.
HDFS ViewFS #
core-site.xml contain the necessary ViewFs configuration.