Error Occurred When Importing Data with TiDB Lightning Using TiUP

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiub lightning 导入数据的时候报错

| username: 我在路上

When starting to import data, an error is reported: [“restore failed”] [error=“build local backend failed: [PD:client:ErrClientCreateTSOStream]create TSO stream failed”]
Has anyone encountered and resolved this issue?

| username: Billmay表妹 | Original post link

What version?
What actions were taken?

| username: xfworld | Original post link

From the error log, it appears that PD is not functioning properly…

| username: alfred | Original post link

Unable to obtain TSO

| username: 我在路上 | Original post link

The version is V5.4.0. When using the command nohup ./tidb-lightning -config tidb-lightning.toml > nohup.out &, an error occurred right at the beginning of the data import.

| username: 我在路上 | Original post link

The TiDB dashboard can be logged in normally.

| username: buchuitoudegou | Original post link

Check the PD logs? It should be its issue.

| username: wuxiangdong | Original post link

It seems to be an issue with PD. Is the PD address configuration for importing the file correct?

| username: 我在路上 | Original post link

It should not be an address issue. If I intentionally write the address incorrectly, it will directly report that my address is incorrect. However, this error is “create TSO stream failed.”