- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
hdfs fsck command issue
- Labels:
-
HDFS
Created on ‎03-25-2015 04:47 AM - edited ‎03-25-2015 04:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
When i run hdfs fsck -list-corruptfileblocks it is saying super user privilege is required .I am logged in as root user .Any idea what could be the reason .
hdfs fsck -list-corruptfileblocks
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 0 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 0 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 1 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 0 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 0 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
FSCK ended at Wed Mar 25 19:42:40 SGT 2015 in 1 milliseconds
Access denied for user root. Superuser privilege is required
Fsck on path '/' FAILED
Created ‎03-25-2015 06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
command as the 'hdfs' user instead.
Created ‎03-25-2015 06:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
command as the 'hdfs' user instead.
Created ‎11-21-2017 12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
command :
sudo -u hdfs hdfs fsck -list-corruptfileblocks
For deleting corrupted files :
sudo -u hdfs hdfs fsck / -delete
Thanks.
