KNOWLEDGE BASE

Data Server processes failing to start after upgrading Tableau Server to v2022.3 and newer


Published: 16 Mar 2023
Last Modified Date: 27 Jun 2023

Issue

When Tableau Server starts, the data server process fails to start.

The data server logs reported something errors similar to the following:
-----
2023-05-25 16:38:58.519 +0900 (,,,) Curator-Framework-0 : ERROR org.apache.curator.framework.imps.CuratorFrameworkImpl - Background operation retry gave uporg.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
at org.apache.zookeeper.KeeperException.create(KeeperException.java:102) 
...
2023-05-25 16:38:58.529 +0900 (,,,) Curator-Framework-0 : ERROR org.apache.curator.framework.imps.CuratorFrameworkImpl - Background retry gave up
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
...
2023-05-25 16:40:58.519 +0900 (,,,) Curator-ConnectionStateManager-0 : WARN org.apache.curator.framework.state.ConnectionStateManager - Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 120000. Adjusted session timeout ms: 120000
2023-05-25 16:40:58.524 +0900 (,,,) discovery-1-EventThread : WARN org.apache.curator.ConnectionState - Session expired event received
2023-05-25 16:40:58.524 +0900 (,,,) Curator-ConnectionStateManager-0 : ERROR org.apache.curator.framework.state.ConnectionStateManager - Could not inject session expiration
java.lang.NullPointerException: null

at org.apache.zookeeper.ClientCnxnSocketNetty.onClosing(ClientCnxnSocketNetty.java:251) 
-----

Environment

  • Tableau Server 2022.3
  • Linux

Resolution

As a workaround, manually start the data server process which failed by the following command:
 
sudo su -l tableau -c "systemctl --user restart dataserver_<instance number>"

 

Cause

This issue with Tableau Data Server failing to start is caused by a known issue with the Zookeeper software, which is used by Tableau to manage the process status.
This issue is being addressed by Tableau development team with the issue W-12900190.
Did this article resolve the issue?