Skip to main content

Data Lakehouse FAQ

Use the error message and the stage that fails to distinguish catalog metadata problems from storage access problems. For example, successful SHOW TABLES does not establish that the warehouse can read the underlying files.

These checks apply to external data access from SaaS and BYOC warehouses. Confirm private connectivity and any required drivers, keytabs, or configuration files with VeloDB Cloud support. VeloDB Cloud support manages certificates, libraries, DNS, and restarts inside the warehouse runtime. Your data-source administrator manages the external Hive Metastore, HDFS, Kerberos, and database services.

Certificate issues​

Why does a query report curl 77 or a certificate-location error?​

The following errors indicate a problem loading the certificate authority (CA) trust configuration in the process that accesses storage:

curl 77: Problem with the SSL CA cert
error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none

A missing, unreadable, or incorrectly configured CA bundle can cause these errors. They do not necessarily mean that the remote certificate has expired.

Verify that the catalog uses the intended HTTPS endpoint. Give VeloDB Cloud support the query ID, timestamp, endpoint hostname, and error text so that they can check the managed trust configuration. If the endpoint uses a private CA, arrange certificate provisioning through VeloDB Cloud support. Keep TLS certificate verification enabled.

Kerberos​

Why does Hive Metastore access report GSS initiate failed?​

Check the client identity, service identity, and realm configuration separately:

  1. Verify the Hive Metastore service principal with the source administrator. Use the principal that matches the service hostname and realm. A supported _HOST principal template must resolve to the correct service identity.
  2. Verify the catalog's hive.metastore.authentication.type, hive.metastore.service.principal, hive.metastore.client.principal, and hive.metastore.client.keytab. The client keytab must contain the specified client principal.
  3. For HDFS access, verify hadoop.kerberos.principal and hadoop.kerberos.keytab separately. Metadata access and file access can use different credentials.
  4. Ask VeloDB Cloud support to verify that the keytab and realm configuration are provisioned in the warehouse runtime and that the warehouse can reach the KDC and resolve the service hostname.

Use the managed keytab path supplied by VeloDB Cloud support. A path on your computer is not accessible to the warehouse. See Hive Metastore authentication and multiple Kerberos realms.

Why do SHOW DATABASES and SHOW TABLES work, but querying reports a Kerberos error?​

Errors such as SIMPLE authentication is not enabled. Available:[TOKEN, KERBEROS] can occur when metadata authentication succeeds but file access uses the wrong authentication configuration.

Verify the HDFS authentication properties and the principal's permissions on the table's storage location. Ask VeloDB Cloud support to check the managed core-site.xml, hdfs-site.xml, and keytab configuration when those files are required. See HDFS authentication.

How do I investigate missing tickets or password errors?​

For GSSException: No valid credentials provided or Unable to obtain password from user, ask the source administrator to verify that the keytab contains the intended principal and that its credentials remain valid. On a secure administrator workstation, the following command lists keytab entries without printing the key material:

klist -kt <keytab-path>

Replace <keytab-path> with the local path to an authorized copy of the keytab. Do not attach keytab contents or secrets to a VeloDB Cloud support ticket.

If the source credentials are valid, ask VeloDB Cloud support to investigate the warehouse's login, ticket renewal, and Java authentication configuration. Restarting a cluster does not correct a wrong principal, missing keytab, or inaccessible KDC.

How do I resolve encryption or protection-layer errors?​

For java.security.InvalidKeyException: Illegal key size or failures after a Java upgrade, have the source administrator and VeloDB Cloud support compare the KDC encryption types with those supported by the managed runtime. Prefer supported encryption types instead of enabling weak cryptography.

For No common protection layer between client and server, compare hadoop.rpc.protection on both sides. For HDFS data-transfer handshake failures, also check dfs.data.transfer.protection. Preserve the encryption requirements of the source service.

Why does a load report Cannot locate default realm?​

The Kerberos realm configuration is missing or does not describe the required realm. Provide the affected catalog or load job, realm name, and error to VeloDB Cloud support so that they can verify the managed krb5 configuration. A warehouse user does not need to edit a Broker startup script.

Can hadoop.username replace a Kerberos identity?​

No. hadoop.username is used for simple authentication. In Kerberos mode, configure the client principal and keytab for the relevant service. Changing the simple-authentication username does not grant a Kerberos principal additional permissions.

JDBC Catalog​

How do I resolve SQL Server certificate validation failures?​

For unable to find valid certification path to requested target, verify the SQL Server certificate chain and the hostname in jdbc_url. Use encryption and certificate validation, such as encrypt=true;trustServerCertificate=false, with a certificate trusted by the managed driver runtime. If a private CA is required, ask VeloDB Cloud support to provision it.

See SQL Server JDBC Catalog. A driver version mismatch or an incomplete server certificate chain must be corrected at the source or in the managed driver configuration.

Why are MySQL characters or query conditions garbled?​

Check the MySQL column character set, collation, and connector encoding. The current connector normalizes MySQL JDBC URLs to use Unicode and UTF-8. Review any explicitly supplied URL options and verify that the source bytes use the expected encoding.

See MySQL JDBC Catalog.

What should I do about a MySQL SSL identity warning?​

For Establishing SSL connection without server's identity verification is not recommended, configure the JDBC driver to verify the source certificate and hostname. For Connector/J versions that support it, use sslMode=VERIFY_IDENTITY and provision the required CA trust. Confirm the options supported by your driver rather than relying only on useSSL=true.

Why do date values fail when reading MySQL data?​

Verify that the configured driver package and driver_class match the source MySQL version. Connector/J 8 uses com.mysql.cj.jdbc.Driver. Also check the source values and the connector's date/time mapping. See MySQL JDBC Catalog for supported mappings and driver configuration.

How do I investigate Java out-of-memory errors while reading large fields?​

JDBC scanning holds a batch of values in memory. Large fields, driver buffering, and data copies can increase Java heap usage.

Check the current setting, then try a smaller batch in the affected SQL session:

SHOW VARIABLES LIKE 'batch_size';
SET batch_size = 512;

512 is a starting point for troubleshooting, not a required setting. Rerun a representative query and compare memory use and throughput. If the error persists, provide the query ID, selected column types, approximate field sizes, and error text to VeloDB Cloud support. Managed Java heap changes require VeloDB Cloud support.

Hive Catalog​

Why does schema lookup report failed to get schema or Storage schema reading not supported?​

For Hive tables whose SerDe cannot supply a schema through the usual Hive Metastore API, retrieve the schema from the table metadata:

ALTER CATALOG <catalog-name> SET PROPERTIES (
'get_schema_from_table' = 'true'
);

Replace <catalog-name> with the affected catalog. This setting ignores column default values because they are not read from the table object. Check that tradeoff before enabling it. It also applies to affected Hive tables using org.openx.data.jsonserde.JsonSerDe.

If the problem concerns Iceberg runtime classes or a custom SerDe, ask the Hive administrator to verify the source-side libraries and schema-reader configuration. For a metastore that requires a SerDe storage schema reader, the source-side hive-site.xml setting is:

<property>
<name>metastore.storage.schema.reader.impl</name>
<value>org.apache.hadoop.hive.metastore.SerDeStorageSchemaReader</value>
</property>

The Hive administrator controls any required Hive Metastore restart. For Iceberg tables, also review the Iceberg Catalog configuration.

Why does metadata access fail in AuthorizationMetaStoreFilterHook?​

If the error contains java.lang.NullPointerException in AuthorizationMetaStoreFilterHook.getFilteredObjects, ask the Hive administrator to check the metastore authorization hook and its configuration. Provide VeloDB Cloud support with the query ID and error text to confirm the failing client path.

Changing or replacing an authorization hook can change which metadata is visible. Have the source administrator validate the intended access policy before making that change.

Why does querying report java.net.UnknownHostException after table listing succeeds?​

Metadata listing and file reads can contact different hosts. Verify the hostnames advertised by the metastore, NameNode, and DataNodes. Each must resolve and be reachable from the warehouse.

For HDFS, check fs.defaultFS and, for an HA deployment, the nameservice and failover properties. Setting fs.defaultFS alone does not repair DNS for DataNode hostnames. Coordinate private DNS and routing with VeloDB Cloud support.

How do I handle Hive-version or ORC column-name compatibility errors?​

Set hive.version to the actual source Hive version when the Hive Metastore reports Invalid method name or another protocol compatibility error. Hive version numbers describe the external service, not the VeloDB Cloud release.

For older ORC files with physical names such as _col0, compare the file schema with the Hive table schema. Review the Hive Catalog column-mapping settings before changing name-based or positional mapping.

For Could not obtain block or java.lang.NoSuchFieldError: types during ORC access, distinguish HDFS reachability from a library compatibility failure. Follow the HDFS checks below for missing blocks. Give VeloDB Cloud support the full exception and a reproducible file reference for class or field errors.

Why are Hudi partition fields missing or empty?​

Compare the Hudi writer schema with the schema exposed through Hive Metastore. The query engine derives Hudi columns from the Hudi schema. Check that the intended partition fields are represented correctly there, rather than assuming that hoodie.datasource.hive_sync.partition_fields alone defines all queryable columns.

For example, a nullable partition field can be represented in an Avro record as follows:

{
"type": "record",
"name": "record",
"fields": [
{
"name": "partition_val",
"type": ["null", "string"],
"doc": "Partition field",
"default": null
},
{
"name": "name",
"type": "string"
},
{
"name": "create_time",
"type": "string"
}
]
}

Have the source owner validate schema evolution and existing data before changing a production writer schema. See Hudi integration.

How do I resolve missing compression classes or native-library errors?​

For java.lang.ClassNotFoundException: Class com.hadoop.compression.lzo.LzoCodec not found, ask VeloDB Cloud support to check whether the warehouse runtime includes the required compression library.

For java.lang.InternalError in org.apache.hadoop.io.compress.zlib.ZlibDecompressor, give VeloDB Cloud support the query ID, file compression type, and exception. A native-library mismatch is a possible cause. VeloDB Cloud support must inspect the managed libraries and environment before selecting a fix.

What does the trustAnchors parameter must be non-empty mean?​

This Java TLS error indicates an empty or unusable trust configuration. Verify the source endpoint and certificate chain, then ask VeloDB Cloud support to inspect the managed Java trust store. Keep certificate verification enabled.

Why does a Hive insert require additional Ranger permissions?​

An insert can update Hive table or partition statistics as well as write data. For HiveAccessControlException reporting a missing UPDATE permission, ask the Hive or Ranger administrator to inspect the denied operation and grant the required table-alter or statistics-update permission to the source identity. Grant permissions on the intended database and table rather than adding broad warehouse privileges.

Why does an ORC query report Can't open /usr/share/zoneinfo/+08:00?​

Check the session time zone:

SHOW VARIABLES LIKE 'time_zone';
SET time_zone = 'Asia/Shanghai';

Use the region-based time zone that matches the intended data interpretation. Asia/Shanghai is an example, not a universal replacement for every UTC offset.

If the error persists with the intended session time zone, ask the file producer to check the ORC writer time zone. An offset-like identifier embedded in the file can require a runtime time-zone lookup. Give VeloDB Cloud support a reproducible file reference and the error. Changes to the managed time-zone database require VeloDB Cloud support.

Why is Hive metadata access consistently slow?​

If the HMS port is reachable but metadata operations repeatedly pause for a similar duration, investigate DNS resolution as well as HMS response latency. A recurring pause is evidence to investigate, not proof of one cause.

Have the source administrator check forward and reverse DNS for the metastore and the network path to it. Give VeloDB Cloud support the query IDs and timings so that they can check resolution and connections from the warehouse. Increasing a socket timeout does not fix an unreachable DNS server.

Why does the first query after an idle period hang, while later queries succeed?​

A firewall, NAT gateway, or load balancer can discard an idle connection without notifying the client. Check the network device's idle timeout and compare it with the timing of the failed query.

For a confirmed idle-connection problem, coordinate a Hive client socket lifetime shorter than that idle timeout. For example, when the network idle timeout is longer than 300 seconds, an existing catalog can use:

ALTER CATALOG <catalog-name> SET PROPERTIES (
'hive.metastore.client.socket.lifetime' = '300s'
);

Replace <catalog-name> with the affected catalog. 300s is an example, not a default. The Hive retrying client manages this lifetime. Retest after a representative idle period and ask VeloDB Cloud support to verify whether the changed property has taken effect for existing client connections.

HDFS​

How do I investigate java.lang.VerifyError?​

This can indicate an incompatible Java or Hadoop dependency. Provide the complete exception and affected source service version to VeloDB Cloud support. Historical self-managed Apache Doris upgrade instructions do not identify the required managed-runtime fix.

Can hedged reads help with slow HDFS reads?​

Hedged reads start another read after a threshold and use whichever result arrives first. They can help with slow replicas, but they also increase source requests and resource use. Confirm source capacity and measure the workload before enabling them.

For an existing Hive catalog, the following values are an example starting point:

ALTER CATALOG <catalog-name> SET PROPERTIES (
'dfs.client.hedged.read.threadpool.size' = '128',
'dfs.client.hedged.read.threshold.millis' = '500'
);

Replace <catalog-name> with the affected catalog. The thread-pool setting belongs to an HDFS client, which can be reused by multiple queries. The threshold is in milliseconds. These values are not per-query concurrency limits or a performance guarantee. See HDFS tuning.

Why does HDFS report Couldn't create proxy provider class?​

For Couldn't create proxy provider class org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider, verify the nameservice, NameNode RPC addresses, and failover-provider properties against the source HDFS configuration. Ask VeloDB Cloud support to check the configuration files and client dependencies provisioned for the warehouse.

How do I investigate No live nodes contain current block?​

Ask the HDFS administrator to check file health and DataNode logs. On an authorized source-side administration host, they can run:

hdfs fsck <hdfs-file-path> -files -blocks -locations

Replace <hdfs-file-path> with the affected file. Verify that the DataNode addresses returned for that file are reachable from the warehouse, not just from the administration host.

If DataNodes advertise hostnames instead of reachable IP addresses, review dfs.client.use.datanode.hostname and confirm that those names resolve from the warehouse. For a SASL data-transfer protection handshake error, match the source's dfs.data.transfer.protection setting. Ask VeloDB Cloud support to provision required Hadoop configuration files through the managed path.

Why does an RPC response exceed the maximum data length?​

For example:

RPC response has a length of 1213486160 exceeds maximum data length

1213486160 is hexadecimal 0x48545450, the ASCII bytes for HTTP. This can indicate that the HDFS client reached an HTTP service instead of the NameNode RPC service.

Check the NameNode RPC address in the catalog or managed HDFS configuration against the source's dfs.namenode.rpc-address. Use the actual configured RPC port. The NameNode web UI port is a different endpoint. If a proxy sits between the warehouse and HDFS, also check that it forwards the expected protocol.

DLF Catalog​

Why does JindoFS access report Invalid address?​

Verify that the JindoFS endpoint's advertised hostnames resolve and are reachable from the warehouse. Coordinate private DNS, network routing, and any managed client configuration with VeloDB Cloud support. See Alibaba Cloud DLF.

Why can I list metadata but not read DLF-backed data?​

Check both metadata permissions and the identity used to access storage. In simple-authentication HDFS scenarios, hadoop.username selects the client username. It does not bypass source permissions and does not replace Kerberos or object-storage credentials.

Why are Hive partitions missing from DLF?​

Verify that Hive metadata has been synchronized into the DLF metastore used by the catalog. After the source metastore contains the expected partitions, review the warehouse's metadata cache and refresh controls. Refreshing a warehouse cache cannot create partitions missing from the source metastore.

Other issues​

Why do binary values look garbled?​

Arbitrary binary bytes are not necessarily printable text. The mapping depends on the connector and catalog configuration. For example, Hive BINARY can map to STRING or VARBINARY through enable.mapping.varbinary in the current implementation.

Inspect the source type and the mapped warehouse type before changing the data. For binary content exposed as STRING, use TO_BASE64() when you need a printable representation. See Hive type mapping and the relevant connector's type reference.

How do I inspect a Parquet file?​

Use the official Apache Parquet CLI documentation to obtain and run a compatible CLI on your own diagnostic machine. With permission to access the data, download a representative file and inspect its metadata:

parquet meta <local-parquet-file>

Replace <local-parquet-file> with the downloaded file's local path. Compare row groups, column types, encodings, and statistics with a file that queries successfully. Do not upload private data to public tools or attach it to a ticket without an approved transfer method.

Diagnostic tools​

Run source-side diagnostics from an authorized machine that can reach the external service. Check metadata RPC latency, KDC reachability, keytab entries, storage permissions, and file metadata according to the failing stage.

A successful test on your own machine establishes only that machine's access. To investigate a warehouse-specific failure, provide VeloDB Cloud support with query IDs, timestamps, sanitized catalog properties, the exact error, and the source administrator's findings. Use an approved secure channel for credentials and private diagnostic data.

On This Page

Enter to send · Shift+Enter for a new line