Hi Arthur, Do you have snappy libs installed and configured? HBase doesn't come with Snappy. So yo need to have it first.
Shameless plug: http://www.spaggiari.org/index.php/hbase/how-to-install-snappy-with-1#.U_xxSqdZuZY This is for 0.96 but should be very similar for 0.98. I will try it soon and post and update, but keep us posted here so we can support you... JM 2014-08-26 7:34 GMT-04:00 [email protected] <[email protected] >: > Hi, > > I need to install snappy to HBase 0.98.4. (my Hadoop version is 2.4.1) > > Can you please advise what would be wrong? Should my pom.xml be incorrect > and missing something? > > Regards > Arthur > > > Below are my commands: > bash -x ./dev-support/generate-hadoopX-poms.sh 0.98.4 0.98.4-hadoop2 > mvn -f pom.xml.hadoop2 install -DskipTests assembly:single > -Prelease,hadoop-snappy > > Iog: > [INFO] > ------------------------------------------------------------------------ > [INFO] Building HBase - Server 0.98.4-hadoop2 > [INFO] > ------------------------------------------------------------------------ > [WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT > is missing, no dependency information available > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] HBase ............................................. SUCCESS [3.129s] > [INFO] HBase - Common .................................... SUCCESS [3.105s] > [INFO] HBase - Protocol .................................. SUCCESS [0.976s] > [INFO] HBase - Client .................................... SUCCESS [0.925s] > [INFO] HBase - Hadoop Compatibility ...................... SUCCESS [0.183s] > [INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [0.497s] > [INFO] HBase - Prefix Tree ............................... SUCCESS [0.407s] > [INFO] HBase - Server .................................... FAILURE [0.103s] > [INFO] HBase - Testing Util .............................. SKIPPED > [INFO] HBase - Thrift .................................... SKIPPED > [INFO] HBase - Shell ..................................... SKIPPED > [INFO] HBase - Integration Tests ......................... SKIPPED > [INFO] HBase - Examples .................................. SKIPPED > [INFO] HBase - Assembly .................................. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9.939s > [INFO] Finished at: Tue Aug 26 19:23:14 HKT 2014 > [INFO] Final Memory: 61M/2921M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project hbase-server: Could not resolve > dependencies for project org.apache.hbase:hbase-server:jar:0.98.4-hadoop2: > Failure to find org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in > http://maven.oschina.net/content/groups/public/ was cached in the local > repository, resolution will not be reattempted until the update interval of > nexus-osc has elapsed or updates are forced -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :hbase-server > >
