Unit test fails: org.apache.hadoop.dfs.TestFsck.testFsck. This is a regression
------------------------------------------------------------------------------
Key: HADOOP-2912
URL: https://issues.apache.org/jira/browse/HADOOP-2912
Project: Hadoop Core
Issue Type: Bug
Components: dfs
Affects Versions: 0.17.0
Reporter: Mukund Madhugiri
Assignee: Robert Chansler
Priority: Blocker
Fix For: 0.17.0
Unit test fails: org.apache.hadoop.dfs.TestFsck.testFsck. This is a regression
It fails on Linux and Windows
Error from the console:
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.dfs.SafeModeException:
Cannot delete /srcdat. Name node is in safe mode.
Safe mode will be turned off automatically.
at
org.apache.hadoop.dfs.FSNamesystem.deleteInternal(FSNamesystem.java:1469)
at org.apache.hadoop.dfs.FSNamesystem.delete(FSNamesystem.java:1448)
at org.apache.hadoop.dfs.NameNode.delete(NameNode.java:388)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:409)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:899)
at org.apache.hadoop.ipc.Client.call(Client.java:512)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:198)
at org.apache.hadoop.dfs.$Proxy0.delete(Unknown Source)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
at org.apache.hadoop.dfs.$Proxy0.delete(Unknown Source)
at org.apache.hadoop.dfs.DFSClient.delete(DFSClient.java:419)
at
org.apache.hadoop.dfs.DistributedFileSystem.delete(DistributedFileSystem.java:162)
at org.apache.hadoop.dfs.DFSTestUtil.cleanup(DFSTestUtil.java:214)
at org.apache.hadoop.dfs.TestFsck.testFsck(TestFsck.java:75)
Recent changes:
1. HADOOP-1986. Add support for a general serialization mechanism for Map
Reduce.
2. HADOOP-2800. Deprecate SetFile.Writer constructor not the whole class.
Contributed by Johan Oskarsson.
3. HADOOP-1985. This addresses rack-awareness for Map tasks and for HDFS in
a uniform way. Contributed by Devaraj Das.
4. HADOOP-2063. A new parameter to dfs -get command to fetch a file even if
it is corrupted. (Tsz Wo (Nicholas), SZE via dhruba)
5. HADOOP-2894. Fix a problem to do with tasktrackers failing to connect to
JobTracker upon reinitialization. Contributed by Owen O'Malley.
6. HADOOP-2871. Fixed the CHANGES.txt problem.
7. HADOOP-2727. Fixes a problem to do with file: URI in the JobHistory init.
Contributed by Amareshwari Sri Ramadasu.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.