Skip to content

Commit

Permalink
Merge pull request tldr-pages#881 from onesuper/odps-resource-tldr
Browse files Browse the repository at this point in the history
odps-resource: add page
felixonmars committed May 13, 2016
2 parents 797d5eb + 604f0ec commit c18ade3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pages/common/odps-resource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# odps resource

> Manage resources in ODPS (Open Data Processing Service).
- Show resources in the current project:

`list resources;`

- Add file resource:

`add file {{file_name}} as {{alias}};`

- Add archive resource:

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

- Add .jar resource:

`add jar {{package.jar}};`

- Add .py resource:

`add py {{script.py}};`

- Delete resource:

`drop resource {{resource_name}};`

0 comments on commit c18ade3

Please sign in to comment.