Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/789#discussion_r18052712
  
    --- Diff: 
graphx/src/main/scala/org/apache/spark/graphx/GraphKryoRegistrator.scala ---
    @@ -30,8 +30,10 @@ import org.apache.spark.util.collection.OpenHashSet
     
     /**
      * Registers GraphX classes with Kryo for improved performance.
    + *
    + * This is deprecated in favor of using 
`GraphXUtils.registerKryoClasses(conf)`
      */
    -class GraphKryoRegistrator extends KryoRegistrator {
    +@deprecated class GraphKryoRegistrator extends KryoRegistrator {
    --- End diff --
    
    You can do the following instead
    ```
    /**
     * Registers GraphX ...
     */
    @deprecated("This is deprecated in favor of using ...", "1.2.0")
    class GraphKryoRegistrator ...
    ```


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to