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

Improve error message when hadoop archive output path already exists

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.4-alpha, 3.0.0-alpha1
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed

    Description

      When creating a hadoop archive and specifying an output path of an already existing file, we get an "Invalid Output" error message.

      [schu@hdfs-vanilla-1 ~]$ hadoop archive -archiveName foo.har -p /user/schu testDir1 /user/schu
      Invalid Output: /user/schu/foo.har
      

      This error can be improved to tell users immediately that the output path already exists.

      Attachments

        1. HADOOP-9723.003.patch
          4 kB
          Yongjun Zhang
        2. HADOOP-9723.2.patch
          4 kB
          Akira Ajisaka
        3. HADOOP-9723.patch
          3 kB
          Jean-Baptiste Onofré

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yzhangal Yongjun Zhang
            schu Stephen Chu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment