Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • SystemML 1.2
    • Build
    • None

    Description

      Problem: 

      java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Ljava/lang/String;JJJI)Ljava/io/FileDescriptor;
      at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Native Method)
      at org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileOutputStreamWithMode(NativeIO.java:559)
      at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:219)
      at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:209)
      at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:307)
      at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:295)
      at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:328)
      at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.<init>(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:910)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:891)
      at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:788)
      at org.apache.sysml.test.utils.TestUtils.writeTestMatrix(TestUtils.java:1458)
      at org.apache.sysml.test.utils.TestUtils.writeTestMatrix(TestUtils.java:1514)
      at org.apache.sysml.test.integration.AutomatedTestBase.writeInputMatrix(AutomatedTestBase.java:530)
      at org.apache.sysml.test.integration.AutomatedTestBase.writeInputMatrix(AutomatedTestBase.java:587)
      at org.apache.sysml.test.integration.functions.blocks.VariableTest.testVariablePassing1(VariableTest.java:80)
      

      Solution: On windows platform make sure you have installed winutils.exe

      (We are updating our documentation to reflect this. 🙂)
       

      Attachments

        1. hadoop_on_win.pdf
          644 kB
          Janardhan Pulivarthi

        Activity

          People

            niketanpansare Niketan Pansare
            janardhan Janardhan Pulivarthi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: