Please use -Pnative profile On Thu, Aug 31, 2017 at 3:53 PM, Ping Liu <pingpinga...@gmail.com> wrote:
> Hi John, > > Thank you for your quick response. > > I used > > mvn clean install -DskipTests > > I just did a comparison with my Windows build result. winutils is missing > too. > > So both "native" and "winutils" folders are not generated in target folder, > although it shows BUILD SUCCESS. > > Thanks. > > Ping > > > > > > > > On Thu, Aug 31, 2017 at 3:36 PM, John Zhuge <john.zh...@gmail.com> wrote: > > > Hi Ping, > > > > Thanks for using Hadoop. Linux is Unix-like. Hadoop supports native code > > on Linux. Please read BUILDING.txt in the root of the Hadoop source tree. > > > > Could you provide the entire Maven command line when you built Hadoop? > > > > On Thu, Aug 31, 2017 at 3:06 PM, Ping Liu <pingpinga...@gmail.com> > wrote: > > > >> I built hadoop-common on Ubuntu in my VirtualBox. But in target > folder, I > >> didn't find "native" folder that is supposed to contain the generated > JNI > >> header files for C. On my Windows, native folder is found in target. > >> > >> As I check the POM file, I found "native build only supported on Mac or > >> Unix". Does this mean native is not supported on Linux? > >> > >> Thanks! > >> > >> Ping > >> > > > > > > > > -- > > John > > >