Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8519

Patch for PPC64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.7.1
    • None
    • None
    • None
    • RHEL 7.1 /PPC64

    • Patch

    Description

      The attached patch enables Hadoop to work on PPC64.
      That deals with SystemPageSize and BloclSize , which are not 4096 on PPC64.

      There are changes in 3 files:

      • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java
      • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestFsDatasetCache.java
      • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCacheDirectives.java

      where 4096 is replaced by getOperatingSystemPageSize() or by using PAGE_SIZE

      The patch has been built on branch-2.7 .

      Attachments

        Activity

          People

            Unassigned Unassigned
            trex58 Tony Reix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: