Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [task-hivecli] Unable to read resource files in Hive CLI #15343

Closed
3 tasks done
wangbowen1024 opened this issue Dec 19, 2023 · 2 comments · Fixed by #15355
Closed
3 tasks done

[Bug] [task-hivecli] Unable to read resource files in Hive CLI #15343

wangbowen1024 opened this issue Dec 19, 2023 · 2 comments · Fixed by #15355
Labels
bug Something isn't working

Comments

@wangbowen1024
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I get a error, when i use HiveCLI and read SQL from File:

Caused by: java.io.FileNotFoundException: /tmp/dolphinscheduler320/exec/process//11975691665664/11975844729729_4/17/22/hdfs://user/dolphinscheduler320/***/resources/测试/HIVECLI.hql (No such file or directory)

so, i debug the code in IDEA. and then i find some issues from the file path:
image
and then i find a filed:
image
so i change the code
image
and return right path
image

What you expected to happen

return right path, just like issue describe

How to reproduce

every time when use hiveCLI read SQL from file

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@wangbowen1024 wangbowen1024 added bug Something isn't working Waiting for reply Waiting for reply labels Dec 19, 2023
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

I get a error, when i use HiveCLI and read SQL from File:

Caused by: java.io.FileNotFoundException: /tmp/dolphinscheduler320/exec/process//11975691665664/11975844729729_4/17/22/hdfs://user/dolphinscheduler320/***/resources/测试/HIVECLI.hql (No such file or directory)

so, i debug the code in IDEA. and then i find some issues from the file path:
image
and then i find a filed:
image
so i change the code
image
and return right path
image

What you expected to happen

return right path, just like issue describe

How to reproduce

every time when use hiveCLI read SQL from file

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ruanwenjun
Copy link
Member

This bug is imported by #12076, right now we will not store data in t_ds_resource, so the resource feature have bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants