hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: (Very) newbie questions
Date Wed, 04 Jun 2014 15:59:17 GMT
Thanks for the pointer, Tsuyoshi.

I ran TestSymlinkLocalFSFileContext on Mac and Linux - the test passed.

I think wrapper.getFileLinkStatus() should be added to assertion message
when assertTrue(wrapper.isSymlink(linkAbs)) fails. This would give us more
information.

Cheers


On Tue, Jun 3, 2014 at 5:53 PM, Tsuyoshi OZAWA <ozawa.tsuyoshi@gmail.com>
wrote:

> Hi Ted and Christian,
>
> In fact, the problem is filed as HADOOP-10510.
> https://issues.apache.org/jira/browse/HADOOP-10510
> This problem is also reproduced on my local, but not on the other
> environment. Maybe it's environment-dependent problem. However, I
> cannot understand the condition this problem occurs correctly.
>
> Thanks,
> - Tsuyoshi
>
>
> On Tue, Jun 3, 2014 at 5:49 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> > TestSymlinkLocalFS is an abstract class.
> >
> > The actual test is in TestSymlinkLocalFSFileContext /
> > TestSymlinkLocalFSFileSystem.
> > Do they pass on your computer ?
> >
> >
> >
> > On Tue, Jun 3, 2014 at 5:21 PM, Christian Convey
> > <christian.convey@gmail.com> wrote:
> >>
> >>
> >> On Tue, Jun 3, 2014 at 8:19 PM, Christian Convey
> >> <christian.convey@gmail.com> wrote:
> >>>
> >>>
> >>>
> >>> On Tue, Jun 3, 2014 at 6:37 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> >>>>
> >>>> Do you mind listing the unit tests that failed on your computer ?
> >>>>
> >>>> Cheers
> >>>>
> >>>>
> >>>> On Tue, Jun 3, 2014 at 3:31 PM, Christian Convey
> >>>> <christian.convey@gmail.com> wrote:
> >>>>>
> >>>>> I'm completely new to Hadoop, and I'm trying to build it for the
> first
> >>>>> time.  I cloned the Git repository and I'm building the tag version
> >>>>> release-2.4.0.
> >>>>>
> >>>>> I get a clean "mvn compile -Pnative", but I'm getting a few unit
> tests
> >>>>> failing when I run "mvn test".
> >>>>>
> >>>>> Does anyone know to what extent Hadoop (Common) 's unit tests failing
> >>>>> is a serious issue?  I.e., can I have a healthy Hadoop build, while
> still
> >>>>> having had a few unit tests fail?
> >>>>
> >>>>
> >>>
> >>> The one that jumped out me is
> >>> "org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem".  There may be
> others,
> >>> but I haven't noticed them.
> >>
> >>
> >> Actually, I believe this is the pertinent output:
> >>
> >>
> >> Tests in error:
> >>   TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testDanglingLink:163
> »
> >> IO Pat...
> >>
> >>
> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testGetLinkStatusPartQualTarget:201
> >> » IO
> >>
> >>
> TestSymlinkLocalFSFileContext>SymlinkBaseTest.testCreateLinkToDotDotPrefix:822
> >> » IO
> >>   TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testDanglingLink:163 »
> >> IO Path...
> >>
> >>
> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testGetLinkStatusPartQualTarget:201
> >> » IO
> >>
> >>
> TestSymlinkLocalFSFileSystem>SymlinkBaseTest.testCreateLinkToDotDotPrefix:822
> >> » IO
> >>
> >> Tests run: 2285, Failures: 24, Errors: 6, Skipped: 41
> >>
> >>
> >
>
>
>
> --
> - Tsuyoshi
>

Mime
View raw message