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

Specific file type bulk Transfer into HDFS to a specified HDFS location with a track of the transfer number

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • scripts
    • None
    • Unix

    • Reviewed

    Description

      Need a script for a bulk transfer process into HDFS in such a way that the script must be able to identify a specific file type and move only that file type into the specified HDFS location.
      For example : Say I have a local directory called user/dir . In it I have txt files such as anurag123 , anurag234, vyas678 , ganesh345 , anurag277 , vyas345 ganesh789 etc. The script must take 2 inputs. One is the file type , say anurag. And the other an HDFS location. Then it must move all the files which has the name anurag in the directory to the specified HDFS location.
      Also it would be good if the script could keep track of the number of files it moved to HDFS by saving the details in a new file either in HDFS or in the local directory.

      Attachments

        1. hadoopBulkTransfer.txt
          0.8 kB
          Vidhya Parvathy R

        Activity

          People

            Unassigned Unassigned
            anuragganeshvyas Anurag G Vyas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: