[ 
https://issues.apache.org/jira/browse/HDFS-7724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304958#comment-14304958
 ] 

Steve Loughran commented on HDFS-7724:
--------------------------------------

This isn't a bug; it's a build problem, and one you have locally that nobody 
else is seeing. 

Hadoop 2.6 was built and tested on windows. 

# Make sure that you have followed the latest building on windows instructions 
in BUILDING.txt
# make sure there aren't any references to hadoop on your PATH, or hadoop 
versions in CLASSPATH
# Try purging your maven 2 repository of org.apache.hadoop artifacts

Closing as Invalid: http://wiki.apache.org/hadoop/InvalidJiraIssues

Get on the hadoop developer list and ask for help there, not via a JIRA, which 
is for bug reports

> "no suitable constructor found" while building Hadoop 2.6.0
> -----------------------------------------------------------
>
>                 Key: HDFS-7724
>                 URL: https://issues.apache.org/jira/browse/HDFS-7724
>             Project: Hadoop HDFS
>          Issue Type: Bug
>         Environment: Windows 7
> Java 1.8.0_25
>            Reporter: Venkatasubramaniam Ramakrishnan
>         Attachments: 0202.txt
>
>
> I'm getting the following error while building Hadoop 2.6.0. My objective is 
> to compile Hadoop, and run Pig on it.
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 01:25 min
> [INFO] Finished at: 2015-02-02T14:38:51+05:30
> [INFO] Final Memory: 49M/117M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile 
> (default-compile) on project hadoop-auth-examples: Compilation failure
> [ERROR] 
> D:\h\hadoop-2.6.0-src\hadoop-common-project\hadoop-auth-examples\src\main\java\org\apache\hadoop\security\authentication\examples\WhoClient.java:[36,31]
>  error: no suitable constructor found for AuthenticatedURL(no arguments)
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile 
> (default-compile) on project hadoop-auth-examples: Compilation failure
> D:\h\hadoop-2.6.0-src\hadoop-common-project\hadoop-auth-examples\src\main\java\org\apache\hadoop\security\authentication\examples\WhoClient.java:[36,31]
>  error: no suitable constructor found for AuthenticatedURL(no arguments)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>       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:347)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:483)
>       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.CompilationFailureException: Compilation 
> failure
> D:\h\hadoop-2.6.0-src\hadoop-common-project\hadoop-auth-examples\src\main\java\org\apache\hadoop\security\authentication\examples\WhoClient.java:[36,31]
>  error: no suitable constructor found for AuthenticatedURL(no arguments)
>       at 
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:729)
>       at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
>       at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>       ... 19 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/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :hadoop-auth-examples



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

Reply via email to