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 John Chilton <j...@johnchilton.com> on 2013/09/03 03:46:55 UTC
New dev. environment issue
Hi all, I am trying to set up a new development environment on a Mac (OS X
10.8.4).
I have checked out the source using NetBeans builtin SVN support and I
have installed ProtoBuf 2.5.0.
Now I am running "mvn clean" and "mvn install". "mvn install" fails,
listing some failures and one error.
I am wondering if someone can help me sort this out. Some of the output of
"mvn install" is below (note the "Tests in error" section too).
Thanks,
John Chilton
Results :
Failed tests: testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
The directory xSubDir *should* not have been deleted. expected:<true> but
was:<false>
testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
directory xSubDir *should* not have been deleted. expected:<true> but
was:<false>
testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
Should throw IOException
test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
build/test/temp/RELATIVE1 in
build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for build/test/temp/RELATIVE2 in
build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for build/test/temp/RELATIVE3 in
build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
- FAILED!
testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
- FAILED!
testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
- FAILED!
test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
- FAILED!
testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
- FAILED!
testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
- FAILED!
testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
expected:<[root]> but was:<[]>
testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
expected:<[root]> but was:<[]>
testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
Should throw IOException
testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
TrashRoot (file:/Users/John/.Trash/Current) to exist in file
system:file:///
testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
Tests in error:
testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
supported on this platform
Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
RE: New dev. environment issue
Posted by Devaraj k <de...@huawei.com>.
You could also refer this for the build steps.
http://svn.apache.org/repos/asf/hadoop/common/trunk/BUILDING.txt
Thanks
Devaraj k
From: Matt Fellows [mailto:matt.fellows@bespokesoftware.com]
Sent: 03 September 2013 12:40
To: common-dev@hadoop.apache.org
Subject: Re: New dev. environment issue
You could run:
mvn install -DskipTests if you are just looking to build it, and don't care about the tests?
On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j@...@johnchilton.com>> wrote:
Hi all, I am trying to set up a new development environment on a Mac (OS X
10.8.4).
I have checked out the source using NetBeans builtin SVN support and I
have installed ProtoBuf 2.5.0.
Now I am running "mvn clean" and "mvn install". "mvn install" fails,
listing some failures and one error.
I am wondering if someone can help me sort this out. Some of the output of
"mvn install" is below (note the "Tests in error" section too).
Thanks,
John Chilton
Results :
Failed tests: testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
The directory xSubDir *should* not have been deleted. expected:<true> but
was:<false>
testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
directory xSubDir *should* not have been deleted. expected:<true> but
was:<false>
testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
Should throw IOException
test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
build/test/temp/RELATIVE1 in
build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for build/test/temp/RELATIVE2 in
build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for build/test/temp/RELATIVE3 in
build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
- FAILED!
testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
- FAILED!
testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
- FAILED!
test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
- FAILED!
testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
- FAILED!
testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
Checking for
file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
in
/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
- FAILED!
testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
expected:<[root]> but was:<[]>
testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
expected:<[root]> but was:<[]>
testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
Should throw IOException
testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
TrashRoot (file:/Users/John/.Trash/Current) to exist in file
system:file:///
testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
checkDir success
Tests in error:
testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
supported on this platform
Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
--
[cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
First Option Software Ltd
Signal House
Jacklyns Lane
Alresford
SO24 9JJ
Tel: +44 (0)1962 738232
Mob: +44 (0)7710 160458
Fax: +44 (0)1962 600112
Web: www.b<http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
____________________________________________________
This is confidential, non-binding and not company endorsed - see full terms at www.fosolutions.co.uk/emailpolicy.html<http://www.fosolutions.co.uk/emailpolicy.html>
First Option Software Ltd Registered No. 06340261
Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
____________________________________________________
Re: New dev. environment issue
Posted by Vinod Kumar Vavilapalli <vi...@hortonworks.com>.
Not sure about others, but either Mac or Linux, I always checkout separately from the command line, run "mvn clean install eclipse:eclipse -DskipTests" there and then import(or just refresh subsequently) hadoop-common directory from the 'import existing maven projects' option in eclipse.
Thanks,
+Vinod
On Sep 6, 2013, at 9:27 PM, John Chilton wrote:
> Hi, I have switched to linux, and now I have a new issue. I am following
> the directions at http://wiki.apache.org/hadoop/EclipseEnvironment for
> setting up the project in Eclipse.
>
> Where the wiki says to add "target/generated-test-sources/java" as a
> source directory, I find that this directory is already added as a source
> directory in my project, but the hadoop-common project still shows errors.
> What should I do?
>
> Thanks,
> John
>
> On Wed, September 4, 2013 11:39 pm, Tsuyoshi OZAWA wrote:
>> Hi John,
>>
>> I'm developing Hadoop on OS X(10.8.4). Sometimes tests fail on OS X,
>> though I confirmed that TestFileUtil of current trunk works well on my
>> environment. Jenkins CI of Hadoop runs on Linux, so I'll recommend you
>> to prepare Linux server. I also avoid the problem by preparing linux
>> servers on virtual machines.
>>
>> Thanks,
>> Tsuyoshi
>>
>> On Wed, Sep 4, 2013 at 1:27 AM, John Chilton <j...@johnchilton.com> wrote:
>>> Hi Matt,
>>>
>>> I was hoping to be able to test at some point because I would like to
>>> contribute.
>>>
>>> John
>>>
>>> On Tue, September 3, 2013 12:10 am, Matt Fellows wrote:
>>>> You could run:
>>>> mvn install -DskipTests if you are just looking to build it, and don't
>>>> care
>>>> about the tests?
>>>>
>>>>
>>>> On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j...@johnchilton.com> wrote:
>>>>
>>>>> Hi all, I am trying to set up a new development environment on a Mac
>>>>> (OS
>>>>> X
>>>>> 10.8.4).
>>>>>
>>>>> I have checked out the source using NetBeans builtin SVN support and I
>>>>> have installed ProtoBuf 2.5.0.
>>>>>
>>>>> Now I am running "mvn clean" and "mvn install". "mvn install" fails,
>>>>> listing some failures and one error.
>>>>>
>>>>> I am wondering if someone can help me sort this out. Some of the
>>>>> output
>>>>> of
>>>>> "mvn install" is below (note the "Tests in error" section too).
>>>>>
>>>>> Thanks,
>>>>>
>>>>> John Chilton
>>>>>
>>>>>
>>>>>
>>>>> Results :
>>>>>
>>>>> Failed tests:
>>>>> testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
>>>>> The directory xSubDir *should* not have been deleted. expected:<true>
>>>>> but
>>>>> was:<false>
>>>>> testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
>>>>> directory xSubDir *should* not have been deleted. expected:<true> but
>>>>> was:<false>
>>>>>
>>>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
>>>>> Should throw IOException
>>>>> test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>>> build/test/temp/RELATIVE1 in
>>>>> build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
>>>>>
>>>>> testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for build/test/temp/RELATIVE2 in
>>>>> build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
>>>>> testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for build/test/temp/RELATIVE3 in
>>>>> build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
>>>>> test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
>>>>> - FAILED!
>>>>>
>>>>> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
>>>>> - FAILED!
>>>>> testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
>>>>> - FAILED!
>>>>> test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>>>
>>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
>>>>> - FAILED!
>>>>>
>>>>> testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for
>>>>>
>>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
>>>>> - FAILED!
>>>>> testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>>> Checking for
>>>>>
>>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
>>>>> in
>>>>>
>>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
>>>>> - FAILED!
>>>>> testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
>>>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
>>>>> expected:<[root]> but was:<[]>
>>>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
>>>>> expected:<[root]> but was:<[]>
>>>>>
>>>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
>>>>> Should throw IOException
>>>>> testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
>>>>> TrashRoot (file:/Users/John/.Trash/Current) to exist in file
>>>>> system:file:///
>>>>> testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>> testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>> testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>> testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>> testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>> testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
>>>>> checkDir success
>>>>>
>>>>> Tests in error:
>>>>> testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
>>>>> supported on this platform
>>>>>
>>>>> Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> [image: cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
>>>> First Option Software Ltd
>>>> Signal House
>>>> Jacklyns Lane
>>>> Alresford
>>>> SO24 9JJ
>>>> Tel: +44 (0)1962 738232
>>>> Mob: +44 (0)7710 160458
>>>> Fax: +44 (0)1962 600112
>>>> Web: www.b
>>>> <http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
>>>>
>>>> --
>>>> ____________________________________________________
>>>>
>>>> This is confidential, non-binding and not company endorsed - see full
>>>> terms
>>>> at www.fosolutions.co.uk/emailpolicy.html
>>>> First Option Software Ltd Registered No. 06340261
>>>> Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
>>>> ____________________________________________________
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> --
>> - Tsuyoshi
>>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: New dev. environment issue
Posted by John Chilton <j...@johnchilton.com>.
Hi, I have switched to linux, and now I have a new issue. I am following
the directions at http://wiki.apache.org/hadoop/EclipseEnvironment for
setting up the project in Eclipse.
Where the wiki says to add "target/generated-test-sources/java" as a
source directory, I find that this directory is already added as a source
directory in my project, but the hadoop-common project still shows errors.
What should I do?
Thanks,
John
On Wed, September 4, 2013 11:39 pm, Tsuyoshi OZAWA wrote:
> Hi John,
>
> I'm developing Hadoop on OS X(10.8.4). Sometimes tests fail on OS X,
> though I confirmed that TestFileUtil of current trunk works well on my
> environment. Jenkins CI of Hadoop runs on Linux, so I'll recommend you
> to prepare Linux server. I also avoid the problem by preparing linux
> servers on virtual machines.
>
> Thanks,
> Tsuyoshi
>
> On Wed, Sep 4, 2013 at 1:27 AM, John Chilton <j...@johnchilton.com> wrote:
>> Hi Matt,
>>
>> I was hoping to be able to test at some point because I would like to
>> contribute.
>>
>> John
>>
>> On Tue, September 3, 2013 12:10 am, Matt Fellows wrote:
>>> You could run:
>>> mvn install -DskipTests if you are just looking to build it, and don't
>>> care
>>> about the tests?
>>>
>>>
>>> On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j...@johnchilton.com> wrote:
>>>
>>>> Hi all, I am trying to set up a new development environment on a Mac
>>>> (OS
>>>> X
>>>> 10.8.4).
>>>>
>>>> I have checked out the source using NetBeans builtin SVN support and I
>>>> have installed ProtoBuf 2.5.0.
>>>>
>>>> Now I am running "mvn clean" and "mvn install". "mvn install" fails,
>>>> listing some failures and one error.
>>>>
>>>> I am wondering if someone can help me sort this out. Some of the
>>>> output
>>>> of
>>>> "mvn install" is below (note the "Tests in error" section too).
>>>>
>>>> Thanks,
>>>>
>>>> John Chilton
>>>>
>>>>
>>>>
>>>> Results :
>>>>
>>>> Failed tests:
>>>> testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
>>>> The directory xSubDir *should* not have been deleted. expected:<true>
>>>> but
>>>> was:<false>
>>>> testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
>>>> directory xSubDir *should* not have been deleted. expected:<true> but
>>>> was:<false>
>>>>
>>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
>>>> Should throw IOException
>>>> test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>> build/test/temp/RELATIVE1 in
>>>> build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
>>>>
>>>> testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for build/test/temp/RELATIVE2 in
>>>> build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
>>>> testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for build/test/temp/RELATIVE3 in
>>>> build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
>>>> test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
>>>> - FAILED!
>>>>
>>>> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
>>>> - FAILED!
>>>> testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
>>>> - FAILED!
>>>> test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>>
>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
>>>> - FAILED!
>>>>
>>>> testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for
>>>>
>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
>>>> - FAILED!
>>>> testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>>> Checking for
>>>>
>>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
>>>> in
>>>>
>>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
>>>> - FAILED!
>>>> testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
>>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
>>>> expected:<[root]> but was:<[]>
>>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
>>>> expected:<[root]> but was:<[]>
>>>>
>>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
>>>> Should throw IOException
>>>> testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
>>>> TrashRoot (file:/Users/John/.Trash/Current) to exist in file
>>>> system:file:///
>>>> testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>> testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>> testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>> testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>> testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>> testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
>>>> checkDir success
>>>>
>>>> Tests in error:
>>>> testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
>>>> supported on this platform
>>>>
>>>> Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
>>>>
>>>>
>>>
>>>
>>> --
>>> [image: cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
>>> First Option Software Ltd
>>> Signal House
>>> Jacklyns Lane
>>> Alresford
>>> SO24 9JJ
>>> Tel: +44 (0)1962 738232
>>> Mob: +44 (0)7710 160458
>>> Fax: +44 (0)1962 600112
>>> Web: www.b
>>> <http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
>>>
>>> --
>>> ____________________________________________________
>>>
>>> This is confidential, non-binding and not company endorsed - see full
>>> terms
>>> at www.fosolutions.co.uk/emailpolicy.html
>>> First Option Software Ltd Registered No. 06340261
>>> Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
>>> ____________________________________________________
>>>
>>>
>>
>>
>
>
>
> --
> - Tsuyoshi
>
Re: New dev. environment issue
Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi John,
I'm developing Hadoop on OS X(10.8.4). Sometimes tests fail on OS X,
though I confirmed that TestFileUtil of current trunk works well on my
environment. Jenkins CI of Hadoop runs on Linux, so I'll recommend you
to prepare Linux server. I also avoid the problem by preparing linux
servers on virtual machines.
Thanks,
Tsuyoshi
On Wed, Sep 4, 2013 at 1:27 AM, John Chilton <j...@johnchilton.com> wrote:
> Hi Matt,
>
> I was hoping to be able to test at some point because I would like to
> contribute.
>
> John
>
> On Tue, September 3, 2013 12:10 am, Matt Fellows wrote:
>> You could run:
>> mvn install -DskipTests if you are just looking to build it, and don't
>> care
>> about the tests?
>>
>>
>> On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j...@johnchilton.com> wrote:
>>
>>> Hi all, I am trying to set up a new development environment on a Mac (OS
>>> X
>>> 10.8.4).
>>>
>>> I have checked out the source using NetBeans builtin SVN support and I
>>> have installed ProtoBuf 2.5.0.
>>>
>>> Now I am running "mvn clean" and "mvn install". "mvn install" fails,
>>> listing some failures and one error.
>>>
>>> I am wondering if someone can help me sort this out. Some of the output
>>> of
>>> "mvn install" is below (note the "Tests in error" section too).
>>>
>>> Thanks,
>>>
>>> John Chilton
>>>
>>>
>>>
>>> Results :
>>>
>>> Failed tests: testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
>>> The directory xSubDir *should* not have been deleted. expected:<true>
>>> but
>>> was:<false>
>>> testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
>>> directory xSubDir *should* not have been deleted. expected:<true> but
>>> was:<false>
>>>
>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
>>> Should throw IOException
>>> test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>> build/test/temp/RELATIVE1 in
>>> build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
>>>
>>> testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for build/test/temp/RELATIVE2 in
>>> build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
>>> testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for build/test/temp/RELATIVE3 in
>>> build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
>>> test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
>>> - FAILED!
>>>
>>> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
>>> - FAILED!
>>> testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
>>> - FAILED!
>>> test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>>
>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
>>> - FAILED!
>>>
>>> testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for
>>>
>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
>>> - FAILED!
>>> testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>>> Checking for
>>>
>>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
>>> in
>>>
>>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
>>> - FAILED!
>>> testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
>>> expected:<[root]> but was:<[]>
>>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
>>> expected:<[root]> but was:<[]>
>>>
>>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
>>> Should throw IOException
>>> testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
>>> TrashRoot (file:/Users/John/.Trash/Current) to exist in file
>>> system:file:///
>>> testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>> testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>> testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>> testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>> testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>> testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
>>> checkDir success
>>>
>>> Tests in error:
>>> testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
>>> supported on this platform
>>>
>>> Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
>>>
>>>
>>
>>
>> --
>> [image: cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
>> First Option Software Ltd
>> Signal House
>> Jacklyns Lane
>> Alresford
>> SO24 9JJ
>> Tel: +44 (0)1962 738232
>> Mob: +44 (0)7710 160458
>> Fax: +44 (0)1962 600112
>> Web: www.b
>> <http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
>>
>> --
>> ____________________________________________________
>>
>> This is confidential, non-binding and not company endorsed - see full
>> terms
>> at www.fosolutions.co.uk/emailpolicy.html
>> First Option Software Ltd Registered No. 06340261
>> Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
>> ____________________________________________________
>>
>>
>
>
--
- Tsuyoshi
Re: New dev. environment issue
Posted by John Chilton <j...@johnchilton.com>.
Hi Matt,
I was hoping to be able to test at some point because I would like to
contribute.
John
On Tue, September 3, 2013 12:10 am, Matt Fellows wrote:
> You could run:
> mvn install -DskipTests if you are just looking to build it, and don't
> care
> about the tests?
>
>
> On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j...@johnchilton.com> wrote:
>
>> Hi all, I am trying to set up a new development environment on a Mac (OS
>> X
>> 10.8.4).
>>
>> I have checked out the source using NetBeans builtin SVN support and I
>> have installed ProtoBuf 2.5.0.
>>
>> Now I am running "mvn clean" and "mvn install". "mvn install" fails,
>> listing some failures and one error.
>>
>> I am wondering if someone can help me sort this out. Some of the output
>> of
>> "mvn install" is below (note the "Tests in error" section too).
>>
>> Thanks,
>>
>> John Chilton
>>
>>
>>
>> Results :
>>
>> Failed tests: testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
>> The directory xSubDir *should* not have been deleted. expected:<true>
>> but
>> was:<false>
>> testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
>> directory xSubDir *should* not have been deleted. expected:<true> but
>> was:<false>
>>
>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
>> Should throw IOException
>> test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>> build/test/temp/RELATIVE1 in
>> build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
>>
>> testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for build/test/temp/RELATIVE2 in
>> build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
>> testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for build/test/temp/RELATIVE3 in
>> build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
>> test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
>> - FAILED!
>>
>> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
>> - FAILED!
>> testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
>> - FAILED!
>> test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>>
>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
>> - FAILED!
>>
>> testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for
>>
>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
>> - FAILED!
>> testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
>> Checking for
>>
>> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
>> in
>>
>> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
>> - FAILED!
>> testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
>> expected:<[root]> but was:<[]>
>> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
>> expected:<[root]> but was:<[]>
>>
>> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
>> Should throw IOException
>> testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
>> TrashRoot (file:/Users/John/.Trash/Current) to exist in file
>> system:file:///
>> testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>> testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>> testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>> testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>> testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>> testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
>> checkDir success
>>
>> Tests in error:
>> testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
>> supported on this platform
>>
>> Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
>>
>>
>
>
> --
> [image: cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
> First Option Software Ltd
> Signal House
> Jacklyns Lane
> Alresford
> SO24 9JJ
> Tel: +44 (0)1962 738232
> Mob: +44 (0)7710 160458
> Fax: +44 (0)1962 600112
> Web: www.b
> <http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
>
> --
> ____________________________________________________
>
> This is confidential, non-binding and not company endorsed - see full
> terms
> at www.fosolutions.co.uk/emailpolicy.html
> First Option Software Ltd Registered No. 06340261
> Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
> ____________________________________________________
>
>
Re: New dev. environment issue
Posted by Matt Fellows <ma...@bespokesoftware.com>.
You could run:
mvn install -DskipTests if you are just looking to build it, and don't care
about the tests?
On Tue, Sep 3, 2013 at 2:46 AM, John Chilton <j...@johnchilton.com> wrote:
> Hi all, I am trying to set up a new development environment on a Mac (OS X
> 10.8.4).
>
> I have checked out the source using NetBeans builtin SVN support and I
> have installed ProtoBuf 2.5.0.
>
> Now I am running "mvn clean" and "mvn install". "mvn install" fails,
> listing some failures and one error.
>
> I am wondering if someone can help me sort this out. Some of the output of
> "mvn install" is below (note the "Tests in error" section too).
>
> Thanks,
>
> John Chilton
>
>
>
> Results :
>
> Failed tests: testFailFullyDelete(org.apache.hadoop.fs.TestFileUtil):
> The directory xSubDir *should* not have been deleted. expected:<true> but
> was:<false>
> testFailFullyDeleteContents(org.apache.hadoop.fs.TestFileUtil): The
> directory xSubDir *should* not have been deleted. expected:<true> but
> was:<false>
>
> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.TestFSMainOperationsLocalFileSystem):
> Should throw IOException
> test0[0](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
> build/test/temp/RELATIVE1 in
> build/test/temp/RELATIVE0/block2054571533301913960.tmp - FAILED!
>
> testROBufferDirAndRWBufferDir[0](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for build/test/temp/RELATIVE2 in
> build/test/temp/RELATIVE1/block3744072557851527092.tmp - FAILED!
> testRWBufferDirBecomesRO[0](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for build/test/temp/RELATIVE3 in
> build/test/temp/RELATIVE4/block2732071443989594601.tmp - FAILED!
> test0[1](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE0/block446501941002298981.tmp
> - FAILED!
>
> testROBufferDirAndRWBufferDir[1](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE2
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE1/block260253564478200923.tmp
> - FAILED!
> testRWBufferDirBecomesRO[1](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE3
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/ABSOLUTE4/block6257562622887355091.tmp
> - FAILED!
> test0[2](org.apache.hadoop.fs.TestLocalDirAllocator): Checking for
>
> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED0/block1484460518022294080.tmp
> - FAILED!
>
> testROBufferDirAndRWBufferDir[2](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for
>
> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED2
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED1/block6591077298608887273.tmp
> - FAILED!
> testRWBufferDirBecomesRO[2](org.apache.hadoop.fs.TestLocalDirAllocator):
> Checking for
>
> file:/Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED3
> in
>
> /Users/John/NetBeansProjects/hadoop/trunk/hadoop-common-project/hadoop-common/build/test/temp/QUALIFIED4/block3348932985968175704.tmp
> - FAILED!
> testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem)
> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileContext):
> expected:<[root]> but was:<[]>
> testDanglingLink(org.apache.hadoop.fs.TestSymlinkLocalFSFileSystem):
> expected:<[root]> but was:<[]>
>
> testListStatusThrowsExceptionForUnreadableDir(org.apache.hadoop.fs.viewfs.TestFSMainOperationsLocalFileSystem):
> Should throw IOException
> testTrash(org.apache.hadoop.fs.viewfs.TestViewFsTrash): Expected
> TrashRoot (file:/Users/John/.Trash/Current) to exist in file
> system:file:///
> testCheckDir_notReadable(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
> testCheckDir_notWritable(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
> testCheckDir_notListable(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
> testCheckDir_notReadable_local(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
> testCheckDir_notWritable_local(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
> testCheckDir_notListable_local(org.apache.hadoop.util.TestDiskChecker):
> checkDir success
>
> Tests in error:
> testStatFileNotFound(org.apache.hadoop.fs.TestStat): stat is not
> supported on this platform
>
> Tests run: 2134, Failures: 23, Errors: 1, Skipped: 75
>
>
--
[image: cid:1CBF4038-3F0F-4FC2-A1FF-6DC81B8B6F94]
First Option Software Ltd
Signal House
Jacklyns Lane
Alresford
SO24 9JJ
Tel: +44 (0)1962 738232
Mob: +44 (0)7710 160458
Fax: +44 (0)1962 600112
Web: www.b <http://www.fosolutions.co.uk/>espokesoftware.com<http://bespokesoftware.com/>
--
____________________________________________________
This is confidential, non-binding and not company endorsed - see full terms
at www.fosolutions.co.uk/emailpolicy.html
First Option Software Ltd Registered No. 06340261
Signal House, Jacklyns Lane, Alresford, Hampshire, SO24 9JJ, U.K.
____________________________________________________