Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-626

Remove use of deprecated API's in giraph-core

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.1.0, 1.0.0
    • Fix Version/s: None
    • Component/s: build, graph
    • Labels:
      None
    • Environment:

      Ubuntu 12.04, Hadoop 1.1.1, Giraph 1.0RC0

      Description

      When I compile & test the new 1.0 RC0 (great work BTW), I get the following WARNINGs within Maven.

      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[34,32] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[37,29] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayInputStream.java:[39,25] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[33,29] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[35,25] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java:[66,32] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/handler/SaslServerHandler.java: Some input files use or override a deprecated API.
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/handler/SaslServerHandler.java: Recompile with -Xlint:deprecation for details.
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/io/superstep_output/MultiThreadedSuperstepOutput.java: Some input files use unchecked or unsafe operations.
      [WARNING] /home/law/Downloads/asf/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/io/superstep_output/MultiThreadedSuperstepOutput.java: Recompile with -Xlint:unchecked for details.
      

      I've not looked in to this AT ALL, but I thought I would log it and maybe get the GSoC student (if we get in) to submit a patch to upgrade the offending API usage to fix it. I see this as potentially low hanging fruit for people wanting to contribute to Giraph.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: