hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brahma Reddy Battula <brahmareddy.batt...@hotmail.com>
Subject Re: Problems compiling hadoop trunk on windows
Date Thu, 02 Feb 2017 01:09:46 GMT

Glad to hear that it's worked for you..


I think problem with VS2015 Or .NET framework.But I never tried with VS2015.


Compilation can be success  with VS2010 and SDK7.1 (.NET 4.0).





Thanks And Regards
Brahma Reddy Battula


________________________________
From: Arun Suresh <asuresh@apache.org>
Sent: Wednesday, February 1, 2017 9:37 AM
To: Brahma Reddy Battula
Cc: Hadoop Common; yarn-dev@hadoop.apache.org; Hdfs-dev
Subject: Re: Problems compiling hadoop trunk on windows

Thanks Brahma..
That worked.. unfortunately, now the compile complains that I do not have
the right sdk, even though I have VS 2015, win SDK 8.1 and SDK 7.1
installed.

Cheers
-Arun

On Sun, Jan 29, 2017 at 7:31 PM, Brahma Reddy Battula <
brahmareddy.battula@huawei.com> wrote:

> It might be problem with maven repository, What's your maven repository
> path..?
>
> May be you can change to shorter path and check.
>
>
>
> Regards
> Brahma Reddy Battula
>
> -----Original Message-----
> From: Arun Suresh [mailto:asuresh@apache.org]
> Sent: 29 January 2017 03:15
> To: Hadoop Common; yarn-dev@hadoop.apache.org; Hdfs-dev
> Subject: Problems compiling hadoop trunk on windows
>
> Hi
>
> I was wondering if folks who compile Hadoop trunk on windows regularly
> have hit this issue:
>
> [INFO] --- native-maven-plugin:1.0-alpha-8:javah (default) @ hadoop-common
> ---
> [INFO] cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_121\bin\javah" -d
> C:\Users\arsuresh\stuff\hadoop\hadoop-common-project\
> hadoop-common\target\native\javah
> -classpath org.apache.hadoop.util.NativeCrc32"
> ....
> ....
> *The command line is too long.*
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hadoop Main ................................. SUCCESS [
> 1.232 s]
> .....
> .....
> INFO] Apache Hadoop Common ............................... FAILURE [
> 20.245 s] .....
> .....
> [ERROR] Failed to execute goal
> org.codehaus.mojo:native-maven-plugin:1.0-alpha-8:javah (default) on
> project hadoop-common: Error running javah command: Error executing command
> line. Exit code:1 -> [Help 1]
>
> It looks like the arguments passed to 'javah' causes the command line to
> grow too long. I tried moving the root dir to C:\hadoopo, but that doesnt
> work either. Is there some config I need to set before compiling ?
>
> Cheers
> -Arun
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message