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

Touch command with -c option is broken

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The touch command has an option -c :

      touch
      Usage: hadoop fs -touch [-a] [-m] [-t TIMESTAMP] [-c] URI [URI ...]

      Ref : https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#touch

      But on using it, it gives error as :

      -touch: Illegal option -c
      Usage: hadoop fs [generic options]

       

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h