Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> cannot find /usr/lib/hadoop/mapred/

Copy link to this message
Re: cannot find /usr/lib/hadoop/mapred/
interesting: The solution was simply to delete the toBeDeleted directory

rm -rf /usr/lib/hadoop/mapred/toBeDeleted/

I guess maybe somehow I changed the privileges of the
/usr/lib/hadoop/mapred directory so that it was unreadable or something.

Nevertheless, it was a cryptic error message and, also, maybe I shouldn't
be using /usr/lib/hadoop/mapred as an actively writen directory.
On Wed, Mar 6, 2013 at 11:21 AM, Jay Vyas <[EMAIL PROTECTED]> wrote:

> Hi guys:  I'm getting an odd error  involving a file called "toBeDeleted".
> I've never seen this - somehow its blocking my task trackers from starting.
> 2013-03-06 16:19:24,657 ERROR org.apache.hadoop.mapred.TaskTracker: Can
> not start task tracker because java.lang.RuntimeException: Cannot find root
> /usr/lib/hadoop/mapred/ for execution of task deletion of
> toBeDeleted/2013-03-06_
> 02-25-40.379_4 on /usr/lib/hadoop/mapred/ with original name
> /usr/lib/hadoop/mapred/toBeDeleted/2013-03-06_02-25-40.379_4
>     at
> org.apache.hadoop.util.AsyncDiskService.execute(AsyncDiskService.java:95)
>     at
> org.apache.hadoop.util.MRAsyncDiskService.execute(MRAsyncDiskService.java:115)
>     at
> org.apache.hadoop.util.MRAsyncDiskService.<init>(MRAsyncDiskService.java:105)
>     at
> org.apache.hadoop.mapred.TaskTracker.initialize(TaskTracker.java:742)
>     at org.apache.hadoop.mapred.TaskTracker.<init>(TaskTracker.java:1522)
>     at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:3821)
> --
> Jay Vyas
> http://jayunit100.blogspot.com

Jay Vyas