Verifying HDFS configuration
Use the EXTERNAL_CONFIG_CHECK function to test access to HDFS. This function calls several others. If you prefer to test individual components, or if some tests do not apply to your configuration, you can instead call the functions individually. For example, if you are not using the HCatalog Connector then you do not need to call that function. The functions are:
-
KERBEROS_CONFIG_CHECK: tests the Vertica keytab and the user's Kerberos credential.
-
HADOOP_IMPERSONATION_CONFIG_CHECK: shows the delegation tokens that are in use. This function does not test them.
-
HDFS_CLUSTER_CONFIG_CHECK: tests access to the HDFS clusters found in HadoopConfDir, including using Kerberos and impersonation (delegation tokens).
-
HCATALOGCONNECTOR_CONFIG_CHECK: tests HCatalog Connector access to HiveServer2.
To run all tests, call EXTERNAL_CONFIG_CHECK
with no arguments:
=> SELECT EXTERNAL_CONFIG_CHECK();
To test only some authorities, nameservices, or Hive schemas, pass a single string argument. The format is a comma-separated list of "key=value" pairs, where keys are "authority", "nameservice", and "schema". The value is passed to all of the sub-functions; see those reference pages for details on how values are interpreted.
The following example tests the configuration of only the nameservice named "ns1":
=> SELECT EXTERNAL_CONFIG_CHECK('nameservice=ns1');