Вопрос

OK. Here's the problem and it's driving me crazy!!! I followed the instruction online, installed hadoop and when running the text it said snappy local library can't be loaded. It's said I have to install snappy first and then install hadoop-snappy. I download snappy-1.0.4 from google code and do the following: cd ../snappy-1.0.4 ./configure make sudo make install

Then it's the problem when: mvn package -Dsnappy.prefix=/usr/local

The post online said by default the snappy should be installed in the /usr/local. But I got the following error and no matter what I change the path, still get erro:

The goal you specified required a project to execute but there's no POM in the directory. Please verify you invoked the maven from the correct directory.

It's the wrong directory of mvn? Or improper of snappy? And it said lack of pom that should be a .xml that in no where I can find..

Please help!

Это было полезно?

Решение

Alright, so looking at that page, you are in the wrong directory.

The directory you should be in for that step is "hadoop-snappy" which you can see has a pom.xml, you can verify by looking at the github, https://github.com/electrum/hadoop-snappy.

So after you follow these steps from the guide you showed me.

Download it(hadoop-snappy) from GitHub
Install libtool, make sure ‘libtoolize’ works
Install Maven 3 if necessary

Change your directory to hadoop-snappy and run the command you were trying before.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top