bahir-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckadner <...@git.apache.org>
Subject [GitHub] bahir issue #50: [BAHIR-123] Support latest version of play-json for sql-clo...
Date Fri, 29 Sep 2017 23:58:00 GMT
Github user ckadner commented on the issue:

    https://github.com/apache/bahir/pull/50
  
    @emlaver -- can you take care of these deprecation **`WARNING`** messages?
    
    ```
    13:10:38 [INFO] Compiling 11 Scala sources to /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/target/scala-2.11/classes...
    13:10:42 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/src/main/scala/org/apache/bahir/cloudant/DefaultSource.scala:59:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:42 [WARNING]         val df = sqlContext.read.json(cloudantRDD)
    13:10:42 [WARNING]                                  ^
    13:10:42 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/src/main/scala/org/apache/bahir/cloudant/DefaultSource.scala:115:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:42 [WARNING]             dataFrame = sqlContext.read.json(cloudantRDD)
    13:10:42 [WARNING]                                         ^
    13:10:42 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/src/main/scala/org/apache/bahir/cloudant/DefaultSource.scala:121:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:42 [WARNING]             sqlContext.read.json(aRDD)
    13:10:42 [WARNING]                             ^
    13:10:42 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/src/main/scala/org/apache/bahir/cloudant/DefaultSource.scala:152:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:42 [WARNING]               dataFrame = sqlContext.sparkSession.read.json(globalRDD)
    13:10:42 [WARNING]                                                        ^
    13:10:45 [WARNING] four warnings found
    ```
    ```
    13:10:46 [INFO] Compiling 11 Scala sources to /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/target/scala-2.11/test-classes...
    13:10:49 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/examples/src/main/scala/org/apache/spark/examples/sql/cloudant/CloudantStreaming.scala:46:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:49 [WARNING]       val changesDataFrame = spark.read.json(rdd)
    13:10:49 [WARNING]                                         ^
    13:10:49 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/examples/src/main/scala/org/apache/spark/examples/sql/cloudant/CloudantStreaming.scala:67:
method registerTempTable in class Dataset is deprecated: Use createOrReplaceTempView(viewName)
instead.
    13:10:49 [WARNING]           changesDataFrame.registerTempTable("airportcodemapping")
    13:10:49 [WARNING]                            ^
    13:10:49 [WARNING] /var/lib/jenkins/workspace/bahir_spark_pr_builder/sql-cloudant/examples/src/main/scala/org/apache/spark/examples/sql/cloudant/CloudantStreamingSelector.scala:50:
method json in class DataFrameReader is deprecated: Use json(Dataset[String]) instead.
    13:10:49 [WARNING]       val changesDataFrame = spark.read.json(rdd)
    13:10:49 [WARNING]                                         ^
    13:10:52 [WARNING] three warnings found
    ```



---

Mime
View raw message