https://code.google.com/p/hadoop-snappy/의 스냅 샷 설치 지침을 따르고 있습니다. 그러나 3 단계를 완료 할 수 없습니다. configure, make, sudo는/usr/local에있는 올바른 dict에 설치 및 기분 좋은 거짓말을합니다. 그래서 다음 단계는 hadoop에 대한 적절한 설치입니다. 그러므로 설명대로hadoop을위한 스 내피 설치가 실패했습니다.
snappy-1.1.2 Tom$ mvn -e package
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.123s
[INFO] Finished at: Wed Mar 05 22:12:10 CET 2014
[INFO] Final Memory: 6M/82M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/Tom/Downloads/snappy-1.1.2). Please verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.MissingProjectException: The goal you specified requires a project to execute but there is no POM in this directory (/Users/Tom/Downloads/snappy-1.1.2). Please verify you invoked Maven from the correct directory.
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:89)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR]
[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/MissingProjectException
따라서 POM 파일이 없습니다. 또한 이따위의 소스 디렉토리에 나는 어떤 POM 파일을 참조하지 않습니다 내가 요구 사항 (maven3, 자바 6 등) fullfilled되어 있는지 확인
snappy-1.1.2 Tom$ ls
AUTHORS config.guess install-sh snappy-sinksource.cc snappy-test.h
COPYING config.h libsnappy.la snappy-sinksource.h snappy.cc
ChangeLog config.h.in libtool snappy-sinksource.lo snappy.h
INSTALL config.log ltmain.sh snappy-sinksource.o snappy.lo
Makefile config.status m4 snappy-stubs-internal.cc snappy.o
Makefile.am config.sub missing snappy-stubs-internal.h snappy_unittest
Makefile.in configure snappy-c.cc snappy-stubs-internal.lo snappy_unittest-snappy-test.o
NEWS configure.ac snappy-c.h snappy-stubs-internal.o snappy_unittest-snappy_unittest.o
README depcomp snappy-c.lo snappy-stubs-public.h snappy_unittest.cc
aclocal.m4 format_description.txt snappy-c.o snappy-stubs-public.h.in stamp-h1
autogen.sh framing_format.txt snappy-internal.h snappy-test.cc testdata
. 그렇다면이 명령을 어떻게 실행시킬 수 있습니까?