hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hbase/IvyPrimer" by AndrewPurtell
Date Fri, 15 Jan 2010 18:33:32 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hbase/IvyPrimer" page has been changed by AndrewPurtell.


  Usually this happens when the publisher republishes the binary in the repository (for the
same version, after a release) making the client cache out of sync, with the server.  For
most of the open source projects will well-defined release process, this does not happen.

+ Also, on development branches we may be tracking snapshots of Hadoop Core. It is possible
that more than one snapshot may become locally cached, leading to odd test failures and apparent
versioning problems, e.g.:
+     {{{
+  Testcase: testEmptyMetaInfo took 2.237 sec
+           Caused an ERROR
+  org.apache.hadoop.ipc.RPC.waitForProxy(Ljava/lang/Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/ipc/VersionedProtocol;
+  java.lang.NoSuchMethodError: org.apache.hadoop.ipc.RPC.waitForProxy(Ljava/lang/Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/conf/Configuration;)Lorg/apache/hadoop/ipc/VersionedProtocol;
+           at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:283)
+ [...]
+ }}}
+ To clear out Hadoop Core snapshots, you can do
+   * $ rm -rf ~/.ivy2/cache/org.apache.hadoop/
+ as opposed to everything else in the cache.
  === Question 4: I cannot connect to the internet from the build server. What are the options
now? ===
   * Set up a directory structure similar to a repository listed (Say '''http://repo2.maven.org/maven2/''').

View raw message