You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by cloud-fan <gi...@git.apache.org> on 2017/07/23 01:59:42 UTC

[GitHub] spark pull request #18716: [SPARK-10063] Follow-up: remove a useless test re...

GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/18716

    [SPARK-10063] Follow-up: remove a useless test related to an old output committer

    ## What changes were proposed in this pull request?
    
    It's a follow-up of https://github.com/apache/spark/pull/18689 , which forgot to remove a useless test.
    
    ## How was this patch tested?
    
    N/A

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/18716.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #18716
    
----
commit 67393ecbfbe23b8a188ea95fe363d5baf741164e
Author: Wenchen Fan <we...@databricks.com>
Date:   2017-07-23T00:57:26Z

    remove dead code related to an old output committer

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #18716: [SPARK-10063] Follow-up: remove a useless test re...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18716#discussion_r128908504
  
    --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/sources/HadoopFsRelationTest.scala ---
    @@ -783,52 +780,6 @@ abstract class HadoopFsRelationTest extends QueryTest with SQLTestUtils with Tes
         }
       }
     
    -  test("SPARK-8578 specified custom output committer will not be used to append data") {
    -    withSQLConf(SQLConf.FILE_COMMIT_PROTOCOL_CLASS.key ->
    -        classOf[SQLHadoopMapReduceCommitProtocol].getCanonicalName) {
    -      val extraOptions = Map[String, String](
    -        SQLConf.OUTPUT_COMMITTER_CLASS.key -> classOf[AlwaysFailOutputCommitter].getName,
    -        // Since Parquet has its own output committer setting, also set it
    -        // to AlwaysFailParquetOutputCommitter at here.
    -        "spark.sql.parquet.output.committer.class" ->
    -          classOf[AlwaysFailParquetOutputCommitter].getName
    -      )
    -
    -      val df = spark.range(1, 10).toDF("i")
    -      withTempPath { dir =>
    -        df.write.mode("append").format(dataSourceName).save(dir.getCanonicalPath)
    -        // Because there data already exists,
    -        // this append should succeed because we will use the output committer associated
    -        // with file format and AlwaysFailOutputCommitter will not be used.
    -        df.write.mode("append").format(dataSourceName).save(dir.getCanonicalPath)
    --- End diff --
    
    this test is wrong because it didn't call `.options(extraOptions)`, that's why I missed it in my previous PR...


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #18716: [SPARK-10063] Follow-up: remove a useless test re...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/18716


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    thanks, merging to master!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/79874/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    cc @jiangxb1987 @robert3005 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    **[Test build #79874 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/79874/testReport)** for PR 18716 at commit [`67393ec`](https://github.com/apache/spark/commit/67393ecbfbe23b8a188ea95fe363d5baf741164e).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by robert3005 <gi...@git.apache.org>.
Github user robert3005 commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    LGTM, Thanks for looking into this.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #18716: [SPARK-10063] Follow-up: remove a useless test related t...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/18716
  
    **[Test build #79874 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/79874/testReport)** for PR 18716 at commit [`67393ec`](https://github.com/apache/spark/commit/67393ecbfbe23b8a188ea95fe363d5baf741164e).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org