apache / apache/iotdb

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

未关闭
#13,489 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/iotdb/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](https://github.com/user-attachments/assets/4e911bbf-1838-479d-ae05-588142dd1a13)

### 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!

贡献指南

打开贡献指南

调研方向

从 tools/load-tsfile.sh 开始,在 IoTDB 1.3.2 上使用本地 .tsfile 路径重现报告的 -f 行为。跟踪脚本如何将该路径传递给加载操作,然后验证文档所述的本地文件工作流程是否能够成功执行且不会出现报告的 701 错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
bash, java
领域
cli, databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。