由于编译到一半突然停电了,导致重新编译一直出错,
http://lucene.472066.n3.nabble.com/Unable-to-load-native-hadoop-library-for-your-platform-td4117072.html
You can build your own distribution that includes native libraries using the following steps:
1) Install developer tools and dependencies:
1a) From repositories:
apt-get install gcc g++ make maven cmake zlib zlib1g-dev
for RedHat environments, you can probably use a similar yum line:
yum install gcc g++ make maven cmake zlib zlib-devel
There may be some other dependencies or slightly different package names depending on what you already have installed and what OS you are running. If so, some google-able errors will pop up during the rest of the process.