iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Bug] load-tsfile.sh使用时,-f参数加载的是服务器文件位置而不是本地

Open wuzhiwei-booker opened this issue 1 year ago • 2 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Version

1.3.2

Describe the bug and provide the minimal reproduce step

使用./tools/load-tsfile.sh -f path时,-f 是加载远端服务器的文件位置,而不是本地ts file的文件位置。 若想加载本地文件位置,则会报错 Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 701: Can not find ./dump0.tsfile on this machine, notice that load can only handle files on this machine.

What did you expect to see?

按照官网文档的理解,应该是将本地tsfile文件加载至服务器Iotdb实例中。 企业微信截图_17261235721758

What did you see instead?

Msg: org.apache.iotdb.jdbc.IoTDBSQLException: 701: Can not find ./dump0.tsfile on this machine, notice that load can only handle files on this machine.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

wuzhiwei-booker avatar Sep 12 '24 07:09 wuzhiwei-booker

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Sep 12 '24 07:09 github-actions[bot]

Will be supported in v1.3.3. https://github.com/apache/iotdb/pull/13352

HTHou avatar Sep 13 '24 02:09 HTHou

load tsfile必须是本地文件,不支持远程文件load

myysophia avatar Oct 31 '24 08:10 myysophia

问题是我在本地也会报这个错,没事了,linux上登录得加bash

idiotzzz avatar Feb 19 '25 06:02 idiotzzz