You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by sitalkedia <gi...@git.apache.org> on 2016/03/22 03:59:03 UTC

[GitHub] spark pull request: [SPARK-14056] Appends s3 specific configuratio...

GitHub user sitalkedia opened a pull request:

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

    [SPARK-14056] Appends s3 specific configurations and spark.hadoop con…

    ## What changes were proposed in this pull request?
    
    Appends s3 specific configurations and spark.hadoop configurations to hive configuration.
    
    ## How was this patch tested?
    
    Tested by running a job on cluster.
    
    
    …figurations to hive configuration.

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

    $ git pull https://github.com/sitalkedia/spark hiveConf

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

    https://github.com/apache/spark/pull/11876.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 #11876
    
----
commit 312ee1f4bd76441a40cdb4d690c6dcbfbf22a271
Author: Sital Kedia <sk...@fb.com>
Date:   2016-03-22T02:40:14Z

    [SPARK-14056] Appends s3 specific configurations and spark.hadoop configurations to hive configuration.

----


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203042612
  
    Merged build finished. Test FAILed.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r56990359
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -111,6 +110,14 @@ class SparkHadoopUtil extends Logging {
       }
     
       /**
    +    * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    +    * subsystems.
    +    */
    +  def newConfiguration(conf: SparkConf): Configuration = {
    --- End diff --
    
    I'm curious where this is used after your change... generally it's not a great idea to make a new `Configuration` since there is probably one with appropriate configuration available that should be used with your new method.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57014873
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -111,6 +110,14 @@ class SparkHadoopUtil extends Logging {
       }
     
       /**
    +    * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    +    * subsystems.
    +    */
    +  def newConfiguration(conf: SparkConf): Configuration = {
    --- End diff --
    
    This is being used from a bunch of other places in the code base. I agree with you that its not a good idea to create a new Configuration instead of reusing it and we should change that behavior.  


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-199604351
  
    Can one of the admins verify this patch?


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57013306
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends s3 specific configurations and spark.hadoop configurations to hadoop
    --- End diff --
    
    done.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203042353
  
    **[Test build #54447 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54447/consoleFull)** for PR 11876 at commit [`018eea6`](https://github.com/apache/spark/commit/018eea6824f61b9ef8483da9708adbcdad095c31).
     * This patch **fails Spark unit 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


[GitHub] spark pull request: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203395495
  
    **[Test build #54515 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54515/consoleFull)** for PR 11876 at commit [`018eea6`](https://github.com/apache/spark/commit/018eea6824f61b9ef8483da9708adbcdad095c31).


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-204847006
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54784/
    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 pull request: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203444285
  
    **[Test build #54515 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54515/consoleFull)** for PR 11876 at commit [`018eea6`](https://github.com/apache/spark/commit/018eea6824f61b9ef8483da9708adbcdad095c31).
     * This patch **fails Spark unit 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


[GitHub] spark pull request: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r58301462
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific, spark.hadoop.*, and spark.spark.buffer.size configurations to a Hadoop
    --- End diff --
    
    @marmbrus - the job run a simple hive query to create a table. From what I understand from the code is the hiveConf is being initialized which is does not include spark.hadoo.* configurations and that hiveConf is being used to initialized the HadoopRDD. So the HadoopRDD does not contain any spark.hadoop.* configurations. This fix is meant to resolve that issue. 


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-204819781
  
    **[Test build #54784 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54784/consoleFull)** for PR 11876 at commit [`98eee85`](https://github.com/apache/spark/commit/98eee85d388eac799a1bc06b67d238d3fe60e933).


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r56990259
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends s3 specific configurations and spark.hadoop configurations to hadoop
    --- End diff --
    
    Nits: "S3-specific", "a Hadoop". It doesn't need to return a `Configuration`.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57148881
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific, spark.hadoop.*, and spark.spark.buffer.size configurations to a Hadoop
    --- End diff --
    
    Extra "spark." here in "spark.spark.buffer.size".
    This might be a dumb question, but it feels kind of funny that we set these things when a `Configuration` is created everywhere except one place. Is it because the `HiveConf` necessarily comes from somewhere else that Spark isn't initializing? Just trying to rationalize treating it specially in this one case


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57072981
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific configurations and spark.hadoop.* configurations to a Hadoop
    --- End diff --
    
    Maybe also mention the buffer keys that are also added that don't fit into either of those.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57014946
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -35,6 +35,7 @@ import org.apache.hadoop.mapred.{FileInputFormat, InputFormat, JobConf}
     
     import org.apache.spark.broadcast.Broadcast
     import org.apache.spark.internal.Logging
    +import org.apache.spark.deploy.SparkHadoopUtil
    --- End diff --
    
    Good point, fixed the ordering, thanks!


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-202983735
  
    **[Test build #54447 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54447/consoleFull)** for PR 11876 at commit [`018eea6`](https://github.com/apache/spark/commit/018eea6824f61b9ef8483da9708adbcdad095c31).


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203444534
  
    Merged build finished. Test FAILed.


---
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: [SPARK-14056] Appends s3 specific configuratio...

Posted by sitalkedia <gi...@git.apache.org>.
Github user sitalkedia commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-203455158
  
    Thanks @srowen, not sure why the test failed, will take a look.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-204847005
  
    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 pull request: [SPARK-14056] Appends s3 specific configuratio...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-204819086
  
    Jenkins retest this please


---
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: [SPARK-14056] Appends s3 specific configuratio...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-204852979
  
    Merged 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 pull request: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57345018
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific, spark.hadoop.*, and spark.spark.buffer.size configurations to a Hadoop
    --- End diff --
    
    Thanks, removed extra "spark." . 
    
    You are right, `HiveConf` is being initialized in a separate code path which Spark isn't initializing properly. I am not very familiar with hive side of things to comment on why it was done that way. But the `TODO` in `TableReader.scala` suggests that it is the right place to initialize the `HiveConf`. 


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203444535
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54515/
    Test FAILed.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r56990472
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -35,6 +35,7 @@ import org.apache.hadoop.mapred.{FileInputFormat, InputFormat, JobConf}
     
     import org.apache.spark.broadcast.Broadcast
     import org.apache.spark.internal.Logging
    +import org.apache.spark.deploy.SparkHadoopUtil
    --- End diff --
    
    (I think this will fail because of the style check on ordering)


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-203042616
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/54447/
    Test FAILed.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

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


---
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: [SPARK-14056] Appends s3 specific configuratio...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-203395074
  
    Jenkins retest this please


---
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: [SPARK-14056] Appends s3 specific configuratio...

Posted by sitalkedia <gi...@git.apache.org>.
Github user sitalkedia commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-204817972
  
    @srowen - Thanks for taking a look, updated the diff to fix the test case.


---
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: [SPARK-14056] Appends s3 specific configuratio...

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on the pull request:

    https://github.com/apache/spark/pull/11876#issuecomment-202981864
  
    Jenkins test this please


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57513205
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific, spark.hadoop.*, and spark.spark.buffer.size configurations to a Hadoop
    --- End diff --
    
    This is looking reasonable. If we're able to get a comment from @marmbrus about this particular aspect of the change (he put in the todo in https://github.com/apache/spark/commit/9aadcffabd226557174f3ff566927f873c71672e ) maybe that would confirm that this does need a special treatment and so this change makes sense.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57933619
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific, spark.hadoop.*, and spark.spark.buffer.size configurations to a Hadoop
    --- End diff --
    
    That is a very old TODO, but if I remember correctly, it was a result of me omitting code as I copied logic from Shark.  It would be good to understand what the job that was tested on a cluster is doing, and why it needs info in the hive conf.  Just because long term we are moving further and further away from using hive code.
    
    No objections though if this is fixing something.


---
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: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#issuecomment-204846967
  
    **[Test build #54784 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/54784/consoleFull)** for PR 11876 at commit [`98eee85`](https://github.com/apache/spark/commit/98eee85d388eac799a1bc06b67d238d3fe60e933).
     * 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


[GitHub] spark pull request: [SPARK-14056] Appends s3 specific configuratio...

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

    https://github.com/apache/spark/pull/11876#discussion_r57090753
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala ---
    @@ -74,13 +74,12 @@ class SparkHadoopUtil extends Logging {
         }
       }
     
    -  /**
    -   * Return an appropriate (subclass) of Configuration. Creating config can initializes some Hadoop
    -   * subsystems.
    -   */
    -  def newConfiguration(conf: SparkConf): Configuration = {
    -    val hadoopConf = new Configuration()
     
    +  /**
    +    * Appends S3-specific configurations and spark.hadoop.* configurations to a Hadoop
    --- End diff --
    
    Good point! changed it accordingly. 


---
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