hadoop-common Maven build failed on Windows due to too long command line for classpath

2017-08-09 Thread Ping Liu
I cannot make Maven build on hadoop-common successful on Windows. The error shows as follows. ... [INFO] --- native-maven-plugin:1.0-alpha-8:javah (default) @ hadoop-common --- [INFO] cmd.exe /X /C "D:\a\tools\java\jdk1.8.0_45\bin\javah -d D:\apache\hadoop\hadoop-common-project\hadoop-common\targ

Re: hadoop-common Maven build failed on Windows due to too long command line for classpath

2017-08-09 Thread Ping Liu
ms-compiling- > hadoop-trunk-on-windows-td4317688.html > > just googled with "The command line is too long + brahma reddy",got the > above link..:) > > > --Brahma Reddy Battula > > -Original Message- > From: Ping Liu [mailto:pingpinga...@gmail.com]

native folder not found in hadoop-common build on Ubuntu

2017-08-31 Thread Ping Liu
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".

Re: native folder not found in hadoop-common build on Ubuntu

2017-08-31 Thread Ping Liu
line when you built Hadoop? > > On Thu, Aug 31, 2017 at 3:06 PM, Ping Liu 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 f

Re: native folder not found in hadoop-common build on Ubuntu

2017-08-31 Thread Ping Liu
ash wrote: > Please use -Pnative profile > > On Thu, Aug 31, 2017 at 3:53 PM, Ping Liu wrote: > >> Hi John, >> >> Thank you for your quick response. >> >> I used >> >> mvn clean install -DskipTests >> >> I just did a comparison with my

Re: native folder not found in hadoop-common build on Ubuntu

2017-08-31 Thread Ping Liu
additional dependencies) now have enough support to make > winutils optional. > > > > > On Aug 31, 2017, at 4:14 PM, Ping Liu wrote: > > > > Hi Ravi, John, > > > > Thanks! Yeah, it's the first profile. Now as I tried the build with > > -Pnati