Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7209

Extensions to FsShell

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.3
    • 0.23.0
    • None
    • None

    Description

      Our project, Pig, exposes FsShell functionality to our end users through a shell command. We want to use this command with no modifications to make sure that whether you work with HDFS through Hadoop or Pig you get identical semantics.

      The main concern that has been recently raised by our users is that there is no way to ignore certain failures that they consider to be benign, for instance, removing a non-existent directory.

      We have 2 asks related to this issue:

      (1) Meaningful error code returned from FsShell (we use java class) so that we can take different actions on different errors
      (2) Unix like ways to tell the command to ignore certain behavior. Here are the commands that we would like to be expanded/implemented:

      • rm -f
      • rmdir ---ignore-fail-on-non-empty
      • mkdir -p

      Attachments

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              olgan Olga Natkovich
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: