Rate This Document
Findability
Accuracy
Completeness
Readability

Enabling KSAL for HDFS

This section describes how to enable the KSAL EC algorithm to further improve HDFS EC performance.

Ensure that KSAL has been installed in the compilation environment. For details, see Installing the KSAL Package.

  1. Open the Hadoop source code directory.
    1
    cd ../hadoop-3.1.0
    
  2. Obtain the patch file from https://gitee.com/kunpeng_compute/hadoop/blob/hdfs-ec-24.0.0/hdfs-ksal-0001.patch.
  3. Use a transfer tool to upload the patch to the ../hadoop-3.1.0/ directory.
  4. Apply the patch.
    1
    patch -p1 < hdfs-ksal-0001.patch
    
  5. Compile the Hadoop source code and deploy Hadoop. For details, see Compiling Hadoop and Deploying Hadoop.
  6. Check whether KSAL is enabled for HDFS.
    1
    hadoop checknative