Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4862

NPE in reading data from IGFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9
    • 2.4
    • hadoop
    • None

    Description

      D:\app\CodexRT.CodexRT_20170314-1>hadoop\bin\hadoop fs -copyToLocal igfs:///cacheLink/test3.orc D:\test3.orc
      -copyToLocal: Fatal internal error
      java.lang.NullPointerException
              at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInputStream$FetchBufferPart.flatten(HadoopIgfsInputStream.java:458)
              at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInputStream$DoubleFetchBuffer.flatten(HadoopIgfsInputStream.java:511)
              at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInputStream.read(HadoopIgfsInputStream.java:177)
              at java.io.DataInputStream.read(DataInputStream.java:100)
              at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:91)
              at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:59)
              at org.apache.hadoop.io.IOUtils.copyBytes(IOUtils.java:119)
              at org.apache.hadoop.fs.shell.CommandWithDestination$TargetFileSystem.writeStreamToFile(CommandWithDestination.java:466)
              at org.apache.hadoop.fs.shell.CommandWithDestination.copyStreamToTarget(CommandWithDestination.java:391)
              at org.apache.hadoop.fs.shell.CommandWithDestination.copyFileToTarget(CommandWithDestination.java:328)
              at org.apache.hadoop.fs.shell.CommandWithDestination.processPath(CommandWithDestination.java:263)
              at org.apache.hadoop.fs.shell.CommandWithDestination.processPath(CommandWithDestination.java:248)
              at org.apache.hadoop.fs.shell.Command.processPaths(Command.java:317)
              at org.apache.hadoop.fs.shell.Command.processPathArgument(Command.java:289)
              at org.apache.hadoop.fs.shell.CommandWithDestination.processPathArgument(CommandWithDestination.java:243)
              at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:271)
              at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:255)
              at org.apache.hadoop.fs.shell.CommandWithDestination.processArguments(CommandWithDestination.java:220)
              at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:201)
              at org.apache.hadoop.fs.shell.Command.run(Command.java:165)
              at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
              at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
      

      Details in discussion: http://apache-ignite-users.70518.x6.nabble.com/NullPointerException-when-using-IGFS-td11328.html

      Attachments

        Activity

          People

            ilyak Ilya Kasnacheev
            dkarachentsev Dmitry Karachentsev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: