dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [Source Center] can not use my py file

Open zui01 opened this issue 3 years ago • 13 comments

Search before asking

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

What happened

i upload py file in source center.then i try to use it in my workflow . but the log said 'can not find py file ' nohup python hdfs:/dolphinscheduler/root/resources/datasource.py 5 &�. (this is my worknode shell) image image

What you expected to happen

it shuold run normaly,and find the file

How to reproduce

just plz updata the doc. plzzzzz ,and give some example

Anything else

the doc should not like this .

Version

dev

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

zui01 avatar Mar 05 '23 08:03 zui01

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

  • In order for us to understand your request as soon as possible, please provide detailed information, version or pictures.
  • If you haven't received a reply for a long time, you can join our slack and send your question to channel #troubleshooting

github-actions[bot] avatar Mar 05 '23 08:03 github-actions[bot]

Hi, @Anubisxcw , the doc is clear, firstly, you have to select resource datasource.py, then the right command should be nohup python datasource.py

Radeity avatar Mar 05 '23 10:03 Radeity

tks。but not work

zui01 avatar Mar 06 '23 02:03 zui01

Can you show me your script (16_18_node.sh)?

Radeity avatar Mar 06 '23 02:03 Radeity

Can you show me your script (16_18_node.sh)?

https://github.com/Anubisxcw/pybigdata/blob/master/flink/flink-sql/datagen.py

zui01 avatar Mar 06 '23 04:03 zui01

i changed the file to LF endings .but now the task just run and not show logs.meantime ,the task cannot stop.

zui01 avatar Mar 06 '23 04:03 zui01

Can you show me your script (16_18_node.sh)?

I mean the shell script generated by ds.

image

Radeity avatar Mar 06 '23 05:03 Radeity

Can you show me your script (16_18_node.sh)?

I mean the shell script generated by ds.

image

ok let me check check

zui01 avatar Mar 06 '23 06:03 zui01

Can you show me your script (16_18_node.sh)?

I mean the shell script generated by ds.

image

oh ,just forget tell u.the task node doed not generated logs

zui01 avatar Mar 06 '23 06:03 zui01

image image

zui01 avatar Mar 06 '23 06:03 zui01

image

zui01 avatar Mar 06 '23 06:03 zui01

This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Apr 06 '23 00:04 github-actions[bot]

This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.

github-actions[bot] avatar Apr 14 '23 00:04 github-actions[bot]