This topic describes how to upload files in the Lindorm console.

Prerequisites

Lindorm Distributed Processing System (LDPS) is activated for the Lindorm instance. For more information, see Activate LDPS and modify the configurations.

Background information

When you use LDPS to execute jobs, custom resource files are required. For example, you need to use Python or JAR files to define the logics of Python or Java jobs or use JAR files to define user-defined functions (UDFs) in a Spark SQL job. You can use an HDFS shell or the Lindorm console to upload custom resource files.

Procedure

  1. Log on to the Lindorm console.
  2. In the upper-left corner of the page, select the region in which the instance is located.
  3. On the Instances page, click the ID of the instance that you want to manage or click Manage in the Actions column corresponding to the instance.
  4. In the left-side navigation pane, select Compute Engine.
  5. Click the Job Management tab.
  6. Optional:In the Upload Resources section, perform the following steps to create a subdirectory:
    1. Right-click the root directory in the directory tree and click Create Folder.
    2. In the Create Subdirectory dialog box, enter the name of the subdirectory you want to create.
    3. Click OK.
  7. Select the directory to which you want to upload files, and then click Upload Resources. In the Upload Resources dialog box, upload the files.
    Note
    • If the files are successfully uploaded, the Upload Resources dialog box is closed and a message appears to indicate that the resources are uploaded. It takes about 5 to 10 minutes for the files to be uploaded. The time required to upload a file varies with the file size.
    • The ldps- prefix is automatically added to the name of the uploaded file.
  8. Click the Copy icon in front of the name of the file to copy the storage path of the file. You can use the path to configure parameters in your jobs.
Important Uploaded files cannot be deleted in the Lindorm console. To delete files, see Use the HDFS shell to connect to and use LindormDFS.