[jira] [Commented] (HADOOP-11560) Unable to compile Source code

2015-02-15 Thread Chris Nauroth (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14322182#comment-14322182
 ] 

Chris Nauroth commented on HADOOP-11560:


We're working on adding the 32-bit build targets in HADOOP-9922.  I'm resolving 
this as duplicate.

 Unable to compile Source code
 -

 Key: HADOOP-11560
 URL: https://issues.apache.org/jira/browse/HADOOP-11560
 Project: Hadoop Common
  Issue Type: Bug
  Components: build, native
 Environment: Windows 7 Professional
Reporter: Gopi

 I have done the Setup for all of the below:
 Hadoop source: C:\Practice\Hadoop\hadoop-2.6.0-src
 * Windows System 7 Professional
 * JDK 1.6
 * Apache Maven 3.2.5
 * ProtocolBuffer 2.5.0 (protoc-2.5.0-win32.zip [protoc.exe])
 * CMake (cmake-3.1.2-win32-x86.exe)
 * Windows SDK 7.1
 * Unix command-line tools installed Cygwin
 I am getting the below build error
 ==
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 44.521 s
 [INFO] Finished at: 2015-02-07T00:35:14-05:00
 [INFO] Final Memory: 54M/129M
 [INFO] 
 
 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec 
 (compile-ms-winutils) on project hadoop-common: Command execution failed. 
 Process exited with an error: 1(Exit value: 1) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on 
 project hadoop-common: Command execution failed.
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
 failed.
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
 error: 1(Exit value: 1)
 at 
 org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
 at 
 org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
 at 
 org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589)
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335)
 ... 21 more
 [ERROR]
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :hadoop-common
 C:\Practice\Hadoop\hadoop-2.6.0-src



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HADOOP-11560) Unable to compile Source code

2015-02-07 Thread Gopi (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14310793#comment-14310793
 ] 

Gopi commented on HADOOP-11560:
---

Thats correct I am trying to build Hadoop on Windows 7 (win32). I went thru
HADOOP-11425 but I dont see a clear direction. Need to l know what else is
to be setup so that I can complete build and start working on actual
implementation.

I am investing lot of time in building hadoop itself on window, I still
have not started my actual implementation work. Please help.

On Sat, Feb 7, 2015 at 1:36 AM, Brahma Reddy Battula (JIRA) j...@apache.org



 Unable to compile Source code
 -

 Key: HADOOP-11560
 URL: https://issues.apache.org/jira/browse/HADOOP-11560
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
 Environment: Windows 7 Professional
Reporter: Gopi

 I have done the Setup for all of the below:
 Hadoop source: C:\Practice\Hadoop\hadoop-2.6.0-src
 * Windows System 7 Professional
 * JDK 1.6
 * Apache Maven 3.2.5
 * ProtocolBuffer 2.5.0 (protoc-2.5.0-win32.zip [protoc.exe])
 * CMake (cmake-3.1.2-win32-x86.exe)
 * Windows SDK 7.1
 * Unix command-line tools installed Cygwin
 I am getting the below build error
 ==
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 44.521 s
 [INFO] Finished at: 2015-02-07T00:35:14-05:00
 [INFO] Final Memory: 54M/129M
 [INFO] 
 
 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec 
 (compile-ms-winutils) on project hadoop-common: Command execution failed. 
 Process exited with an error: 1(Exit value: 1) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on 
 project hadoop-common: Command execution failed.
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
 failed.
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
 error: 1(Exit value: 1)
 at 
 org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
 at 
 org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
 at 
 org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589)
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335)
 ... 21 more
 [ERROR]
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 

[jira] [Commented] (HADOOP-11560) Unable to compile Source code

2015-02-07 Thread Brahma Reddy Battula (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14310838#comment-14310838
 ] 

Brahma Reddy Battula commented on HADOOP-11560:
---

Hello [~talk2gopijj],

AFAIK, Directly we can't compile hadoop code in win32, you may need do some 
extra steps  like following

1) Apply HADOOP-9922 patch.
2) install winsdk8.0 and visual studio-2013.

I am not pretty sure,you can try..

In the future please use a mailing list. JIRA is for reporting a bug.

Mailing list URL : http://hadoop.apache.org/mailing_lists.html

 Unable to compile Source code
 -

 Key: HADOOP-11560
 URL: https://issues.apache.org/jira/browse/HADOOP-11560
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
 Environment: Windows 7 Professional
Reporter: Gopi

 I have done the Setup for all of the below:
 Hadoop source: C:\Practice\Hadoop\hadoop-2.6.0-src
 * Windows System 7 Professional
 * JDK 1.6
 * Apache Maven 3.2.5
 * ProtocolBuffer 2.5.0 (protoc-2.5.0-win32.zip [protoc.exe])
 * CMake (cmake-3.1.2-win32-x86.exe)
 * Windows SDK 7.1
 * Unix command-line tools installed Cygwin
 I am getting the below build error
 ==
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 44.521 s
 [INFO] Finished at: 2015-02-07T00:35:14-05:00
 [INFO] Final Memory: 54M/129M
 [INFO] 
 
 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec 
 (compile-ms-winutils) on project hadoop-common: Command execution failed. 
 Process exited with an error: 1(Exit value: 1) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on 
 project hadoop-common: Command execution failed.
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
 failed.
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
 error: 1(Exit value: 1)
 at 
 org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
 at 
 org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
 at 
 org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589)
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335)
 ... 21 more
 [ERROR]
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 

[jira] [Commented] (HADOOP-11560) Unable to compile Source code

2015-02-06 Thread Brahma Reddy Battula (JIRA)

[ 
https://issues.apache.org/jira/browse/HADOOP-11560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14310575#comment-14310575
 ] 

Brahma Reddy Battula commented on HADOOP-11560:
---

is this win32 bit or 64 bit machine..? Mostly it will be win32 platfrom, please 
confirm the same..

If it is win32 , please check this jira HADOOP-11425..

 Unable to compile Source code
 -

 Key: HADOOP-11560
 URL: https://issues.apache.org/jira/browse/HADOOP-11560
 Project: Hadoop Common
  Issue Type: Bug
  Components: build
 Environment: Windows 7 Professional
Reporter: Gopi

 I have done the Setup for all of the below:
 Hadoop source: C:\Practice\Hadoop\hadoop-2.6.0-src
 * Windows System 7 Professional
 * JDK 1.6
 * Apache Maven 3.2.5
 * ProtocolBuffer 2.5.0 (protoc-2.5.0-win32.zip [protoc.exe])
 * CMake (cmake-3.1.2-win32-x86.exe)
 * Windows SDK 7.1
 * Unix command-line tools installed Cygwin
 I am getting the below build error
 ==
 [INFO] BUILD FAILURE
 [INFO] 
 
 [INFO] Total time: 44.521 s
 [INFO] Finished at: 2015-02-07T00:35:14-05:00
 [INFO] Final Memory: 54M/129M
 [INFO] 
 
 [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec 
 (compile-ms-winutils) on project hadoop-common: Command execution failed. 
 Process exited with an error: 1(Exit value: 1) - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
 goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (compile-ms-winutils) on 
 project hadoop-common: Command execution failed.
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
 at 
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
 at 
 org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
 at 
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at 
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
 Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
 failed.
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345)
 at 
 org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
 at 
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
 ... 19 more
 Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
 error: 1(Exit value: 1)
 at 
 org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
 at 
 org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
 at 
 org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589)
 at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335)
 ... 21 more
 [ERROR]
 [ERROR]
 [ERROR] For more information about the errors and possible solutions, please 
 read the following articles:
 [ERROR] [Help 1] 
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the 
 command
 [ERROR]   mvn goals -rf :hadoop-common
 C:\Practice\Hadoop\hadoop-2.6.0-src



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)