Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2015-02-05 Thread Venkat Ramakrishnan
I opened a bug in JIRA. They closed it saying Hadoop 2.6.0 builds perfectly on Windows. So, I am going to stick with Windows. Yes, I can check out the whole code again. But, I wonder why is it not possible to pinpoint why this error is happening. Thanks, Venkat. On Thu, Feb 5, 2015 at 2:51

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2015-02-05 Thread Azuryy Yu
Can you build Hadoop on Linux? or can you check out the whole code from branch-2 again, then build it? On Thu, Feb 5, 2015 at 10:21 AM, Venkat Ramakrishnan venkat.archit...@gmail.com wrote: I need to compile Hadoop, and I am not able to figure out why this error is occuring. Can someone

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2015-02-04 Thread Venkat Ramakrishnan
I need to compile Hadoop, and I am not able to figure out why this error is occuring. Can someone please help? Thanks, Venkat. On Fri, Dec 26, 2014 at 10:48 AM, Venkat Ramakrishnan venkat.archit...@gmail.com wrote: Forgot to mention that I'm on Windows 7. Thx, Venkat. On Fri, Dec 26,

Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2014-12-25 Thread Venkat Ramakrishnan
Hello all, The following error is encountered while compiling hadoop-auth-examples with WhoClient.java file. What should be done? Source file attached. Thanks, Venkat. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2014-12-25 Thread Ted Yu
I copied your file to the path (corresponding to clone of trunk branch) shown in your email and issued 'mvn package -DskipTests' After which I was able to find the class file: $ find hadoop-common-project/hadoop-auth-examples/target/ -name WhoClient.class

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2014-12-25 Thread Venkat Ramakrishnan
Thanks Ted, but the issue seem to be specifically with AuthenticatedURL, as mentioned in the error. I am not able to locate the latest documentation for AuthenticatedURL, but, it looks like it has two constructors one with arguments and one without any. I am not a developer. I am just trying to

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2014-12-25 Thread Ted Yu
I performed the same command on branch-2 and didn't see any compilation error. hadoop 2.6.0 has been published in maven repo. You should be able to utilize that - if you don't make modification to hadoop source. Cheers On Thu, Dec 25, 2014 at 6:54 PM, Venkat Ramakrishnan

Re: Compilation failing for AuthenticatedURL (no suitable constructor found) Hadoop 2.6.0

2014-12-25 Thread Venkat Ramakrishnan
Forgot to mention that I'm on Windows 7. Thx, Venkat. On Fri, Dec 26, 2014 at 10:09 AM, Ted Yu yuzhih...@gmail.com wrote: I performed the same command on branch-2 and didn't see any compilation error. hadoop 2.6.0 has been published in maven repo. You should be able to utilize that - if