Hi Ravi, John, Thanks! Yeah, it's the first profile. Now as I tried the build with -Pnative, I saw the build failure. It complains for cmake.
It's also a requirement specified in BUILDING.txt that John pointed out. Thanks!! Ping On Thu, Aug 31, 2017 at 4:03 PM, Ravi Prakash <ravihad...@gmail.com> wrote: > 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 >> > >> > >