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

Switch to Plain View
Hadoop >> mail # general >> Filesystem error


Copy link to this message
-
Filesystem error
Hi,

I have filsystem error. when i run fsck to move corrupted blocks i get the
following error after stopping services i get the below error. but if i
don't start the services and run the fsck command the corrupted block
doesn't move.  I am not getting this Usergroupinformation error. it is
looking permission error. Can any body fix it . It is an urgent issue on my
hadoop machine. It is a standalone cluster configured using the below link

https://ccp.cloudera.com/display/CDH4DOC/Installing+CDH4+on+a+Single+Linux+Node+in+Pseudo-distributed+Mode

Error
==================================================
# sudo -u hdfs  hadoop fsck / -move
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

13/03/29 01:20:20 ERROR security.UserGroupInformation:
PriviledgedActionException as:hdfs (auth:SIMPLE)
cause:java.net.ConnectException: Call From OPERA-MAST1.ny.os.local/
172.20.3.119 to localhost:8020 failed on connection exception:
java.net.ConnectException: Connection refused; For more details see:
http://wiki.apache.org/hadoop/ConnectionRefused
Exception in thread "main" java.net.ConnectException: Call From
OPERA-MAST1.ny.os.local/172.20.3.119 to localhost:8020 failed on connection
exception: java.net.ConnectException: Connection refused; For more details
see:  http://wiki.apache.org/hadoop/ConnectionRefused
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:721)
        at org.apache.hadoop.ipc.Client.call(Client.java:1228)
        at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202)
        at $Proxy9.getFileInfo(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83)
        at $Proxy9.getFileInfo(Unknown Source)
        at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628)
        at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1507)
        at
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:783)
        at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1257)
        at org.apache.hadoop.hdfs.HAUtil.getAddressOfActive(HAUtil.java:298)
        at
org.apache.hadoop.hdfs.tools.DFSck.getCurrentNamenodeAddress(DFSck.java:229)
        at org.apache.hadoop.hdfs.tools.DFSck.doWork(DFSck.java:235)
        at org.apache.hadoop.hdfs.tools.DFSck.access$000(DFSck.java:71)
        at org.apache.hadoop.hdfs.tools.DFSck$1.run(DFSck.java:134)
        at org.apache.hadoop.hdfs.tools.DFSck$1.run(DFSck.java:131)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332)
        at org.apache.hadoop.hdfs.tools.DFSck.run(DFSck.java:130)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
        at org.apache.hadoop.hdfs.tools.DFSck.main(DFSck.java:316)
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599)
        at
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:207)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:523)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:488)
        at
org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:498)
        at
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:592)
        at
org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:240)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1277)
        at org.apache.hadoop.ipc.Client.call(Client.java:1195)
        ... 26 more
+
Steve Loughran 2013-03-30, 12:37
+
Daryn Sharp 2013-03-29, 13:26
+
Mohit Vadhera 2013-03-29, 15:53
+
Daryn Sharp 2013-03-29, 17:55