ABHISHEK KUMAR GUPTA created SPARK-30177:
--------------------------------------------

             Summary: Eliminate warnings: part7
                 Key: SPARK-30177
                 URL: https://issues.apache.org/jira/browse/SPARK-30177
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: ABHISHEK KUMAR GUPTA


/mllib/src/test/scala/org/apache/spark/ml/clustering/BisectingKMeansSuite.scala
    Warning:Warning:line (108)method computeCost in class BisectingKMeansModel 
is deprecated (since 3.0.0): This method is deprecated and will be removed in 
future versions. Use ClusteringEvaluator instead. You can also get the cost on 
the training dataset in the summary.
    assert(model.computeCost(dataset) < 0.1)
    Warning:Warning:line (135)method computeCost in class BisectingKMeansModel 
is deprecated (since 3.0.0): This method is deprecated and will be removed in 
future versions. Use ClusteringEvaluator instead. You can also get the cost on 
the training dataset in the summary.
    assert(model.computeCost(dataset) == summary.trainingCost)
    Warning:Warning:line (195)method computeCost in class BisectingKMeansModel 
is deprecated (since 3.0.0): This method is deprecated and will be removed in 
future versions. Use ClusteringEvaluator instead. You can also get the cost on 
the training dataset in the summary.
      model.computeCost(dataset)
          
/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/jsonExpressions.scala
    Warning:Warning:line (105)Java enum ALLOW_UNQUOTED_CONTROL_CHARS in Java 
enum Feature is deprecated: see corresponding Javadoc for more information.
  jsonFactory.enable(JsonParser.Feature.ALLOW_UNQUOTED_CONTROL_CHARS)
/sql/core/src/test/java/test/org/apache/spark/sql/Java8DatasetAggregatorSuite.java
    Warning:Warning:line (28)java: 
org.apache.spark.sql.expressions.javalang.typed in 
org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (37)java: 
org.apache.spark.sql.expressions.javalang.typed in 
org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (46)java: 
org.apache.spark.sql.expressions.javalang.typed in 
org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (55)java: 
org.apache.spark.sql.expressions.javalang.typed in 
org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (64)java: 
org.apache.spark.sql.expressions.javalang.typed in 
org.apache.spark.sql.expressions.javalang has been deprecated
/sql/core/src/test/java/test/org/apache/spark/sql/JavaTestUtils.java
    Information:Information:java: 
/Users/maxim/proj/eliminate-warning/sql/core/src/test/java/test/org/apache/spark/sql/JavaTestUtils.java
 uses unchecked or unsafe operations.
    Information:Information:java: Recompile with -Xlint:unchecked for details.
/sql/core/src/test/java/test/org/apache/spark/sql/JavaDataFrameSuite.java
    Warning:Warning:line (478)java: 
json(org.apache.spark.api.java.JavaRDD<java.lang.String>) in 
org.apache.spark.sql.DataFrameReader has been deprecated



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to