hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Suresh <asur...@apache.org>
Subject Problems compiling hadoop trunk on windows
Date Sat, 28 Jan 2017 19:15:00 GMT
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