2013年7月28日星期日

In datanode above configuration when connecting dfs eclipse occurswhen the error

I was in hadoop cluster configuration, resulting in namenode eclipse can be successfully configured above look dfs, and then I connect DFS datanode above appears when an error message is: "error: failure to login", pop-up error message box says "An internal error occurred during:" Connecting to DFS hadoop ". org / apache / commons / configuration / Configuration". I also Internet Read related issues, but still above that mistake, here is my Eclipse's log,



! ENTRY org.eclipse.core.jobs 4 2 2012-11-06 17:17:55.066
! MESSAGE An internal error occurred during: "Connecting to DFS test".
! STACK 0
java.lang.NoClassDefFoundError: org / apache / commons / configuration / Configuration
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem. (DefaultMetricsSystem.java: 37)
at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem. (DefaultMetricsSystem.java: 34)
at org.apache.hadoop.security.UgiInstrumentation.create (UgiInstrumentation.java: 51)
at org.apache.hadoop.security.UserGroupInformation.initialize (UserGroupInformation.java: 196)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized (UserGroupInformation.java: 159)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled (UserGroupInformation.java: 216)
at org.apache.hadoop.security.KerberosName. (KerberosName.java: 83)
at org.apache.hadoop.security.UserGroupInformation.initialize (UserGroupInformation.java: 189)
at org.apache.hadoop.security.UserGroupInformation.ensureInitialized (UserGroupInformation.java: 159)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled (UserGroupInformation.java: 216)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser (UserGroupInformation.java: 409)
at org.apache.hadoop.security.UserGroupInformation.getCurrentUser (UserGroupInformation.java: 395)
at org.apache.hadoop.fs.FileSystem $ Cache $ Key. (FileSystem.java: 1418)
at org.apache.hadoop.fs.FileSystem $ Cache.get (FileSystem.java: 1319)
at org.apache.hadoop.fs.FileSystem.get (FileSystem.java: 226)
at org.apache.hadoop.fs.FileSystem.get (FileSystem.java: 109)
at org.apache.hadoop.eclipse.server.HadoopServer.getDFS (HadoopServer.java: 463)
at org.apache.hadoop.eclipse.dfs.DFSPath.getDFS (DFSPath.java: 146)
at org.apache.hadoop.eclipse.dfs.DFSFolder.loadDFSFolderChildren (DFSFolder.java: 61)
at org.apache.hadoop.eclipse.dfs.DFSFolder $ 1.run (DFSFolder.java: 178)
at org.eclipse.core.internal.jobs.Worker.run (Worker.java: 53)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.Configuration
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal (BundleLoader.java: 501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass (BundleLoader.java: 421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass (BundleLoader.java: 412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass (DefaultClassLoader.java: 107)
at java.lang.ClassLoader.loadClass (ClassLoader.java: 247)
... 21 more


seek expert help
------ Solution --------------------------------- -----------
available from several aspects to verify
1. can ping it?
2.jar whole package do?
3. connect eclipse the master configuration right?
------ Solution ---------------------------------------- ----
you also configure the hadoop eclipse it. . More strenuous amount. How many people are so engaged. .
------ Solution ---------------------------------------- ----
if we can ensure HADOOP itself is no problem

CONFIG configuration errors that may be
general practice are used to load the NAMENODE the CONF ECLIPSE
If death is written CONF's IP, you can directly use the basic
If you use a domain name, remember to modify the HOSTS OS development environment
subsequently modify CONF

then refer kky2010_110
PING look, and look at several important ports TELNET


------ Solution ------------------------------------ --------


Will not eclipse the inside out, you are engaging in what tools inside?
------ For reference only -------------------------------------- -

you say is how do you mean, you are in eclipse for debugging hadoop mapreduce coupled with what

------ For reference only ---------------------------------- -----
I think we should put code stickers
------ For reference only ---------------------- -----------------
Hello you solve this problem you seek guidance

1 条评论: