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

Hadoop QA commented on HADOOP-9337:
-----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12571435/HADOOP-9337--a.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

    {color:green}+1 tests included appear to have a timeout.{color}

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with 
eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in 
hadoop-common-project/hadoop-common.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2244//testReport/
Console output: 
https://builds.apache.org/job/PreCommit-HADOOP-Build/2244//console

This message is automatically generated.
                
> org.apache.hadoop.fs.DF.getMount() does not work on Mac OS
> ----------------------------------------------------------
>
>                 Key: HADOOP-9337
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9337
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.0.4-beta
>         Environment: Mac OS 10.8
>            Reporter: Ivan A. Veselovsky
>            Assignee: Ivan A. Veselovsky
>         Attachments: HADOOP-9337--a.patch, HADOOP-9337--b.patch
>
>
> test org.apache.hadoop.fs.TestLocalFileSystem.testReportChecksumFailure() 
> (added in HADOOP-9067) appears to fail on MacOS because 
> method org.apache.hadoop.fs.DF.getMount() does not work correctly.
> The problem is that "df -k <path>" command returns on MacOS output like the 
> following:
> -------
> Filesystem   1024-blocks      Used Available Capacity  iused    ifree %iused  
> Mounted on
> /dev/disk0s4   194879828 100327120  94552708    52% 25081778 23638177   51%   
> /Volumes/Data
> -------
> while the following is expected:
> -------
> Filesystem         1024-blocks      Used Available Capacity Mounted on
> /dev/mapper/vg_iveselovskyws-lv_home 420545160  15978372 383204308       5% 
> /home
> -------
> So, we see that Mac's output has 3 additional tokens.
> I can suggest 2 ways to fix the problem.
> (a) use "-P" (POSIX) option when invoking df command. This will probably 
> ensure unifirm output on all Unix systems;
> (b) move Mac branch to specific "case" branch and treat it specifically (like 
> we currently have for AIX, DF.java, line 214)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to