You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Abhishek Singh <23...@gmail.com> on 2014/12/18 22:31:31 UTC

Error: Could not find or load main class org.apache.hadoop.fs.FsShell

Hello,


Please give your insights on the above error ( *Error: Could not find or
load main class org.apache.hadoop.fs.FsShell*) . It was working fine but
now hadoop fs -ls /    is throwing this error.



Thanks in adv.


Regards,

Abhishek Singh

Re: Error: Could not find or load main class org.apache.hadoop.fs.FsShell

Posted by Ted Yu <yu...@gmail.com>.
This class is contained in hadoop-common-2.x.jar

See if the jar is in classpath.

Cheers

On Thu, Dec 18, 2014 at 1:31 PM, Abhishek Singh <23...@gmail.com>
wrote:
>
> Hello,
>
>
> Please give your insights on the above error ( *Error: Could not find or
> load main class org.apache.hadoop.fs.FsShell*) . It was working fine but
> now hadoop fs -ls /    is throwing this error.
>
>
>
> Thanks in adv.
>
>
> Regards,
>
> Abhishek Singh
>

Re: Error: Could not find or load main class org.apache.hadoop.fs.FsShell

Posted by Ted Yu <yu...@gmail.com>.
This class is contained in hadoop-common-2.x.jar

See if the jar is in classpath.

Cheers

On Thu, Dec 18, 2014 at 1:31 PM, Abhishek Singh <23...@gmail.com>
wrote:
>
> Hello,
>
>
> Please give your insights on the above error ( *Error: Could not find or
> load main class org.apache.hadoop.fs.FsShell*) . It was working fine but
> now hadoop fs -ls /    is throwing this error.
>
>
>
> Thanks in adv.
>
>
> Regards,
>
> Abhishek Singh
>

Re: Error: Could not find or load main class org.apache.hadoop.fs.FsShell

Posted by Ted Yu <yu...@gmail.com>.
This class is contained in hadoop-common-2.x.jar

See if the jar is in classpath.

Cheers

On Thu, Dec 18, 2014 at 1:31 PM, Abhishek Singh <23...@gmail.com>
wrote:
>
> Hello,
>
>
> Please give your insights on the above error ( *Error: Could not find or
> load main class org.apache.hadoop.fs.FsShell*) . It was working fine but
> now hadoop fs -ls /    is throwing this error.
>
>
>
> Thanks in adv.
>
>
> Regards,
>
> Abhishek Singh
>

Re: Error: Could not find or load main class org.apache.hadoop.fs.FsShell

Posted by Ted Yu <yu...@gmail.com>.
This class is contained in hadoop-common-2.x.jar

See if the jar is in classpath.

Cheers

On Thu, Dec 18, 2014 at 1:31 PM, Abhishek Singh <23...@gmail.com>
wrote:
>
> Hello,
>
>
> Please give your insights on the above error ( *Error: Could not find or
> load main class org.apache.hadoop.fs.FsShell*) . It was working fine but
> now hadoop fs -ls /    is throwing this error.
>
>
>
> Thanks in adv.
>
>
> Regards,
>
> Abhishek Singh
>