Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> New dev. environment issue


Copy link to this message
-
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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB