private static int createDFSPaths()
  {
    String basePath = new String(TEST_BASE_DIR) + "/" + hostName_ + "_" + processName_;
    try {
      long startTime = System.nanoTime();
      Boolean ret = dfsClient_.mkdirs(basePath);
      timingMkdirs_.add(new Double((System.nanoTime() - startTime)/(1E9)));
      if (!ret) {
        System.out.printf("Error: failed to create test base dir [%s]\n", basePath);
        return -1;
      }
    } catch( IOException e) {
      e.printStackTrace();
      throw new RuntimeException();
    }

    Date alpha = new Date();

    if (CreateDFSPaths(0, basePath) < 0) {
      return -1;
    }

    Date zigma = new Date();
    System.out.printf("Client: %d paths created in %d msec\n",
    		totalCreateCount, timeDiffMilliSec(alpha, zigma));
    return 0;
  }
private static int createDFSPaths ( ) { String basePath = new String ( TEST_BASE_DIR ) + "/" + hostName_ + "_" + processName_ ; try { long startTime = System . nanoTime ( ) ; Boolean ret = dfsClient_ . mkdirs ( basePath ) ; timingMkdirs_ . add ( new Double ( ( System . nanoTime ( ) - startTime ) / ( 1E9 ) ) ) ; if ( ! ret ) { System . out . printf ( "Error: failed to create test base dir [%s]\n" , basePath ) ; return - 1 ; } } catch ( IOException e ) { e . printStackTrace ( ) ; throw new RuntimeException ( ) ; } Date alpha = new Date ( ) ; if ( CreateDFSPaths ( 0 , basePath ) < 0 ) { return - 1 ; } Date zigma = new Date ( ) ; System . out . printf ( "Client: %d paths created in %d msec\n" , totalCreateCount , timeDiffMilliSec ( alpha , zigma ) ) ; return 0 ; }
Creates directories and files.  See CreateDFSPath(), the main recursive
portion of this method.
@return -1 on error, 0 on success