title: Can't create a Hadoop sequence file on a local file system
body: <p><a href="https://stackoverflow.com/questions/30256194/how-to-create-hadoop-sequence-file-in-local-file-system-without-hadoop-installat">I found this example</a> of how to write to a local file system, but it throws this exception:</p>
  
  <pre><code>Exception in thread "main" java.io.IOException: (null) entry in command string: null chmod 0644 C:\temp\test.seq
      at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:770)
      at org.apache.hadoop.util.Shell.execCommand(Shell.java:866)
      at org.apache.hadoop.util.Shell.execCommand(Shell.java:849)
      at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:733)
      at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.&lt;init&gt;(RawLocalFileSystem.java:225)
      at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.&lt;init&gt;(RawLocalFileSystem.java:209)
      at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:307)
      at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:296)
      at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:328)
      at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.&lt;init&gt;(ChecksumFileSystem.java:398)
      at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:461)
      at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:440)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:911)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:892)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:789)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:778)
      at org.apache.hadoop.io.SequenceFile$Writer.&lt;init&gt;(SequenceFile.java:1168)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
  </code></pre>
  
  <p>Running this on a Windows 10 box. I even tried using the msys git bash shell thinking maybe that would help the JVM simulate a chmod operation. Didn't change anything. Any suggestions on how to do this on Windows?</p>