Copying data from CFS to DSEFS

Use the dse hadoop fs -cp command to copy data from CFS to DSEFS.

Use the dse hadoop fs -cp command to copy data from CFS to DSEFS. This command works recursively.

Procedure

  1. If necessary, create the new location for the data in DSEFS.
    dse hadoop fs -mkdir dsefs:///test
  2. Copy the data from CFS to DSEFS.
    dse hadoop fs -cp cfs://hostname/test/* dsefs:///test
  3. Verify that the data exists in the new DSEFS location using dse hadoop fs -ls.
    dse hadoop fs -ls dsefs:///test
    Found 2 items
    drwxrwxrwx   - none none          0 2016-11-23 19:02 dsefs:///test/a
    drwxrwxrwx   - none none          0 2016-11-23 19:02 dsefs:///test/b