Github user pauljackson commented on the issue:

    https://github.com/apache/tinkerpop/pull/457
  
    Looking at the Hadoop code gives no direct clue (to me), but it does seem 
to indicate that you are not using the 2.7.2 version, which might explain the 
inconsistent results. Maybe your local maven repo has the wrong version?
    
    The stack trace ends with:
    Caused by: java.io.IOException: Mkdirs failed to create 
/usr/src/tinkerpop/spark-gremlin/target/test-case-data/SparkHadoopGraphProvider/graph-provider-data/~reducing/_temporary/0/_temporary/attempt_201611051613_15726_r_000000_0
 (exists=false, cwd=file:/usr/src/tinkerpop/spark-gremlin)
        at 
org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:450)
        at 
org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:435)
    
    I grabbed the related source from for version 2.7.2 from here: 
https://archive.apache.org/dist/hadoop/core/hadoop-2.7.2/
    
https://archive.apache.org/dist/hadoop/core/hadoop-2.7.2/hadoop-2.7.2-src.tar.gz
    
hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java
    
    The related code does have a call to create() on line 435 but the exception 
is thrown on line 449:
      @Override
      public FSDataOutputStream create(Path f, FsPermission permission,
          boolean overwrite, int bufferSize, short replication, long blockSize,
          Progressable progress) throws IOException {
        return create(f, permission, overwrite, true, bufferSize, // 435
            replication, blockSize, progress);
      }
    
      private FSDataOutputStream create(Path f, FsPermission permission,
          boolean overwrite, boolean createParent, int bufferSize,
          short replication, long blockSize,
          Progressable progress) throws IOException {
        Path parent = f.getParent();
        if (parent != null) {
          if (!createParent && !exists(parent)) {
            throw new FileNotFoundException("Parent directory doesn't exist: "
                + parent);
          } else if (!mkdirs(parent)) {
            throw new IOException("Mkdirs failed to create " + parent //449
                + " (exists=" + exists(parent) + ", cwd=" + 
getWorkingDirectory() // 450
                + ")");
          }
        }
    
    
    
    From: stephen mallette [mailto:notificati...@github.com]
    Sent: Tuesday, November 15, 2016 8:24 AM
    To: apache/tinkerpop
    Cc: Paul A. Jackson; Author
    Subject: Re: [apache/tinkerpop] TINKERPOP-1493 Groovy project doesn't build 
on Windows (#457)
    
    
    The stack trace is pasted above.
    
    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on 
GitHub<https://github.com/apache/tinkerpop/pull/457#issuecomment-260639858>, or 
mute the 
thread<https://github.com/notifications/unsubscribe-auth/AAUcSDXZOcPvgxhDo673VXzssRyskI47ks5q-bJdgaJpZM4KVbcO>.
    
    ________________________________
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to