หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา
- What's New
- Service Overview
-
User Guide
- Preparations
- IAM Permissions Management
- Data Management
- Data Integration
- Data Development
- Solution
- O&M and Scheduling
- Configuration and Management
- Specifications
- Usage Tutorials
-
References
-
Nodes
- Node Overview
- CDM Job
- DIS Stream
- DIS Dump
- DIS Client
- Rest Client
- Import GES
- MRS Kafka
- Kafka Client
- CS Job
- DLI SQL
- DLI Spark
- DWS SQL
- MRS SparkSQL
- MRS Hive SQL
- MRS Presto SQL
- MRS Spark
- MRS Spark Python
- MRS Flink Job
- MRS MapReduce
- CSS
- Shell
- RDS SQL
- ETL Job
- OCR
- Create OBS
- Delete OBS
- OBS Manager
- Open/Close Resource
- Data Quality Monitor
- Subjob
- SMN
- Dummy
- For Each
- EL
-
Nodes
- Change History
- API Reference
-
FAQs
- What Is DLF?
- What Is DLF Used For?
- What Is a Job?
- How Many Jobs Can Be Created in DLF?
- Can I Adjust the Job Quota in DLF?
- Does DLF Provide Job Templates?
- What Is a Node?
- Is There a Limit on the Number of Nodes Contained in a DLF Job?
- How Can I Quickly Rectify a Deleted CDM Cluster Associated with a Job?
- What Causes a Large Difference Between the Plan Time and Start Time of a Job?
- How Do I Change the Message Language?
- What Can I Do When a Job Fails?
- Glossary
- General Reference
Copied.
Environment Variables
This topic describes how to configure and use environment variables.
Procedure
- Log in to the DLF console.
- In the navigation tree of the DLF console, choose Configure Specifications.
- On the Environment Variable page, set the parameters described in Table 1 and click Save.
Figure 1 Configuring environment variables
Table 1 Configuring environment variables Parameter
Mandatory
Description
Parameter
Yes
The parameter name must be unique, consist of 1 to 64 characters, and contain only letters, digits, underscores (_), and hyphens (-).
Value
Yes
Parameter values support constants and EL expressions but do not support system functions. For example, 123 and abc are supported.
For details about how to use EL expressions, see Expression Overview.
After configuring an environment variable, you can add, edit, or delete it.
- Add: Click Add to add an environment variable.
- Edit: If the parameter value is a constant, change the parameter value in the text box. If the parameter value is an EL expression, click next to the text box to edit the EL expression. Click Save.
- Delete: Click next to the parameter value text box to delete the environment variable.
How-Tos
The configured environment variables can be used in either of the following ways:
- ${Environment variable}
- #{Evn.get("environment variable")}
Example
Context:
- A job named test has been created on DLF.
- An environment variable has been added. The parameter name is job and the parameter value is 123.
- Open test and drag a Create OBS node from the node library.
- On the Node Properties tab page, configure the node properties.
Figure 2 Create OBS
- Click Save and then Monitor to monitor the running status of the job.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot