hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Reix (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8519) Patch for PPC64
Date Tue, 02 Jun 2015 14:38:18 GMT
Tony Reix created HDFS-8519:
-------------------------------

             Summary: Patch for PPC64
                 Key: HDFS-8519
                 URL: https://issues.apache.org/jira/browse/HDFS-8519
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.7.1
         Environment: RHEL 7.1 /PPC64
            Reporter: Tony Reix
             Fix For: 2.7.1


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 .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message