Open ecsho opened 8 years ago
-> First of all the latest hipi version is built using gradle instead of ant. So in hipi folder there will be build.gradle file, build it using gradle. -> In your example folder create build.gradle file and add dependency as dependencies{ compile files (libs/hipi-2.1.1.jar') } then build the jar. This should work
I'm newer of the Hipi platform.
1) I'm using Hipi 2.1, Hadoop 2.6.0 and OpenCV 2.4.11.
2) I have followed the instruction in http://hipi.cs.virginia.edu/gettingstarted.html to install HIPI (choose option 1 of "Clone the latest HIPI distribution from GitHub and build from source. (Recommended)".
3) Then, I download the project in https://github.com/GopiKrishnan-V/hipi-hadoop . Moreover, the build.xml file has been configured per the path of software in my server as follow:
hduser@ip-172-31-25-72:/opt/hipi/hipi-hadoop$ cat build.xml
4) Then, I run the ant downloader to complie the downloader program. However, it is failed with the following messages, when the ant is trying to locate HIPI packages, e.g. hipi.image.ImageHeader.
hduser@ip-172-31-25-72:/opt/hipi/hipi-hadoop$ ant downloader Buildfile: /opt/hipi/hipi-hadoop/build.xml
setup:
test_settings:
downloader: [mkdir] Created dir: /opt/hipi/hipi-hadoop/bin [echo] hadoop.classpath=/opt/hadoop-2.6.0/hadoop-core-2.6.0.jar [javac] Compiling 3 source files to /opt/hipi/hipi-hadoop/bin [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:3: er ror: package hipi.image.ImageHeader does not exist [javac] import hipi.image.ImageHeader.ImageType; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:4: er ror: package hipi.imagebundle does not exist [javac] import hipi.imagebundle.HipiImageBundle; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:12: e rror: package org.apache.hadoop.conf does not exist [javac] import org.apache.hadoop.conf.Configuration; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:13: e rror: package org.apache.hadoop.conf does not exist [javac] import org.apache.hadoop.conf.Configured; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:14: e rror: package org.apache.hadoop.fs does not exist [javac] import org.apache.hadoop.fs.FileSystem; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:15: e rror: package org.apache.hadoop.fs does not exist [javac] import org.apache.hadoop.fs.Path; [javac] ^ [javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:16: e rror: package org.apache.hadoop.io does not exist [javac] import org.apache.hadoop.io.BooleanWritable; [javac] ^
[javac] /opt/hipi/hipi-hadoop/hipi/examples/downloader/Downloader.java:17: e rror: package org.apache.hadoop.io does not exist
I suspect there is something wrong with my "build HIPI library" process. Pls. enable the path name and file name of such HIPI library, if the build HIPI process is completed successfully.
Thanks for your assistance in advance.