JavaScript is required

Thuộc tính nào dưới đây được định cấu hình trên core-site.xml?

A.

Yếu tố nhân rộng

B.

Tên thư mục để lưu trữ tệp hdfs

C.

Máy chủ và cổng nơi tác vụ MapReduce chạy

D.

Các biến môi trường Java

Trả lời:

Đáp án đúng: B


The `core-site.xml` file in Hadoop is used to configure core properties of the system that apply to the entire cluster. It typically includes settings like the Hadoop cluster's default file system (fs.defaultFS) and security settings. While the other options relate to Hadoop configuration, they are typically found in other configuration files. * **Replication factor:** Configured in `hdfs-site.xml`. * **HDFS storage directory:** Configured in `hdfs-site.xml`. * **MapReduce server and port:** Configured in `mapred-site.xml` or `yarn-site.xml`. * **Java environment variables:** Usually set in system startup scripts, not Hadoop configuration files. Therefore, `core-site.xml` focuses on cluster-wide settings, particularly those related to the file system and basic security.

Câu hỏi liên quan