hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4546) Minor fix in dfs to make hadoop work in AIX
Date Mon, 03 Nov 2008 18:22:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644774#action_12644774
] 

dhruba borthakur commented on HADOOP-4546:
------------------------------------------

Hi Arun, your patch looks good. Would it be possible for you to write a unit test as Steve
suggested? The details are explained in http://wiki.apache.org/hadoop/HowToContribute

A minor comment about the patch: it would be nice if you can create a enum named DF.OSType
that follows the pattern in src.core.org.apache.fs.FileUtil.HardLink.OSType. Then it will
be elegant to add newer platform support for DF parsing in the future.

> Minor fix in dfs to make hadoop work in AIX
> -------------------------------------------
>
>                 Key: HADOOP-4546
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4546
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>    Affects Versions: 0.18.1
>         Environment: AIX 
>            Reporter: Arun Venugopal
>         Attachments: dfs_aix_fix.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> HDFS uses df command to get the disk space. The output format of df command is different
in AIX compared to Linux and Solaris. Checking the OS type and then reading the df output
as per the format will fix this issue and thus allows hadoop to be fully functional in AIX
environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message