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
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]
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".
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
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
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