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] Insufficient permissions after version 3.1.8 upgrade to 3.2.0 #15976

Open
2 of 3 tasks
China-OU opened this issue May 10, 2024 · 5 comments
Open
2 of 3 tasks

[Bug] Insufficient permissions after version 3.1.8 upgrade to 3.2.0 #15976

China-OU opened this issue May 10, 2024 · 5 comments
Assignees
Labels
bug Something isn't working Stale

Comments

@China-OU
Copy link

Search before asking

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

What happened

After upgrading from version 3.1.8 to 3.2.0, an error is encountered in the execution of the Datax workflow:

/tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362_job.json
[INFO] 2024-05-10 14:24:08.541 +0800 - Executing shell command : sudo -u dolphinscheduler -i /tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362.sh
[INFO] 2024-05-10 14:24:08.543 +0800 - process start, process id is: 10664
[INFO] 2024-05-10 14:24:09.548 +0800 - ->

DataX (DATAX-OPENSOURCE-3.0), From Alibaba !
Copyright (C) 2010-2017, Alibaba Group. All Rights Reserved.


Usage: datax.py [options] job-url-or-path

Options:
  -h, --help            show this help message and exit

  Product Env Options:
    Normal user use these options to set jvm parameters, job runtime mode
    etc. Make sure these options can be used in Product Env.

    -j <jvm parameters>, --jvm=<jvm parameters>
                        Set jvm parameters if necessary.
    --jobid=<job unique id>
                        Set job unique id when running by Distribute/Local
                        Mode.
    -m <job runtime mode>, --mode=<job runtime mode>
                        Set job runtime mode such as: standalone, local,
                        distribute. Default mode is standalone.
    -p <parameter used in job config>, --params=<parameter used in job config>
                        Set job parameter, eg: the source tableName you want
                        to set it by command, then you can use like this:
                        -p"-DtableName=your-table-name", if you have mutiple
                        parameters: -p"-DtableName=your-table-name
                        -DcolumnName=your-column-name".Note: you should config
                        in you job tableName with ${tableName}.
    -r <parameter used in view job config[reader] template>, --reader=<parameter used in view job config[reader] template>
                        View job config[reader] template, eg:
                        mysqlreader,streamreader
    -w <parameter used in view job config[writer] template>, --writer=<parameter used in view job config[writer] template>
                        View job config[writer] template, eg:
                        mysqlwriter,streamwriter

  Develop/Debug Options:
    Developer use these options to trace more details of DataX.

    -d, --debug         Set to remote debug mode.
    --loglevel=<log level>
                        Set log level such as: debug, info, all etc.
/tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362.sh:行4: /tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362_job.json: 权限不够

What you expected to happen

I hope it works out.

How to reproduce

version 3.1.8 upgrade to 3.2.0

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

@China-OU China-OU added bug Something isn't working Waiting for reply Waiting for reply labels May 10, 2024
Copy link

Search before asking

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

What happened

After upgrading from version 3.1.8 to 3.2.0, an error is encountered in the execution of the Datax workflow:

/tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362_job.json
[INFO] 2024-05-10 14:24:08.541 +0800 - Executing shell command : sudo -u dolphinscheduler -i /tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362.sh
[INFO] 2024-05-10 14:24:08.543 +0800 - process start, process id is: 10664
[INFO] 2024-05-10 14:24:09.548 +0800 - ->

DataX (DATAX-OPENSOURCE-3.0), From Alibaba !
Copyright (C) 2010-2017, Alibaba Group. All Rights Reserved.


Usage: datax.py [options] job-url-or-path

Options:
  -h, --help            show this help message and exit

  Product Env Options:
    Normal user use these options to set jvm parameters, job runtime mode
    etc. Make sure these options can be used in Product Env.

    -j <jvm parameters>, --jvm=<jvm parameters>
                        Set jvm parameters if necessary.
    --jobid=<job unique id>
                        Set job unique id when running by Distribute/Local
                        Mode.
    -m <job runtime mode>, --mode=<job runtime mode>
                        Set job runtime mode such as: standalone, local,
                        distribute. Default mode is standalone.
    -p <parameter used in job config>, --params=<parameter used in job config>
                        Set job parameter, eg: the source tableName you want
                        to set it by command, then you can use like this:
                        -p"-DtableName=your-table-name", if you have mutiple
                        parameters: -p"-DtableName=your-table-name
                        -DcolumnName=your-column-name".Note: you should config
                        in you job tableName with ${tableName}.
    -r <parameter used in view job config[reader] template>, --reader=<parameter used in view job config[reader] template>
                        View job config[reader] template, eg:
                        mysqlreader,streamreader
    -w <parameter used in view job config[writer] template>, --writer=<parameter used in view job config[writer] template>
                        View job config[writer] template, eg:
                        mysqlwriter,streamwriter

  Develop/Debug Options:
    Developer use these options to trace more details of DataX.

    -d, --debug         Set to remote debug mode.
    --loglevel=<log level>
                        Set log level such as: debug, info, all etc.
/tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362.sh:行4: /tmp/dolphinscheduler/exec/process/dolphinscheduler/12899597581952/13432672120965_2/2121/14362/2121_14362_job.json: 权限不够

What you expected to happen

I hope it works out.

How to reproduce

version 3.1.8 upgrade to 3.2.0

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 may be a file permission bug, please try 3.2.1.

@ruanwenjun ruanwenjun removed the Waiting for reply Waiting for reply label May 10, 2024
@ruanwenjun ruanwenjun self-assigned this May 10, 2024
@China-OU
Copy link
Author

@ruanwenjun 3.2.1 There's a problem turning the pages. Any ideas?

@ruanwenjun
Copy link
Member

ruanwenjun commented May 10, 2024

@ruanwenjun 3.2.1 There's a problem turning the pages. Any ideas?

Or you can manually fix this by following the dev branch, this should already be fixed.

Copy link

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 github-actions bot added the Stale label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants