Submit job - Batch Compute
/“ to a VM local directory, for example, “/home/admin/test/“. Then use the command “python /home/admin/test/test.py” to run the program.
Submit a job as follows:
bcs sub "python /home/admin/test/test.py" -r oss://mybucket ...
Access data on OSS - Batch Compute
://mybucket/mydir/ in your OSS Bucket.
You can mount this OSS directory to the directory /home/admin/mydir/ which is treated as TaskDescription();taskDesc.addInputMapping("oss://mybucket/mydir/", "/home/admin/mydir/"); //Read-only ...
Configuring HDFS Reader - DataWorks V2.0
Note For data synchronization, admin account and read/write permissions for the files are required,
Create an admin user and home directory, specify a user group and additional group, and grant the ...