HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

odpscmd resource — Manage resources in ODPS (Open Data Processing Service). See also: `odpscmd`. More information: <htt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
resourcescommandodpscmd resourceclimanageopendataodps

Problem

How to use the odpscmd resource command: Manage resources in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.

Solution

odpscmd resource — Manage resources in ODPS (Open Data Processing Service). See also: odpscmd. More information: <https://www.alibabacloud.com/help/en/maxcompute/user-guide/maxcompute-client>.

[Interactive] Show resources in the current project:
list resources;


[Interactive] Add file resource:
add file {{filename}} as {{alias}};


[Interactive] Add archive resource:
add archive {{archive.tar.gz}} as {{alias}};


[Interactive] Add .jar resource:
add jar {{package.jar}};


[Interactive] Add .py resource:
add py {{script.py}};


[Interactive] Delete resource:
drop resource {{resource_name}};

Code Snippets

[Interactive] Show resources in the current project

list resources;

[Interactive] Add file resource

add file {{filename}} as {{alias}};

[Interactive] Add archive resource

add archive {{archive.tar.gz}} as {{alias}};

[Interactive] Add `.jar` resource

add jar {{package.jar}};

[Interactive] Add `.py` resource

add py {{script.py}};

Context

tldr-pages: common/odpscmd resource

Revisions (0)

No revisions yet.