执行taosdump一直报错,报错日志看不出具体原因

【TDengine 使用环境】
生产环境 /测试/ Poc/预生产环境

【TDengine 版本】

tdengine版本:3.2.1 taosTool版本:taosTools-2.4.5-Linux-x64.tar

【遇到的问题:问题现象及影响】

执行taosdump,报如下错:
[root@saas-foreign-pre-middle-3 saas]# sudo taosdump -h 172.31.2.7 -D db_pos_pre -o /home/saas/td_transfor/

========== arguments config =========
taosdump version 2.4.2, commit: 40632cb
host: 172.31.2.7
user: root
port: 0
outpath: /home/saas/td_transfor//
inpath:
resultFile: ./dump_result.txt
all_databases: false
databases: true
databasesSeq: db_pos_pre
schemaonly: false
with_property: true
answer_yes: false
avro codec: snappy
data_batch: 16383
thread_num: 8
allow_sys: false
escape_char: true
loose_mode: false
isDumpIn: false
arg_list_len: 0
OK: Database: db_pos_pre exists
INFO: Getting table(s) count of db (db_pos_pre) …
INFO: Start to dump out database: db_pos_pre
INFO: Getting tables’ number of super table (tposition_bluetooth) …
INFO: dumpNtbOfStbByThreads() LN10551, db_pos_pre’s tposition_bluetooth’s total normal table count: 5
INFO: connection: 0x560fdb3bc0d0 is dumping out schema of sub-table(s) of tposition_bluetooth
INFO: Getting tables’ number of super table (tposition_bluetooth) …
INFO: The number of tables of tposition_bluetooth is 5!
INFO: connection 0x560fdb3bc0d0 fetched 20% of tposition_bluetooth’ tbname
INFO: connection 0x560fdb3bc0d0 fetched 40% of tposition_bluetooth’ tbname
INFO: connection 0x560fdb3bc0d0 fetched 60% of tposition_bluetooth’ tbname
INFO: connection 0x560fdb3bc0d0 fetched 80% of tposition_bluetooth’ tbname
INFO: connection 0x560fdb3bc0d0 fetched 100% of tposition_bluetooth’ tbname
OK: total 5 sub-table’s name of stable: tposition_bluetooth fetched
INFO: The number of tables of tposition_bluetooth be filled is 5!
INFO: connection 0x560fdb3bc0d0 is dumping out schema:0% of tposition_bluetooth
INFO: connection 0x560fdb3bc0d0 is dumping out schema:20% of tposition_bluetooth
INFO: connection 0x560fdb3bc0d0 is dumping out schema:40% of tposition_bluetooth
INFO: connection 0x560fdb3bc0d0 is dumping out schema:60% of tposition_bluetooth
INFO: connection 0x560fdb3bc0d0 is dumping out schema:80% of tposition_bluetooth
INFO: connection 0x560fdb3bc0d0 is dumping out schema:100% of tposition_bluetooth
OK: total 5 sub table(s) of stable: tposition_bluetooth dumped
ERROR: Invalid time precision: .
ERROR: dumpNtbOfStbByThreads() LN10688, get precision error

看不出什么具体原因

应该是版本不致造成的。tdengine版本:3.2.1 已经打包了工具组件,不需要再安装一套了。直接看下/usr/loca/taos/bin下面的taosdump的版本,taosdump --version

还是不行,直接指定/usr/local/taos/bin/taosdump,还是会报这个错

看起来/usr/local/taos/bin下面的taosdump已经被替换成2.4.2版本了。在3.2.1的安装包里直接找可执行文件拷贝替换下。