TableauServerを運用していてタスクの実行時に下記のエラーが頻繁に出るようになりました。
【com.tableausoftware.nativeapi.dll.TableauCancelException:操作がキャンセルされました。】
ログに明確なエラー名が出ていなかったのですが毎回7200秒付近で失敗してましたのでタイムアウトエラーということに気が付きました。
tabadminで現在のTableauサーバのタイムアウト値を確認すると7200となっていました。
¥bin> tabadmin get backgrounder.querylimit 7200
そもそも2時間もデータソースの抽出にかかっているクエリも問題ですが一旦タイムアウト値を変更し暫定対応を行いました。
¥bin> tabadmin configuration get backgrounder.querylimit tabadmin set backgrounder.querylimit 14400 ¥bin> tabadmin configure ===== Wrote configuration files to C:/ProgramData/Tableau/Tableau Server/data/tabsvc/config -- Web data connectors were distributed to all gateways. ¥bin> tabadmin get backgrounder.querylimit 14400 ¥bin> tabadmin stop ===== Stopping service… -- Service stopped successfully ¥bin> tabadmin start ===== Starting service… -- Service was started successfully
翌日以降、タスク実行時のエラーが解消されました。