dfs -report

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

dfs -report

Marko Bauhardt-2
Hi all,
i start nutch-0.8-dev (Revision 405738) on distributed filesystem.
If i execute "bin/hadoop dfs -report"  an exception occurs.

java.lang.RuntimeException: java.lang.IllegalAccessException: Class  
org.apache.hadoop.io.WritableFactories can not access a member of  
class org.apache.hadoop.dfs.DatanodeInfo with modifiers "public"
         at org.apache.hadoop.io.WritableFactories.newInstance
(WritableFactories.java:49)
         at org.apache.hadoop.io.ObjectWritable.readObject
(ObjectWritable.java:226)
         at org.apache.hadoop.io.ObjectWritable.readObject
(ObjectWritable.java:163)
         at org.apache.hadoop.io.ObjectWritable.readObject
(ObjectWritable.java:211)
         at org.apache.hadoop.io.ObjectWritable.readFields
(ObjectWritable.java:60)
         at org.apache.hadoop.ipc.Client$Connection.run(Client.java:170)
Caused by: java.lang.IllegalAccessException: Class  
org.apache.hadoop.io.WritableFactories can not access a member of  
class org.apache.hadoop.dfs.DatanodeInfo with modifiers "public"
         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:
65)
         at java.lang.Class.newInstance0(Class.java:344)
         at java.lang.Class.newInstance(Class.java:303)
         at org.apache.hadoop.io.WritableFactories.newInstance
(WritableFactories.java:45)
         ... 5 more

What i doing wrong?


Marko

Reply | Threaded
Open this post in threaded view
|

Re: dfs -report

Doug Cutting
This is a known, fixed, Hadoop bug:

   http://issues.apache.org/jira/browse/HADOOP-201

I'm going to release Hadoop 0.2.1 with this and one other patch as soon
as Subversion is back up, then upgrade Nutch to use 0.2.1.

Doug

Marko Bauhardt wrote:

> Hi all,
> i start nutch-0.8-dev (Revision 405738) on distributed filesystem.
> If i execute "bin/hadoop dfs -report"  an exception occurs.
>
> java.lang.RuntimeException: java.lang.IllegalAccessException: Class  
> org.apache.hadoop.io.WritableFactories can not access a member of  class
> org.apache.hadoop.dfs.DatanodeInfo with modifiers "public"
>         at org.apache.hadoop.io.WritableFactories.newInstance
> (WritableFactories.java:49)
>         at org.apache.hadoop.io.ObjectWritable.readObject
> (ObjectWritable.java:226)
>         at org.apache.hadoop.io.ObjectWritable.readObject
> (ObjectWritable.java:163)
>         at org.apache.hadoop.io.ObjectWritable.readObject
> (ObjectWritable.java:211)
>         at org.apache.hadoop.io.ObjectWritable.readFields
> (ObjectWritable.java:60)
>         at org.apache.hadoop.ipc.Client$Connection.run(Client.java:170)
> Caused by: java.lang.IllegalAccessException: Class  
> org.apache.hadoop.io.WritableFactories can not access a member of  class
> org.apache.hadoop.dfs.DatanodeInfo with modifiers "public"
>         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java: 65)
>         at java.lang.Class.newInstance0(Class.java:344)
>         at java.lang.Class.newInstance(Class.java:303)
>         at org.apache.hadoop.io.WritableFactories.newInstance
> (WritableFactories.java:45)
>         ... 5 more
>
> What i doing wrong?
>
>
> Marko
>