Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63BC611A3E for ; Wed, 4 Jun 2014 16:08:56 +0000 (UTC) Received: (qmail 70045 invoked by uid 500); 4 Jun 2014 16:08:51 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 69931 invoked by uid 500); 4 Jun 2014 16:08:51 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 69924 invoked by uid 99); 4 Jun 2014 16:08:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 16:08:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.convey@gmail.com designates 209.85.192.49 as permitted sender) Received: from [209.85.192.49] (HELO mail-qg0-f49.google.com) (209.85.192.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 16:08:47 +0000 Received: by mail-qg0-f49.google.com with SMTP id a108so15637662qge.22 for ; Wed, 04 Jun 2014 09:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4A0vLLsytHtkKEmBFkP6aEMQbFLuRPDOba0rgez4Nuc=; b=goqJ0Zy3d0iSCGlLv4jK/sW0SrtGNLfqaSzZKgtUvFj7EUYC2EoGnj8CtIDl2voUDa 1hfWOL9X6kL20qvFTg1aM8qqjvIIbEI97LVSwAxiS7w3ijYPZi93Nu1RFiQoHWN7kOVO RX1JMxtRpiZIgS8wg+03y3lJkacQMT3YREvMRHzjF0580QGcyOqiE8IqHR0Wwo/wr5m9 qUxE6lf1dxWTScxIvMXK0XUJkWjuxbCoCaH67vh4dY9/xt49mhOP7n9S7+Th3sDhl6qV F9EweKdqbLOLN+FufTCDyYpLwOGeQM78leJHjjam1xh+xa6OJP2z3sgHQqv/+Pn1UmPc Htvw== MIME-Version: 1.0 X-Received: by 10.224.161.83 with SMTP id q19mr8168753qax.56.1401898103296; Wed, 04 Jun 2014 09:08:23 -0700 (PDT) Received: by 10.229.196.134 with HTTP; Wed, 4 Jun 2014 09:08:23 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Jun 2014 12:08:23 -0400 Message-ID: Subject: Re: (Very) newbie questions From: Christian Convey To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0149ccde75575004fb04d69a X-Virus-Checked: Checked by ClamAV on apache.org --089e0149ccde75575004fb04d69a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm going to try looking into it today, although I'm not sure how quickly I'll figure it out since I'm new to Maven. FYI, I'm getting this using Linux Mint 17 32-bit MATE edition, inside a VirtualBox VM, on OS X. On Wed, Jun 4, 2014 at 11:59 AM, Ted Yu wrote: > 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 > 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 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 >> > wrote: >> >> >> >> >> >> On Tue, Jun 3, 2014 at 8:19 PM, Christian Convey >> >> wrote: >> >>> >> >>> >> >>> >> >>> On Tue, Jun 3, 2014 at 6:37 PM, Ted Yu 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 >> >>>> 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 versio= n >> >>>>> 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, whil= e >> 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 = =C2=BB >> >> IO Pat... >> >> >> >> >> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testGetLinkStatusPartQu= alTarget:201 >> >> =C2=BB IO >> >> >> >> >> TestSymlinkLocalFSFileContext>SymlinkBaseTest.testCreateLinkToDotDotPref= ix:822 >> >> =C2=BB IO >> >> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testDanglingLink:16= 3 >> =C2=BB >> >> IO Path... >> >> >> >> >> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testGetLinkStatusPartQua= lTarget:201 >> >> =C2=BB IO >> >> >> >> >> TestSymlinkLocalFSFileSystem>SymlinkBaseTest.testCreateLinkToDotDotPrefi= x:822 >> >> =C2=BB IO >> >> >> >> Tests run: 2285, Failures: 24, Errors: 6, Skipped: 41 >> >> >> >> >> > >> >> >> >> -- >> - Tsuyoshi >> > > --089e0149ccde75575004fb04d69a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm going to try looking into it today, although I'= ;m not sure how quickly I'll figure it out since I'm new to Maven. = =C2=A0FYI, I'm getting this using Linux Mint 17 32-bit MATE edition, in= side a VirtualBox VM, on =C2=A0OS X.


On Wed, Jun 4= , 2014 at 11:59 AM, Ted Yu <yuzhihong@gmail.com> wrote:
Thanks for the pointer,=C2=A0Tsuyoshi.

I ran=C2=A0TestSymlinkLocalFS= FileContext on Mac and Linux - the test passed.

I think wrapper.getFileLinkStatus() should b= e 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 &= lt;ozawa.tsuy= oshi@gmail.com> wrote:
Hi Ted and Chri= stian,

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
> <ch= ristian.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 com= puter ?
>>>>
>>>> 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 t= o build it for the first
>>>>> time. =C2=A0I cloned the Git repository and I'm bu= ilding the tag version
>>>>> release-2.4.0.
>>>>>
>>>>> I get a clean "mvn compile -Pnative", but I&= #39;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? =C2=A0I.e., can I have a healthy H= adoop build, while still
>>>>> having had a few unit tests fail?
>>>>
>>>>
>>>
>>> The one that jumped out me is
>>> "org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem".= =C2=A0There may be others,
>>> but I haven't noticed them.
>>
>>
>> Actually, I believe this is the pertinent output:
>>
>>
>> Tests in error:
>> =C2=A0 TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testDan= glingLink:163 =C2=BB
>> IO Pat...
>>
>> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testGetLinkSta= tusPartQualTarget:201
>> =C2=BB IO
>>
>> TestSymlinkLocalFSFileContext>SymlinkBaseTest.testCreateLinkToD= otDotPrefix:822
>> =C2=BB IO
>> =C2=A0 TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testDang= lingLink:163 =C2=BB
>> IO Path...
>>
>> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testGetLinkStat= usPartQualTarget:201
>> =C2=BB IO
>>
>> TestSymlinkLocalFSFileSystem>SymlinkBaseTest.testCreateLinkToDo= tDotPrefix:822
>> =C2=BB IO
>>
>> Tests run: 2285, Failures: 24, Errors: 6, Skipped: 41
>>
>>
>



--
- Tsuyoshi


--089e0149ccde75575004fb04d69a--