hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Oskarson (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-201) hadoop dfs -report throws exception
Date Mon, 08 May 2006 11:22:20 GMT
hadoop dfs -report throws exception
-----------------------------------

         Key: HADOOP-201
         URL: http://issues.apache.org/jira/browse/HADOOP-201
     Project: Hadoop
        Type: Bug

  Components: dfs  
    Versions: 0.2    
 Environment: linux, jdk 1.5
    Reporter: Johan Oskarson
    Priority: Minor


Running hadoop dfs -report throws the lovely exception below.
Changing org.apache.hadoop.dfs.DatanodeInfo back to being a public class solves the problem.


~/hadoop$ bin/hadoop dfs -report
060508 104801 parsing file:/home/hadoop/hadoop/conf/hadoop-default.xml
060508 104801 parsing file:/home/hadoop/hadoop/conf/hadoop-site.xml
060508 104801 No FS indicated, using default:xxx:9000
060508 104801 Client connection to 10.0.0.12:9000: starting
Total raw bytes: 2763338170368 (2573.55 Gb)
Used raw bytes: 1548564473694 (1442.21 Gb)
% used: 56.03%

Total effective bytes: 145953744375 (135.93 Gb)
Effective replication multiplier: 10.609967427182013
-------------------------------------------------
060508 104801 Client connection to 10.0.0.12:9000 caught: 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"
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
060508 104801 Client connection to 10.0.0.12:9000: closing


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message