Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4747

rmf command does not substitute filenames for wildcard '*'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • grunt
    • None

    Description

      I am using rmf command in pig (via grunt) and no error is thrown back by grunt. However, the file is not deleted in HDFS.

      rmf /user/dev_svc/FULL_SNAP/*

      Is this a valid command in this environment? I guess the shell is not substituting the file names for wildcard character '*'

      I expect this to delete all the files/sub-directories inside the parent directory FULL_SNAP and leave it empty.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Kunnka Kunnka
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: