Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Corrupted blocks on HDFS
Labels:
- Labels:
-
Apache Hadoop
Explorer
Created ‎08-09-2016 05:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to remove corrupted blocks from hdfs
1 ACCEPTED SOLUTION
Expert Contributor
Created ‎08-09-2016 06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gulshad Ansari: Please check http://stackoverflow.com/questions/19205057/how-to-fix-corrupt-hadoop-hdfs. This has a clear tutorial on how to get the corrupted block. Once you locate it,
it is a simple
hdfs fs -rm
command to remove the corrupted block
2 REPLIES 2
Super Guru
Created ‎08-09-2016 05:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gulshad Ansari
hdfs fs -rm /path/to/file/with/permanently/missing/blocks
Expert Contributor
Created ‎08-09-2016 06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Gulshad Ansari: Please check http://stackoverflow.com/questions/19205057/how-to-fix-corrupt-hadoop-hdfs. This has a clear tutorial on how to get the corrupted block. Once you locate it,
it is a simple
hdfs fs -rm
command to remove the corrupted block
