Giter Site home page Giter Site logo

Comments (3)

pierre avatar pierre commented on July 19, 2024

The APIs have changed with the latest releases, but it shouldn't be too hard to update the code to the latest version.

Regarding the native function, check https://issues.apache.org/jira/browse/HADOOP-8989.

from hfind.

pierre avatar pierre commented on July 19, 2024

Could you try the following patch?

diff --git a/pom.xml b/pom.xml
index 5c5a9b2..c5dbe30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
     <groupId>com.ning</groupId>
     <artifactId>metrics.hfind</artifactId>
     <packaging>jar</packaging>
-    <version>1.0.2-SNAPSHOT</version>
+    <version>2.0.0-SNAPSHOT</version>
     <name>hfind</name>
     <description>A find implementation for Hadoop</description>
     <url>http://github.com/pierre/hfind</url>
@@ -28,7 +28,7 @@
     </repositories>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <hadoop.version>0.20.2</hadoop.version>
+        <hadoop.version>2.2.0</hadoop.version>
     </properties>
     <dependencies>
         <dependency>
@@ -58,7 +58,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.hadoop</groupId>
-            <artifactId>hadoop-core</artifactId>
+            <artifactId>hadoop-client</artifactId>
             <version>${hadoop.version}</version>
             <exclusions>
                 <exclusion>
@@ -91,6 +91,11 @@
             <classifier>jdk15</classifier>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>oro</groupId>
+            <artifactId>oro</artifactId>
+            <version>2.0.8</version>
+        </dependency>
     </dependencies>
     <build>
         <plugins>

from hfind.

michael-robbins avatar michael-robbins commented on July 19, 2024

It works! Cheers mate!

$> mvn -Dhadoop.version=2.0.0-mr1-cdh4.3.1 clean install
....
Build Output
....
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:18.502s
[INFO] Finished at: Wed Dec 11 11:26:57 EST 2013
[INFO] Final Memory: 29M/72M
[INFO] ------------------------------------------------------------------------

from hfind.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.