Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3818

Allow fsck to accept URIs as paths

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Currently, fsck does not accept URIs as paths.

      [hdfs@cs-10-20-192-187 ~]# hdfs fsck hdfs://cs-10-20-192-187.cloud.cloudera.com:8020/user/
      Connecting to namenode via http://cs-10-20-192-187.cloud.cloudera.com:50070
      FSCK started by hdfs (auth:KERBEROS_SSL) from /10.20.192.187 for path hdfs://cs-10-20-192-187.cloud.cloudera.com:8020/user/ at Thu Aug 16 15:48:42 PDT 2012
      FSCK ended at Thu Aug 16 15:48:42 PDT 2012 in 1 milliseconds
      Invalid path name Invalid file name: hdfs://cs-10-20-192-187.cloud.cloudera.com:8020/user/
      
      
      Fsck on path 'hdfs://cs-10-20-192-187.cloud.cloudera.com:8020/user/' FAILED
      

      It'd be useful for fsck to accept URIs.

        Attachments

        1. HDFS-3818.patch
          6 kB
          Shinichi Yamashita
        2. HDFS-3818.patch
          7 kB
          Shinichi Yamashita

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                schu Stephen Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: