uvagfx / hipi

HIPI: Hadoop Image Processing Interface
http://hipi.cs.virginia.edu
BSD 3-Clause "New" or "Revised" License
133 stars 82 forks source link

Compilation issues #1

Open aishraj opened 11 years ago

aishraj commented 11 years ago

While building the latest version of the code using ant compile, building fails. Here is the error log which I get

Buildfile: /home/hduser/hipi/build.xml

setup:

test_settings:

compile:
    [javac] Compiling 33 source files to /home/hduser/hipi/bin
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:17: package com.drew.metadata does not exist
    [javac] import com.drew.metadata.Directory;
    [javac]                         ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:18: package com.drew.metadata does not exist
    [javac] import com.drew.metadata.Metadata;
    [javac]                         ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:19: package com.drew.metadata does not exist
    [javac] import com.drew.metadata.Tag;
    [javac]                         ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:7: package com.drew.imaging.jpeg does not exist
    [javac] import com.drew.imaging.jpeg.JpegMetadataReader;
    [javac]                             ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:8: package com.drew.imaging.jpeg does not exist
    [javac] import com.drew.imaging.jpeg.JpegProcessingException;
    [javac]                             ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:9: package com.drew.metadata does not exist
    [javac] import com.drew.metadata.Metadata;
    [javac]                         ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:33: cannot find symbol
    [javac] symbol  : class Metadata
    [javac] location: class hipi.image.io.MetadataReader
    [javac]     public Metadata extract() throws JpegProcessingException {
    [javac]            ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:33: cannot find symbol
    [javac] symbol  : class JpegProcessingException
    [javac] location: class hipi.image.io.MetadataReader
    [javac]     public Metadata extract() throws JpegProcessingException {
    [javac]                                      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:3: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:13: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:14: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AllTests.java:3: package org.junit.runner does not exist
    [javac] import org.junit.runner.RunWith;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AllTests.java:4: package org.junit.runners does not exist
    [javac] import org.junit.runners.Suite;
    [javac]                         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AllTests.java:6: cannot find symbol
    [javac] symbol: class RunWith
    [javac] @RunWith(Suite.class)
    [javac]  ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AllTests.java:7: package Suite does not exist
    [javac] @Suite.SuiteClasses({
    [javac]       ^
    [javac] /home/hduser/hipi/src/hipi/unittest/FloatImageTestCase.java:3: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/FloatImageTestCase.java:15: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:3: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:11: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:3: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:7: package org.junit does not exist
    [javac] import org.junit.Before;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:8: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:6: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:7: package org.junit does not exist
    [javac] import static org.junit.Assume.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:21: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:3: package org.junit does not exist
    [javac] import static org.junit.Assert.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:4: package org.junit does not exist
    [javac] import static org.junit.Assume.*;
    [javac]                        ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:18: package org.junit does not exist
    [javac] import org.junit.Test;
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:20: cannot find symbol
    [javac] symbol  : class Before
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]     @Before
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:28: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:43: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:62: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:73: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/FloatImageTestCase.java:20: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.FloatImageTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:27: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.HipiImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:35: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.HipiImageBundleTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:14: cannot find symbol
    [javac] symbol  : class Before
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]     @Before
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:20: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:29: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:38: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:33: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:58: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:82: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:28: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:53: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:77: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]     @Test
    [javac]      ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:73: cannot find symbol
    [javac] symbol  : class Metadata
    [javac] location: class hipi.image.io.JPEGImageUtil
    [javac]             Metadata metadata = reader.extract();
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:76: cannot find symbol
    [javac] symbol  : class Directory
    [javac] location: class hipi.image.io.JPEGImageUtil
    [javac]                 Directory directory = (Directory)directories.next();
    [javac]                 ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:76: cannot find symbol
    [javac] symbol  : class Directory
    [javac] location: class hipi.image.io.JPEGImageUtil
    [javac]                 Directory directory = (Directory)directories.next();
    [javac]                                        ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:79: cannot find symbol
    [javac] symbol  : class Tag
    [javac] location: class hipi.image.io.JPEGImageUtil
    [javac]                     Tag tag = (Tag)tags.next();
    [javac]                     ^
    [javac] /home/hduser/hipi/src/hipi/image/io/JPEGImageUtil.java:79: cannot find symbol
    [javac] symbol  : class Tag
    [javac] location: class hipi.image.io.JPEGImageUtil
    [javac]                     Tag tag = (Tag)tags.next();
    [javac]                                ^
    [javac] /home/hduser/hipi/src/hipi/image/io/MetadataReader.java:34: cannot find symbol
    [javac] symbol  : variable JpegMetadataReader
    [javac] location: class hipi.image.io.MetadataReader
    [javac]         return JpegMetadataReader.readMetadata(_ubis);
    [javac]                ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:37: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]             assertEquals(count + " image fails", source, image);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:52: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]             assertEquals(count + " image, first trial fails", source, image);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:54: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]             assertEquals(count + " image, second trial fails", source, image);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:56: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]             assertEquals(count + " image, third trial fails", source, image);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:69: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertEquals("skip image fails", source, image);
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:78: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("first trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:79: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("second trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:80: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("third trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:84: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertEquals("first image fails", source, image);
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:85: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("first trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:86: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("second trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:87: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertTrue("third trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:91: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertEquals("second image fails", source, image);
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:92: cannot find symbol
    [javac] symbol  : method assertFalse(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertFalse("first trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:93: cannot find symbol
    [javac] symbol  : method assertFalse(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertFalse("second trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/AbstractImageBundleTestCase.java:94: cannot find symbol
    [javac] symbol  : method assertFalse(java.lang.String,boolean)
    [javac] location: class hipi.unittest.AbstractImageBundleTestCase
    [javac]         assertFalse("third trial fail to assert hasNext", aib.hasNext());
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/FloatImageTestCase.java:34: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.FloatImageTestCase
    [javac]             assertEquals(fileName[i] + " writable test fails", image, newImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:31: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,long,long)
    [javac] location: class hipi.unittest.HipiImageBundleTestCase
    [javac]         assertEquals("the first offset should be the size of first image plus 8", (long) 128037 + 8, (long) offsets.get(0));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiImageBundleTestCase.java:32: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,long,long)
    [javac] location: class hipi.unittest.HipiImageBundleTestCase
    [javac]         assertEquals("the second offset should be the size of data file", (long) 171236, (long) offsets.get(1));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:23: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(false, job.getConfiguration().getBoolean("mapred.map.tasks.speculative.execution", true));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:26: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(true, job.getConfiguration().getBoolean("mapred.map.tasks.speculative.execution", false));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:32: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(false, job.getConfiguration().getBoolean("mapred.reduce.tasks.speculative.execution", true));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:35: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(true, job.getConfiguration().getBoolean("mapred.reduce.tasks.speculative.execution", false));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:41: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(false, job.getConfiguration().getBoolean("mapred.compress.map.output", true));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/HipiJobTestCase.java:44: cannot find symbol
    [javac] symbol  : method assertEquals(boolean,boolean)
    [javac] location: class hipi.unittest.HipiJobTestCase
    [javac]         assertEquals(true, job.getConfiguration().getBoolean("mapred.compress.map.output", false));
    [javac]         ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:47: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,java.lang.String,java.lang.String)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertEquals("exif model not correct", model[i].trim(), header.getEXIFInformation("Model").trim());
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:48: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertEquals("width not correct", width[i], header.width);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:49: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertEquals("height not correct", height[i], header.height);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:50: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertEquals("bit depth not correct", bit_depth[i], header.bitDepth);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:70: cannot find symbol
    [javac] symbol  : method assumeNotNull(hipi.image.FloatImage)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assumeNotNull(ppmImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:73: cannot find symbol
    [javac] symbol  : method assumeNotNull(hipi.image.FloatImage)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assumeNotNull(jpgImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:74: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertEquals(fileName[i] + " decoding fails", ppmImage, jpgImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/JPEGImageUtilTestCase.java:100: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.JPEGImageUtilTestCase
    [javac]             assertTrue(fileName[i] + " PSNR is too low : " + psnr, psnr > 30);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:41: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assertEquals("width not correct", width[i], header.width);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:42: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assertEquals("height not correct", height[i], header.height);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:43: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,int,int)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assertEquals("bit depth not correct", bit_depth[i], header.bitDepth);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:65: cannot find symbol
    [javac] symbol  : method assumeNotNull(hipi.image.FloatImage)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assumeNotNull(ppmImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:68: cannot find symbol
    [javac] symbol  : method assumeNotNull(hipi.image.FloatImage)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assumeNotNull(pngImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:69: cannot find symbol
    [javac] symbol  : method assertEquals(java.lang.String,hipi.image.FloatImage,hipi.image.FloatImage)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assertEquals(fileName[i] + " decoding fails for " + fileName[i], ppmImage, pngImage);
    [javac]             ^
    [javac] /home/hduser/hipi/src/hipi/unittest/PNGImageUtilTestCase.java:95: cannot find symbol
    [javac] symbol  : method assertTrue(java.lang.String,boolean)
    [javac] location: class hipi.unittest.PNGImageUtilTestCase
    [javac]             assertTrue(fileName[i] + " MSE is too high : " + mse, mse == 0);
    [javac]             ^
    [javac] Note: /home/hduser/hipi/src/hipi/imagebundle/HipiImageBundle.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 92 errors

BUILD FAILED
/home/hduser/hipi/build.xml:16: Compile failed; see the compiler error output for details.

Total time: 2 seconds
zorze commented 9 years ago

The junit jar that is being referred in the build.xml was wrong in my case. Have a check on this with the actual jar that is there in the \lib of your hadoop.