You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Nigel Daley (JIRA)" <ji...@apache.org> on 2008/04/03 06:16:24 UTC
[jira] Created: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
TestFileAppend fails on Mac since HADOOP-2655 was committed
-----------------------------------------------------------
Key: HADOOP-3161
URL: https://issues.apache.org/jira/browse/HADOOP-3161
Project: Hadoop Core
Issue Type: Bug
Components: test
Affects Versions: 0.17.0
Reporter: Nigel Daley
Priority: Minor
org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
java.io.IOException: stat: illegal option -- c
at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
Mac command should be
stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley reassigned HADOOP-3161:
-------------------------------------
Assignee: Nigel Daley
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Assignee: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585969#action_12585969 ]
Hudson commented on HADOOP-3161:
--------------------------------
Integrated in Hadoop-trunk #451 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/451/])
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Assignee: Nigel Daley
> Priority: Minor
> Fix For: 0.17.0
>
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nigel Daley updated HADOOP-3161:
--------------------------------
Status: Patch Available (was: Open)
Dhruba, can you review this?
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585185#action_12585185 ]
Hadoop QA commented on HADOOP-3161:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12379228/HADOOP-3161.patch
against trunk revision 643282.
@author +1. The patch does not contain any @author tags.
tests included -1. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
javadoc +1. The javadoc tool did not generate any warning messages.
javac +1. The applied patch does not generate any new javac compiler warnings.
release audit +1. The applied patch does not generate any new release audit warnings.
findbugs +1. The patch does not introduce any new Findbugs warnings.
core tests +1. The patch passed core unit tests.
contrib tests +1. The patch passed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2140/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2140/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2140/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2140/console
This message is automatically generated.
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-3161:
----------------------------------
Hadoop Flags: [Reviewed]
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Assignee: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-3161:
----------------------------------
Resolution: Fixed
Fix Version/s: 0.17.0
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Nigel!
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Assignee: Nigel Daley
> Priority: Minor
> Fix For: 0.17.0
>
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "Nigel Daley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nigel Daley updated HADOOP-3161:
--------------------------------
Attachment: HADOOP-3161.patch
Adds OS_TYPE_MAC to FileUtil so file system commands can be properly specified for the Mac.
Without this patch, TestFileAppend fails (since Feb 26). With this patch that test passes.
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-3161) TestFileAppend fails on Mac since
HADOOP-2655 was committed
Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585210#action_12585210 ]
dhruba borthakur commented on HADOOP-3161:
------------------------------------------
+1. Code looks good.
> TestFileAppend fails on Mac since HADOOP-2655 was committed
> -----------------------------------------------------------
>
> Key: HADOOP-3161
> URL: https://issues.apache.org/jira/browse/HADOOP-3161
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Affects Versions: 0.17.0
> Reporter: Nigel Daley
> Priority: Minor
> Attachments: HADOOP-3161.patch
>
>
> org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite fails with this exception:
> java.io.IOException: stat: illegal option -- c
> at org.apache.hadoop.fs.FileUtil$HardLink.getLinkCount(FileUtil.java:557)
> at org.apache.hadoop.dfs.DatanodeBlockInfo.detachBlock(DatanodeBlockInfo.java:117)
> at org.apache.hadoop.dfs.FSDataset.detachBlock(FSDataset.java:652)
> at org.apache.hadoop.dfs.TestFileAppend.testCopyOnWrite(TestFileAppend.java:188)
> Mac command should be
> stat -f$l
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.