Hi, I hate this HBase test case from the bottom of my heart, it caused me more trouble than all other integration tests combined.
If you're running on Ubuntu you probably have an entry in your /etc/hosts file that causes this: 127.0.1.1 yourhostname Removing it solved this problem for me. IIRC, you also have to make sure that your machine has a fully qualified domain name (that is, a call to "hostname -f" has to work). Otherwise the test will fail in other interesting ways. Regards, Matthias On Thursday, 2012-11-15, Patrick Hunt wrote: > I just ran through my checklist, everything seems ok, however the > tests are not passing. It hangs when running this: > > Running org.apache.crunch.io.hbase.WordCountHBaseIT > log4j:WARN No appenders could be found for logger > (org.apache.hadoop.conf.Configuration). > log4j:WARN Please initialize the log4j system properly. > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for > further details. > 2012-11-14 23:46:04.544:INFO::Logging to STDERR via org.mortbay.log.StdErrLog > 2012-11-14 23:46:04.649:INFO::jetty-6.1.26 > 2012-11-14 23:46:04.706:INFO::Extract > jar:file:/home/phunt/.m2/repository/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar!/webapps/hdfs > to /tmp/Jetty_localhost_56398_hdfs____.kwmfb9/webapp > 2012-11-14 23:46:05.019:INFO::Started SelectChannelConnector@localhost:56398 > Starting DataNode 0 with dfs.data.dir: > /home/phunt/Downloads/c/apache-crunch-0.4.0-incubating-src/crunch-hbase/target/test-data/e5229aca-dad7-46bc-bb45-327cfee05af7/dfs/data/data1,/home/phunt/Downloads/c/apache-crunch-0.4.0-incubating-src/crunch-hbase/target/test-data/e5229aca-dad7-46bc-bb45-327cfee05af7/dfs/data/data2 > 2012-11-14 23:46:05.271:INFO::jetty-6.1.26 > 2012-11-14 23:46:05.282:INFO::Extract > jar:file:/home/phunt/.m2/repository/org/apache/hadoop/hadoop-core/1.0.3/hadoop-core-1.0.3.jar!/webapps/datanode > to /tmp/Jetty_localhost_33742_datanode____pruwak/webapp > 2012-11-14 23:46:05.453:INFO::Started SelectChannelConnector@localhost:33742 > > That's the last line - after 10+ minutes I ctrl-c'd to kill it. The > cpu seemed not to be used. > > Patrick > > On Mon, Nov 12, 2012 at 7:52 PM, Josh Wills <[email protected]> wrote: > > Mentors, > > > > We need one of you to sign off on the release. > > > > Thanks, > > Josh > > > > On Sun, Nov 11, 2012 at 3:42 PM, Brock Noland <[email protected]> wrote: > > > >> +1 for releasing the tag, built and verified sigs for -src.tar.gz* > >> > >> Brock > >> > >> On Sun, Nov 11, 2012 at 12:11 AM, Ashish <[email protected]> wrote: > >> > +1 > >> > > >> > Downloaded the source, ran the build works fine and ran Rat check > >> > > >> > > >> > On Sun, Nov 11, 2012 at 8:26 AM, Josh Wills <[email protected]> wrote: > >> > > >> >> +1 to releasing. > >> >> > >> >> On Sat, Nov 10, 2012 at 1:27 AM, Gabriel Reid <[email protected] > >> >> >wrote: > >> >> > >> >> > +1 to release. > >> >> > > >> >> > Verified signatures, ran verification tests, and verified that the > >> >> > contents of the source distribution are the same as the listed tag (on > >> >> Mac > >> >> > OS X). > >> >> > > >> >> > - Gabriel > >> >> > > >> >> > On 09 Nov 2012, at 22:11, Matthias Friedrich <[email protected]> wrote: > >> >> > > >> >> > > Hi, > >> >> > > > >> >> > > this is a call for a vote on releasing the following candidate as > >> >> > > Apache Crunch 0.4.0 (incubating). This is our second release at > >> >> > > Apache, and it fixes the following issues, which includes issues > >> >> > > CRUNCH-10[789] that we discovered in RC0: > >> >> > > > >> >> > > > >> >> > > >> >> > >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12313526&version=12323244 > >> >> > > > >> >> > > Additional to our official source release artifacts, we also provide > >> >> > > binary release artifacts for convenience. They are required because > >> we > >> >> > > want to be included in Apache Bigtop. > >> >> > > > >> >> > > Please download, test, and vote by November 13th at 17:00 UTC, which > >> >> > > is a bit longer than usual in case you want to vote from work on > >> >> > > Monday. If you need more time, please tell me. > >> >> > > > >> >> > > Release artifacts: > >> >> > > http://people.apache.org/~mafr/apache-crunch-0.4.0-incubating-rc1/ > >> >> > > > >> >> > > Maven staging repo: > >> >> > > > >> >> https://repository.apache.org/content/repositories/orgapachecrunch-034/ > >> >> > > > >> >> > > The tag to be voted upon: > >> >> > > > >> >> > > >> >> > >> https://git-wip-us.apache.org/repos/asf?p=incubator-crunch.git;a=commit;h=91e6c96899f85245255476f0a5e7d5feb48ddac0 > >> >> > > > >> >> > > PGP keys for the Crunch team: > >> >> > > https://people.apache.org/keys/group/crunch.asc > >> >> > > > >> >> > > Some basic release validation checks: > >> >> > > > >> >> https://cwiki.apache.org/confluence/display/CRUNCH/Validating+a+Release > >> >> > > > >> >> > > Note: Like last time I've had to manually repackage the zip files > >> due > >> >> > > to MASSEMBLY-449. This has been marked as fixed but hasn't been > >> >> > > released yet. > >> >> > > > >> >> > > The release validation document only covers some basics, feel free > >> to > >> >> > > add more checks! > >> >> > > > >> >> > > Regards, > >> >> > > Matthias > >> >> > > >> >> > > >> >> > >> > > >> > > >> > > >> > -- > >> > thanks > >> > ashish > >> > > >> > Blog: http://www.ashishpaliwal.com/blog > >> > My Photo Galleries: http://www.pbase.com/ashishpaliwal > >> > >> > >> > >> -- > >> Apache MRUnit - Unit testing MapReduce - > >> http://incubator.apache.org/mrunit/ > >> > > > > > > > > -- > > Director of Data Science > > Cloudera <http://www.cloudera.com> > > Twitter: @josh_wills <http://twitter.com/josh_wills>
