Creates an export job from OSS to HDFS in a specified project.
Try it now
Test
RAM authorization
Request syntax
POST /osshdfsexports HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
my-project |
| body |
object |
No |
The configuration of the OSS to Hadoop Distributed File System (HDFS) export job. |
|
| name |
string |
Yes |
The name of the job. The name must be unique within the project and follow these conventions: The job name must be unique within the project.
|
export-osshdfs-1234567890-123456 |
| displayName |
string |
Yes |
The display name of the job. |
my-oss-hdfs-job |
| description |
string |
No |
The description of the job. |
创建一个OSS-HDFS投递任务 |
| configuration | OSSExportConfiguration |
Yes |
The configuration of the job. |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 401 | AuthorizationRequired | Authorization Required |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.