FAQ

Updated at:

FAQ

Error: Discovery failed: java.lang.InternalError: java.lang.reflect.InvocationTargetException - Root cause: java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration

  • Cause: Fonts and font management tools are not installed in the runtime environment, which prevents results from being exported to Excel.

  • Solution: Install fontconfig and a common font set (dejavu) in the runtime environment.

    • CentOS / RHEL / Fedora: sudo yum install -y fontconfig dejavu-sans-fonts

    • Debian / Ubuntu: sudo apt-get update && apt-get install -y fontconfig fonts-dejavu

    • Alpine Linux: sudo apk add --no-cache fontconfig ttf-dejavu

After installation, run fc-list to confirm that fontconfig is active and fonts are registered, then retry the export.

Error: Failed to get HiveMetaStoreClient, uri:thrift://**.**.**.***:9083, error:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connen refused

  • Cause: The connection fails because the firewall, security group, or network policy does not allow traffic on port 9083.

  • Solution:

1) Test connectivity from the machine that runs lhm.

telnet <metastore_host> 9083
# or
nc -vz <metastore_host> 9083

2) In the relevant firewall or security group, allow traffic on the Hive MetaStore port (default is 9083) from the server that runs the offline tool.

  • Source: The IP address or CIDR block of the server that runs the offline tool.

  • Target: Hive Metastore host

  • Port: 9083 (or the port you configured).

  • Protocol: TCP.

3) Re-run the connectivity test to confirm the port is reachable before retrying lhm.