hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9915) o.a.h.fs.Stat support on Macosx
Date Tue, 03 Sep 2013 18:01:55 GMT

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

Colin Patrick McCabe commented on HADOOP-9915:
----------------------------------------------

thanks for looking at this Binglin.

{code}
+  @Before
+  public void setUp() throws Exception {
+    fs = FileSystem.getLocal(new Configuration());
+    testDir = new Path(getTestRootPath(fs), "teststat");
+    fs.mkdirs(testDir);
+  }
+  
+  @After
+  public void tearDown() throws Exception {
+    fs.delete(testDir, true);
+  }
{code}

Can we move this to testStat?  It seems like a waste to set up a new FileSystem and testDir
on every test, given that only testStat uses them.
                
> o.a.h.fs.Stat support on Macosx
> -------------------------------
>
>                 Key: HADOOP-9915
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9915
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Trivial
>         Attachments: HADOOP-9915.v1.patch
>
>
> Support macosx in o.a.h.fs.Stat.
> The stat cmd in macosx seems the same as stat in freebsd. I make mac to use the same
ExecString as freebsd, it seems to work fine.

--
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

Mime
View raw message