You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/25 03:14:56 UTC
[GitHub] [spark] AngersZhuuuu opened a new pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
AngersZhuuuu opened a new pull request #33828:
URL: https://github.com/apache/spark/pull/33828
### What changes were proposed in this pull request?
Make spark source stagingDir can use user defined like hive
### Why are the changes needed?
Make spark source stagingDir can use user defined then we can do some optimization on this
### Does this PR introduce _any_ user-facing change?
User can define staging dir by `spark.sql.source.stagingDir`
### How was this patch tested?
Added UT
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905569929
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142764/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823793041
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
Review comment:
> probably there to ensure you don't create staging dirs in a different fs
Yea, I remembered that hive will check tempLocation and targetOutputPath's FS and EZ when call HiveMetastore loadTable/loadPartition, Should move that logical to here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947498178
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48927/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948438779
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144494/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] c21 commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
c21 commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r734850205
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode. " +
+ "Default value means staging dir is under table path.")
Review comment:
nit: `staging dir` -> `staging directory`
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
Review comment:
nit: `when dynamic partition overwrite mode.` -> `when dynamic partition overwrite mode is on.` ?
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode. " +
+ "Default value means staging dir is under table path.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
shall we add a `checkValue()` to check the config value is not empty string?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950213757
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144559/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947893513
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48941/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947002759
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144416/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950473017
Any more suggestion?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1084015102
@steveloughran Have seen your comment on https://github.com/apache/spark/pull/35319, I think we should do the change (https://github.com/apache/spark/pull/35319#discussion_r838580288 and https://github.com/apache/spark/pull/35319#discussion_r838577705(seems have done))in this pr as the first step. Ok?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942853000
**[Test build #144222 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144222/testReport)** for PR 33828 at commit [`c8d0c33`](https://github.com/apache/spark/commit/c8d0c33b25cf06409798bdc18417887e0f1d1d1c).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940770545
**[Test build #144139 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144139/testReport)** for PR 33828 at commit [`a3b3c51`](https://github.com/apache/spark/commit/a3b3c51f326fcf285eb870a2874c774a1498d145).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940729744
**[Test build #144133 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144133/testReport)** for PR 33828 at commit [`361263b`](https://github.com/apache/spark/commit/361263b9b11e5668286268fc306b399b8760c48a).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942190250
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48679/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942925124
**[Test build #144222 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144222/testReport)** for PR 33828 at commit [`c8d0c33`](https://github.com/apache/spark/commit/c8d0c33b25cf06409798bdc18417887e0f1d1d1c).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940673490
**[Test build #144123 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144123/testReport)** for PR 33828 at commit [`1947cbf`](https://github.com/apache/spark/commit/1947cbf386568b1f1611a6a11d0b7f8f977fb872).
* This patch **fails to build**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940864099
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943229796
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144244/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943008920
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144232/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942931827
**[Test build #144235 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144235/testReport)** for PR 33828 at commit [`c5a1d16`](https://github.com/apache/spark/commit/c5a1d16d55591edfc539490d193a77eb38a80ea4).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942144608
**[Test build #144199 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144199/testReport)** for PR 33828 at commit [`63e466c`](https://github.com/apache/spark/commit/63e466c5ade9078489e0990acdd5c5f1dd97ac10).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940809554
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48610/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942957009
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48713/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823325030
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/sources/StagingInsertSuite.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.sources
+
+import org.apache.spark.SparkConf
+import org.apache.spark.sql.{QueryTest, Row}
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.test.SharedSparkSession
+import org.apache.spark.util.Utils
+
+class StagingInsertSuite extends QueryTest with SharedSparkSession {
+ import testImplicits._
+
+ val stagingDir = Utils.createTempDir()
Review comment:
> be nice if this could be subclassed so we could add tests which tried this on, say abfs or gcs
You mean, use abfsm gcs as staging dir?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941928025
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940693870
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48600/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943074819
retest this please
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942936606
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48713/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992086608
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50591/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992116253
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50591/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943145645
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48724/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] cloud-fan commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r731856804
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -2258,4 +2258,14 @@ package object config {
.version("3.2.0")
.stringConf
.createOptional
+
+ val EXEC_STAGING_DIR =
+ ConfigBuilder("spark.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
does this default value mean `.spark-staging` folder under the table path?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947454318
**[Test build #144454 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144454/testReport)** for PR 33828 at commit [`872cd01`](https://github.com/apache/spark/commit/872cd01a9741488f76f8983901b52820946afc46).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r732537843
##########
File path: core/src/main/scala/org/apache/spark/internal/io/HadoopMapReduceCommitProtocol.scala
##########
@@ -67,9 +71,16 @@ import org.apache.spark.mapred.SparkHadoopMapRedUtil
class HadoopMapReduceCommitProtocol(
jobId: String,
path: String,
+ stagingDir: Path,
Review comment:
> can we use `SQLConf.get` in the class body, to avoid changing the class constructor?
Code changed follow your comment, how about current?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947681145
**[Test build #144463 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144463/testReport)** for PR 33828 at commit [`9e4a5a8`](https://github.com/apache/spark/commit/9e4a5a89d08188836233028594f1aafde50322f8).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947690906
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48936/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942909826
**[Test build #144230 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144230/testReport)** for PR 33828 at commit [`eafb8dd`](https://github.com/apache/spark/commit/eafb8dd5b81c587280adddcd9183ee26b2e08c75).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947544486
**[Test build #144460 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144460/testReport)** for PR 33828 at commit [`d664932`](https://github.com/apache/spark/commit/d664932164333398fd0a9b9c979b9907d58d8e02).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r731986070
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -2258,4 +2258,14 @@ package object config {
.version("3.2.0")
.stringConf
.createOptional
+
+ val EXEC_STAGING_DIR =
+ ConfigBuilder("spark.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
> does this default value mean `.spark-staging` folder under the table path?
Yea, should be like this, maybe option should be better?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941117641
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942956984
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48713/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947845264
**[Test build #144468 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144468/testReport)** for PR 33828 at commit [`44d63de`](https://github.com/apache/spark/commit/44d63de2f83fb37887c32ebc2d8cc789f1ceed9b).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948228720
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48956/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948252970
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48956/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r734996263
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode. " +
+ "Default value means staging dir is under table path.")
Review comment:
Done
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
Review comment:
Done
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3412,6 +3412,16 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode. " +
+ "Default value means staging dir is under table path.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
Yea, done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948204383
**[Test build #144484 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144484/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905569929
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142764/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-906905750
cc @mridulm
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905268011
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47254/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905307620
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142754/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940768047
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940854592
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48610/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940746759
**[Test build #144134 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144134/testReport)** for PR 33828 at commit [`7773fb2`](https://github.com/apache/spark/commit/7773fb24bc5071b76b97b5ebbe8befc7c80d1e71).
* This patch **fails to build**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942222074
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48680/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942192847
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48676/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940853157
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942923669
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48710/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1063425651
ooh, commit protocols. wonderful and scary, course, the future is delta and iceberg, isn't it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823688372
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/sources/StagingInsertSuite.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.sources
+
+import org.apache.spark.SparkConf
+import org.apache.spark.sql.{QueryTest, Row}
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.test.SharedSparkSession
+import org.apache.spark.util.Utils
+
+class StagingInsertSuite extends QueryTest with SharedSparkSession {
+ import testImplicits._
+
+ val stagingDir = Utils.createTempDir()
Review comment:
i mean write tests which can be subclassed and then retargeted at a remote store. a lot of the spark relations test assume local fs everywhere, for example, and i had to copy and paste for cloud storage testing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1066481822
> oh, also, I'm thinking of making some gcs enhancements which turn off some checks under __temporary/ paths, breaking "strict" fs semantics but delivering performance through reduced io
>
> * skipping all overwrite/parent is dir/dest is not a directory checks when creating a file
> * not worrying about recreating parent dir markers after renaming or deleting files
> ... etc. S3A will do the same under paths with `__magic` an element above it, saves a HEAD and a LIST for every parquet file written (it sets overwrite=false when creating files, for no reason at all)
>
> so you should always use _temporary as one path element in your staging dir to get any of those benefits
Having checked how to use mainfest commit protocol, but I found a problem is that
```
class PathOutputCommitProtocol(
jobId: String,
dest: String,
dynamicPartitionOverwrite: Boolean = false)
extends HadoopMapReduceCommitProtocol(jobId, dest, false) with Serializable {
if (dynamicPartitionOverwrite) {
// until there's explicit extensions to the PathOutputCommitProtocols
// to support the spark mechanism, it's left to the individual committer
// choice to handle partitioning.
throw new IOException(PathOutputCommitProtocol.UNSUPPORTED)
}
```
In current Spark's code, dynamicPartitionOverwrite can't support this, it means we can't use your feature in case of dynamic partition overwriting .
We need to do some change to support this. WDYT cc @steveloughran @HyukjinKwon @cloud-fan @viirya
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940830861
**[Test build #144133 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144133/testReport)** for PR 33828 at commit [`361263b`](https://github.com/apache/spark/commit/361263b9b11e5668286268fc306b399b8760c48a).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940739859
**[Test build #144134 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144134/testReport)** for PR 33828 at commit [`7773fb2`](https://github.com/apache/spark/commit/7773fb24bc5071b76b97b5ebbe8befc7c80d1e71).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905201932
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905285577
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47256/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905242365
**[Test build #142756 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142756/testReport)** for PR 33828 at commit [`2604c9f`](https://github.com/apache/spark/commit/2604c9f2c95f50e90f77c300442344816baea3d3).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905323757
**[Test build #142756 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142756/testReport)** for PR 33828 at commit [`2604c9f`](https://github.com/apache/spark/commit/2604c9f2c95f50e90f77c300442344816baea3d3).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905268056
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47254/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905285527
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47256/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942951997
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48715/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942253359
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144199/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943001708
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940906647
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48616/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941107495
**[Test build #144156 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144156/testReport)** for PR 33828 at commit [`b4d60e4`](https://github.com/apache/spark/commit/b4d60e4b431ebfcc843f826086b1d09135c823c5).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947002759
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144416/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r731986070
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -2258,4 +2258,14 @@ package object config {
.version("3.2.0")
.stringConf
.createOptional
+
+ val EXEC_STAGING_DIR =
+ ConfigBuilder("spark.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
> does this default value mean `.spark-staging` folder under the table path?
Yea, should be like this, maybe option should be better?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947552828
**[Test build #144460 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144460/testReport)** for PR 33828 at commit [`d664932`](https://github.com/apache/spark/commit/d664932164333398fd0a9b9c979b9907d58d8e02).
* This patch **fails to build**.
* This patch **does not merge cleanly**.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947686767
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144463/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947845264
**[Test build #144468 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144468/testReport)** for PR 33828 at commit [`44d63de`](https://github.com/apache/spark/commit/44d63de2f83fb37887c32ebc2d8cc789f1ceed9b).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948204383
**[Test build #144484 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144484/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948435508
**[Test build #144494 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144494/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943170838
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48724/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941204271
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48634/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940831685
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144133/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940770545
**[Test build #144139 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144139/testReport)** for PR 33828 at commit [`a3b3c51`](https://github.com/apache/spark/commit/a3b3c51f326fcf285eb870a2874c774a1498d145).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941107495
**[Test build #144156 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144156/testReport)** for PR 33828 at commit [`b4d60e4`](https://github.com/apache/spark/commit/b4d60e4b431ebfcc843f826086b1d09135c823c5).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942914998
**[Test build #144232 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144232/testReport)** for PR 33828 at commit [`ff2bfb8`](https://github.com/apache/spark/commit/ff2bfb89ea40c2626b430aa6c06614e6a9228503).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943008920
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144232/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941117641
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942914998
**[Test build #144232 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144232/testReport)** for PR 33828 at commit [`ff2bfb8`](https://github.com/apache/spark/commit/ff2bfb89ea40c2626b430aa6c06614e6a9228503).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940894308
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48616/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941928027
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942207719
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992069576
**[Test build #146116 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/146116/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992140598
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146116/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947681145
**[Test build #144463 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144463/testReport)** for PR 33828 at commit [`9e4a5a8`](https://github.com/apache/spark/commit/9e4a5a89d08188836233028594f1aafde50322f8).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947918547
**[Test build #144468 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144468/testReport)** for PR 33828 at commit [`44d63de`](https://github.com/apache/spark/commit/44d63de2f83fb37887c32ebc2d8cc789f1ceed9b).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948306867
**[Test build #144494 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144494/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946855007
**[Test build #144416 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144416/testReport)** for PR 33828 at commit [`8b93bad`](https://github.com/apache/spark/commit/8b93bad3608cbf20992beec4451c0f6f20183269).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947937819
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144468/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950212273
**[Test build #144559 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144559/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950195431
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49030/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905285577
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47256/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823793566
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/sources/StagingInsertSuite.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.sources
+
+import org.apache.spark.SparkConf
+import org.apache.spark.sql.{QueryTest, Row}
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.test.SharedSparkSession
+import org.apache.spark.util.Utils
+
+class StagingInsertSuite extends QueryTest with SharedSparkSession {
+ import testImplicits._
+
+ val stagingDir = Utils.createTempDir()
Review comment:
> i mean write tests which can be subclassed and then retargeted at a remote store. a lot of the spark relations test assume local fs everywhere, for example, and i had to copy and paste for cloud storage testing
Got it, let me try
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823138978
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
Review comment:
always a bit brittle using the uri scheme. any way to avoid?
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3542,6 +3542,17 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory " +
+ "when dynamic partition overwrite mode is on. " +
+ "Default value means staging directory is under table path.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .checkValue(!_.isEmpty, "Should not pass an empty string as staging diretory.")
Review comment:
typo
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/sources/StagingInsertSuite.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.sources
+
+import org.apache.spark.SparkConf
+import org.apache.spark.sql.{QueryTest, Row}
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.test.SharedSparkSession
+import org.apache.spark.util.Utils
+
+class StagingInsertSuite extends QueryTest with SharedSparkSession {
+ import testImplicits._
+
+ val stagingDir = Utils.createTempDir()
Review comment:
be nice if this could be subclassed so we could add tests which tried this on, say abfs or gcs
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
+ getExtTmpPathRelTo(path.getParent, hadoopConf, stagingDir, engineType, jobId)
+ } else {
+ new Path(getExternalScratchDir(extURI, hadoopConf, stagingDir, engineType, jobId),
+ "-ext-10000")
+ }
+ }
+
+ private def getExtTmpPathRelTo(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ // Hive uses 10000
+ new Path(getStagingDir(path, hadoopConf, stagingDir, engineType, jobId), "-ext-10000")
+ }
+
+ private def getExternalScratchDir(
+ extURI: URI,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ getStagingDir(
+ new Path(extURI.getScheme, extURI.getAuthority, extURI.getPath),
+ hadoopConf,
+ stagingDir,
+ engineType,
+ jobId)
+ }
+
+ def getStagingDir(
+ inputPath: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val inputPathName: String = inputPath.toString
+ val fs: FileSystem = inputPath.getFileSystem(hadoopConf)
+ var stagingPathName: String =
+ if (inputPathName.indexOf(stagingDir) == -1) {
+ new Path(inputPathName, stagingDir).toString
+ } else {
+ inputPathName.substring(0, inputPathName.indexOf(stagingDir) + stagingDir.length)
+ }
+
+ // SPARK-20594: This is a walk-around fix to resolve a Hive bug. Hive requires that the
+ // staging directory needs to avoid being deleted when users set hive.exec.stagingdir
+ // under the table directory.
+ if (isSubDir(new Path(stagingPathName), inputPath, fs) &&
+ !stagingPathName.stripPrefix(inputPathName).stripPrefix("/").startsWith(".")) {
+ logDebug(s"The staging dir '$stagingPathName' should be a child directory starts " +
+ "with '.' to avoid being deleted if we set hive.exec.stagingdir under the table " +
+ "directory.")
+ stagingPathName = new Path(inputPathName, ".hive-staging").toString
+ }
+
+ val dir = fs.makeQualified(
+ new Path(stagingPathName + "_" + executionId(engineType) + "-" + jobId))
+ logDebug("Created staging dir = " + dir + " for path = " + inputPath)
Review comment:
s" $expansion strings"?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1064048607
oh, also, I'm thinking of making some gcs enhancements which turn off some checks under __temporary/ paths, breaking "strict" fs semantics but delivering performance through reduced io
* skipping all overwrite/parent is dir/dest is not a directory checks when creating a file
* not worrying about recreating parent dir markers after renaming or deleting files
... etc. S3A will do the same under paths with `__magic` an element above it, saves a HEAD and a LIST for every parquet file written (it sets overwrite=false when creating files, for no reason at all)
so you should always use _temporary as one path element in your staging dir to get any of those benefits
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905268056
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47254/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905191524
**[Test build #142750 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142750/testReport)** for PR 33828 at commit [`2031f5b`](https://github.com/apache/spark/commit/2031f5bea5c83800b28190bee40895da7c1d25a0).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905198145
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47250/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905517656
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47264/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948340628
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48966/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947543081
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144454/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947544486
**[Test build #144460 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144460/testReport)** for PR 33828 at commit [`d664932`](https://github.com/apache/spark/commit/d664932164333398fd0a9b9c979b9907d58d8e02).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947937819
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144468/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950204399
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49030/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948252970
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48956/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946943400
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48890/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948269282
**[Test build #144484 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144484/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
* This patch **fails PySpark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948290065
retest this please
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941152805
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48634/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940740037
ping @dongjoon-hyun @cloud-fan @mridulm @Ngone51
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940739859
**[Test build #144134 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144134/testReport)** for PR 33828 at commit [`7773fb2`](https://github.com/apache/spark/commit/7773fb24bc5071b76b97b5ebbe8befc7c80d1e71).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940817168
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144127/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941117641
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144156/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942877403
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48700/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942956381
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48710/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942947038
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48710/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942853000
**[Test build #144222 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144222/testReport)** for PR 33828 at commit [`c8d0c33`](https://github.com/apache/spark/commit/c8d0c33b25cf06409798bdc18417887e0f1d1d1c).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943164444
gentle ping @viirya @Ngone51 @mridulm @HyukjinKwon @cloud-fan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941855752
**[Test build #144173 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144173/testReport)** for PR 33828 at commit [`2c41808`](https://github.com/apache/spark/commit/2c4180886d06e61304774900c45db3d45c18c39c).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r825666688
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/sources/StagingInsertSuite.scala
##########
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.sql.sources
+
+import org.apache.spark.SparkConf
+import org.apache.spark.sql.{QueryTest, Row}
+import org.apache.spark.sql.internal.SQLConf
+import org.apache.spark.sql.test.SharedSparkSession
+import org.apache.spark.util.Utils
+
+class StagingInsertSuite extends QueryTest with SharedSparkSession {
+ import testImplicits._
+
+ val stagingDir = Utils.createTempDir()
Review comment:
@steveloughran How about current? Is it what you want?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r825611793
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
Review comment:
> probably there to ensure you don't create staging dirs in a different fs
How about current?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992140598
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146116/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905230821
**[Test build #142754 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142754/testReport)** for PR 33828 at commit [`c29f55e`](https://github.com/apache/spark/commit/c29f55ed00c7b50aa86a7d86b499739d7d377c96).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940667937
**[Test build #144123 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144123/testReport)** for PR 33828 at commit [`1947cbf`](https://github.com/apache/spark/commit/1947cbf386568b1f1611a6a11d0b7f8f977fb872).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940817168
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144127/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942207719
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144197/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942151169
**[Test build #144201 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144201/testReport)** for PR 33828 at commit [`fd2ac5f`](https://github.com/apache/spark/commit/fd2ac5f62e28959ce4c6bd5f92718a5eba19c213).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940746043
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48604/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940673531
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144123/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940679503
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48600/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942293008
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144201/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942206313
**[Test build #144197 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144197/testReport)** for PR 33828 at commit [`5926822`](https://github.com/apache/spark/commit/592682235822113a73befe3247f2b7e1bebbd81f).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940906647
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48616/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905182511
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47250/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905307620
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142754/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950189198
**[Test build #144559 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144559/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950473017
Any more suggestion?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943001708
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943007645
**[Test build #144232 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144232/testReport)** for PR 33828 at commit [`ff2bfb8`](https://github.com/apache/spark/commit/ff2bfb89ea40c2626b430aa6c06614e6a9228503).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950204399
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49030/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950200948
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49030/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905502074
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47264/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905242365
**[Test build #142756 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142756/testReport)** for PR 33828 at commit [`2604c9f`](https://github.com/apache/spark/commit/2604c9f2c95f50e90f77c300442344816baea3d3).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905159849
**[Test build #142750 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142750/testReport)** for PR 33828 at commit [`2031f5b`](https://github.com/apache/spark/commit/2031f5bea5c83800b28190bee40895da7c1d25a0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905277777
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47256/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943080135
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144235/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943082964
**[Test build #144244 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144244/testReport)** for PR 33828 at commit [`c5a1d16`](https://github.com/apache/spark/commit/c5a1d16d55591edfc539490d193a77eb38a80ea4).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943229796
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144244/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946949941
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48890/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947495358
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48927/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947498178
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48927/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946896300
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48890/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] cloud-fan commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r731855656
##########
File path: core/src/main/scala/org/apache/spark/internal/io/HadoopMapReduceCommitProtocol.scala
##########
@@ -67,9 +71,16 @@ import org.apache.spark.mapred.SparkHadoopMapRedUtil
class HadoopMapReduceCommitProtocol(
jobId: String,
path: String,
+ stagingDir: Path,
Review comment:
can we use `SQLConf.get` in the class body, to avoid changing the class constructor?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947454318
**[Test build #144454 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144454/testReport)** for PR 33828 at commit [`872cd01`](https://github.com/apache/spark/commit/872cd01a9741488f76f8983901b52820946afc46).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948438779
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144494/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1070799392
that dynamic partition worked overlapped with the committer extension work and the s3a committer.
It broke the merge; those lines you've found show the workaround.
A key problem with the spark code is that it assumes file rename is a good way to commit work. AFAIK, it doesn't assume that directory renames are atomic, but unless file renames work fast then performance is going to be unsatisfactory.
And on S3, file rename is O(data), so applications which use it to promote work (hello hive!) really suffer.
I that's why I have never looked for a good solution here.
Things are different on azure and google cloud, where file rename usually(*) works. This means that we could look about what needs to be done.
Is there anything written up on this commit protocol I could look at to see what could be done?
t the very least we could have the known committer implementations support StreamCapabilities.hasCapability() with some capabilities for the FS we could indirectly ask for related to rename (fast file rename, fast dir rename, atomic dir rename), which would let spark know what was actually viable at all. but those are really fs capabilities, you can't really expect the committer itself to know what the fs does, except in the case of the s3a committer, which is hard coded to one fs, whose semantics are known (though amplidata and netapp s3 devices do have fast file copy/rename even there...)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1048478369
cc @steveloughran FYI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905517656
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47264/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905461944
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47264/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940831685
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144133/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940768047
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941117583
**[Test build #144156 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144156/testReport)** for PR 33828 at commit [`b4d60e4`](https://github.com/apache/spark/commit/b4d60e4b431ebfcc843f826086b1d09135c823c5).
* This patch **fails to build**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940864099
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940667937
**[Test build #144123 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144123/testReport)** for PR 33828 at commit [`1947cbf`](https://github.com/apache/spark/commit/1947cbf386568b1f1611a6a11d0b7f8f977fb872).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r695461797
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
##########
@@ -162,23 +162,14 @@ case class InsertIntoHadoopFsRelationCommand(
}
}
- // For dynamic partition overwrite, FileOutputCommitter's output path is staging path, files
- // will be renamed from staging path to final output path during commit job
- val committerOutputPath = if (dynamicPartitionOverwrite) {
- FileCommitProtocol.getStagingDir(outputPath.toString, jobId)
- .makeQualified(fs.getUri, fs.getWorkingDirectory)
- } else {
- qualifiedOutputPath
- }
-
val updatedPartitionPaths =
FileFormatWriter.write(
sparkSession = sparkSession,
plan = child,
fileFormat = fileFormat,
committer = committer,
outputSpec = FileFormatWriter.OutputSpec(
- committerOutputPath.toString, customPartitionLocations, outputColumns),
+ committer.outputPath.toString, customPartitionLocations, outputColumns),
Review comment:
add ouputPath API make it more consistence?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r695461093
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1216,6 +1216,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val FILE_COMMIT_STAGING_DIR =
Review comment:
Since always SQL related, so add this config in SQL part, although it's used in core part
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905230821
**[Test build #142754 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142754/testReport)** for PR 33828 at commit [`c29f55e`](https://github.com/apache/spark/commit/c29f55ed00c7b50aa86a7d86b499739d7d377c96).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942253359
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144199/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948244516
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48956/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948276118
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144484/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948385275
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48966/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947552871
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144460/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947527955
**[Test build #144454 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144454/testReport)** for PR 33828 at commit [`872cd01`](https://github.com/apache/spark/commit/872cd01a9741488f76f8983901b52820946afc46).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947686702
**[Test build #144463 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144463/testReport)** for PR 33828 at commit [`9e4a5a8`](https://github.com/apache/spark/commit/9e4a5a89d08188836233028594f1aafde50322f8).
* This patch **fails to build**.
* This patch merges cleanly.
* This patch adds the following public classes _(experimental)_:
* `public class JavaModuleOptions `
* `class HistogramPlotBase(NumericPlotBase):`
* `class KdePlotBase(NumericPlotBase):`
* ` new_class = type(NameTypeHolder.short_name, (NameTypeHolder,), `
* `class SparkUpgradeException(CapturedException):`
* ` protected class YarnSchedulerEndpoint(override val rpcEnv: RpcEnv)`
* `public class ExpressionImplUtils `
* `class NoSuchIndexException(message: String, cause: Option[Throwable] = None)`
* `trait ExtractValue extends Expression with NullIntolerant `
* `case class AesEncrypt(input: Expression, key: Expression, child: Expression)`
* `case class AesDecrypt(input: Expression, key: Expression, child: Expression)`
* `case class CreateView(`
* `case class ShowCatalogsCommand(pattern: Option[String]) extends LeafRunnableCommand `
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947690873
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48936/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947893513
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48941/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943170838
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48724/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942258238
**[Test build #144201 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144201/testReport)** for PR 33828 at commit [`fd2ac5f`](https://github.com/apache/spark/commit/fd2ac5f62e28959ce4c6bd5f92718a5eba19c213).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950189198
**[Test build #144559 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144559/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992131260
**[Test build #146116 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/146116/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992111262
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50591/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942239159
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942879514
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48702/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943044555
**[Test build #144235 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144235/testReport)** for PR 33828 at commit [`c5a1d16`](https://github.com/apache/spark/commit/c5a1d16d55591edfc539490d193a77eb38a80ea4).
* This patch **fails PySpark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943082964
**[Test build #144244 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144244/testReport)** for PR 33828 at commit [`c5a1d16`](https://github.com/apache/spark/commit/c5a1d16d55591edfc539490d193a77eb38a80ea4).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942991884
**[Test build #144230 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144230/testReport)** for PR 33828 at commit [`eafb8dd`](https://github.com/apache/spark/commit/eafb8dd5b81c587280adddcd9183ee26b2e08c75).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r728612684
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1216,6 +1216,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val FILE_COMMIT_STAGING_DIR =
Review comment:
> It's reasonable, but it's an assumption based on this PR AS-IS scope. Some other PRs may try to use it later.
@dongjoon-hyun I think current code could be reviewed now and have update the desc detailly.
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
##########
@@ -162,23 +162,14 @@ case class InsertIntoHadoopFsRelationCommand(
}
}
- // For dynamic partition overwrite, FileOutputCommitter's output path is staging path, files
- // will be renamed from staging path to final output path during commit job
- val committerOutputPath = if (dynamicPartitionOverwrite) {
- FileCommitProtocol.getStagingDir(outputPath.toString, jobId)
- .makeQualified(fs.getUri, fs.getWorkingDirectory)
- } else {
- qualifiedOutputPath
- }
-
Review comment:
Here's code is a little hardcode..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1064041710
* propose using ` "spark.sql.sources.writeJobUUID` as the job id when set; more uniqueness and it should be set everywhere.
* core design looks ok. but i don't see why you couldn't support concurrent jobs just by having different subdirs of __temporary for different job IDs/UUIDs, and an option to disable cleanup. (and instructions to do it later, which you'd need to do anyway).
* because that use of `__temporary/0` on file output committer is only because on a restart of the MR AM lets the committer use `__temporary/1` (using app attempt number for the subdir) then moving the committed task data from job attempt 0 to its own dir, so recover all existing work. spark doesn't need that.
* it'd be good for you to try out my manifest committer against hdfs with your workloads. it is designed to be a lot faster in job commit because all listing of task output directory trees is done in task commit, and job commit does everything in parallel (listing of manifests, loading of manifests, creating dest dirs, file rename). some of the options you don't need for hdfs (parallel delete of task attempt temp dirs)j, but I still expect a massive speedup of job commit, though not as much as for stores where listing and rename is slower.
The reason i don't explicitly target HDFS is it means I can cut out that testing/QE and focus on abfs and gcs, using benchmarks from there to tune the algorithm. For example it turns out that mkdirs on gcs is slow so you should check for existence first; that is now done in task commits, which adds duplicate probes in task commit, but there, knowing abfs does async page prefetch on a 'listStatusIterator()` call, i can do the `getFileStatus(destDir)` call after making the list call and have it done while the first page of list results is coming in.
https://github.com/steveloughran/hadoop/blob/mr/MAPREDUCE-7341-manifest-committer/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/stages/TaskAttemptScanDirectoryStage.java#L150
numbers for HDFS would only distract me, but you will see much faster parallel job commits on "real world" partitioned trees
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823324833
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
Review comment:
> always a bit brittle using the uri scheme. any way to avoid?
To be honest, I don't know why we need to handle viewfs separately and after searching origin pull request of this part, don't see the discussion, so I am not sure about this. And this part is just moved to here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1081362106
> Is there anything written up on this commit protocol I could look at to see what could be done?
Here https://github.com/apache/spark/pull/35319/files is the whole plan.
And you can help to check the new added committer (SQLPathOutputCommitter)'s logic. This committer changed from FileOutputCommitter and it will write file to staging path then when commit data, it commit data to workpath.
So it's file operator nums is same and can avoid the conflicts I mentioned in the pr description.
Also, you can help to check if there is any problem to optimize the committer (SQLPathOutputCommitter) to use some of your idea about avoid unnecessary operations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942293008
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144201/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941205441
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48634/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942896043
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48702/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942931070
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144222/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941107495
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942983846
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48715/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r695461797
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
##########
@@ -162,23 +162,14 @@ case class InsertIntoHadoopFsRelationCommand(
}
}
- // For dynamic partition overwrite, FileOutputCommitter's output path is staging path, files
- // will be renamed from staging path to final output path during commit job
- val committerOutputPath = if (dynamicPartitionOverwrite) {
- FileCommitProtocol.getStagingDir(outputPath.toString, jobId)
- .makeQualified(fs.getUri, fs.getWorkingDirectory)
- } else {
- qualifiedOutputPath
- }
-
val updatedPartitionPaths =
FileFormatWriter.write(
sparkSession = sparkSession,
plan = child,
fileFormat = fileFormat,
committer = committer,
outputSpec = FileFormatWriter.OutputSpec(
- committerOutputPath.toString, customPartitionLocations, outputColumns),
+ committer.outputPath.toString, customPartitionLocations, outputColumns),
Review comment:
add ouputPath API make it more consistence?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942909826
**[Test build #144230 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144230/testReport)** for PR 33828 at commit [`eafb8dd`](https://github.com/apache/spark/commit/eafb8dd5b81c587280adddcd9183ee26b2e08c75).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942908311
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942931827
**[Test build #144235 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144235/testReport)** for PR 33828 at commit [`c5a1d16`](https://github.com/apache/spark/commit/c5a1d16d55591edfc539490d193a77eb38a80ea4).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942956381
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941117641
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144156/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940809059
**[Test build #144127 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144127/testReport)** for PR 33828 at commit [`30113d2`](https://github.com/apache/spark/commit/30113d28dc4a0a619e4bd732b360c84542eb25b3).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942899270
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48700/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940729744
**[Test build #144133 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144133/testReport)** for PR 33828 at commit [`361263b`](https://github.com/apache/spark/commit/361263b9b11e5668286268fc306b399b8760c48a).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905431295
**[Test build #142764 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/142764/testReport)** for PR 33828 at commit [`71f6b17`](https://github.com/apache/spark/commit/71f6b17c91b92a85913f816085290a0212e46939).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905148145
ping @dongjoon-hyun
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r697148671
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1216,6 +1216,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val FILE_COMMIT_STAGING_DIR =
Review comment:
> It's reasonable, but it's an assumption based on this PR AS-IS scope. Some other PRs may try to use it later.
I'm planning to optimize the Commit protocol too and discuss with @cloud-fan https://docs.google.com/document/d/13yzpIUAmgQaJ1Jnu0kqQ4DORDxQoZJmWaJMAVMajdi0/edit#
If we can do like that, I think it's will be more convenient for us to do more optimize on sql part
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905201932
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943080135
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144235/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940740037
ping @dongjoon-hyun @cloud-fan @mridulm @Ngone51
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942931070
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144222/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946319943
Honestly, I haven't follow these problems closely. cc @c21 FYI who might have some content on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948306867
**[Test build #144494 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144494/testReport)** for PR 33828 at commit [`ed58884`](https://github.com/apache/spark/commit/ed588842aa47337c40efd93618d436d025a0c7ac).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r732538146
##########
File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
##########
@@ -2258,4 +2258,14 @@ package object config {
.version("3.2.0")
.stringConf
.createOptional
+
+ val EXEC_STAGING_DIR =
+ ConfigBuilder("spark.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory when " +
+ "dynamic partition overwrite mode.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .createWithDefault(".spark-staging")
Review comment:
> does this default value mean `.spark-staging` folder under the table path?
Yea, like hive, and add more doc about this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947690906
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48936/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-950213757
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144559/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992116253
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50591/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r697135005
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1216,6 +1216,16 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val FILE_COMMIT_STAGING_DIR =
Review comment:
It's reasonable, but it's an assumption based on this PR AS-IS scope. Some other PRs may try to use it later.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905324876
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142756/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r695522680
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/InsertIntoHadoopFsRelationCommand.scala
##########
@@ -162,23 +162,14 @@ case class InsertIntoHadoopFsRelationCommand(
}
}
- // For dynamic partition overwrite, FileOutputCommitter's output path is staging path, files
- // will be renamed from staging path to final output path during commit job
- val committerOutputPath = if (dynamicPartitionOverwrite) {
- FileCommitProtocol.getStagingDir(outputPath.toString, jobId)
- .makeQualified(fs.getUri, fs.getWorkingDirectory)
- } else {
- qualifiedOutputPath
- }
-
Review comment:
Here's code is a little hardcode..
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-905324876
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142756/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941205441
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48634/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-941917487
**[Test build #144173 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144173/testReport)** for PR 33828 at commit [`2c41808`](https://github.com/apache/spark/commit/2c4180886d06e61304774900c45db3d45c18c39c).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on a change in pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on a change in pull request #33828:
URL: https://github.com/apache/spark/pull/33828#discussion_r823324233
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -3542,6 +3542,17 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val EXEC_STAGING_DIR = buildConf("spark.sql.exec.stagingDir")
+ .doc("The staging directory of Spark job. Spark uses it to deal with files with " +
+ "absolute output path, or writing data into partitioned directory " +
+ "when dynamic partition overwrite mode is on. " +
+ "Default value means staging directory is under table path.")
+ .version("3.3.0")
+ .internal()
+ .stringConf
+ .checkValue(!_.isEmpty, "Should not pass an empty string as staging diretory.")
Review comment:
Done
##########
File path: core/src/main/scala/org/apache/spark/internal/io/FileCommitProtocol.scala
##########
@@ -232,6 +253,89 @@ object FileCommitProtocol extends Logging {
def getStagingDir(path: String, jobId: String): Path = {
new Path(path, ".spark-staging-" + jobId)
}
+
+ def externalTempPath(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val extURI = path.toUri
+ if (extURI.getScheme == "viewfs") {
+ getExtTmpPathRelTo(path.getParent, hadoopConf, stagingDir, engineType, jobId)
+ } else {
+ new Path(getExternalScratchDir(extURI, hadoopConf, stagingDir, engineType, jobId),
+ "-ext-10000")
+ }
+ }
+
+ private def getExtTmpPathRelTo(
+ path: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ // Hive uses 10000
+ new Path(getStagingDir(path, hadoopConf, stagingDir, engineType, jobId), "-ext-10000")
+ }
+
+ private def getExternalScratchDir(
+ extURI: URI,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ getStagingDir(
+ new Path(extURI.getScheme, extURI.getAuthority, extURI.getPath),
+ hadoopConf,
+ stagingDir,
+ engineType,
+ jobId)
+ }
+
+ def getStagingDir(
+ inputPath: Path,
+ hadoopConf: Configuration,
+ stagingDir: String,
+ engineType: String,
+ jobId: String): Path = {
+ val inputPathName: String = inputPath.toString
+ val fs: FileSystem = inputPath.getFileSystem(hadoopConf)
+ var stagingPathName: String =
+ if (inputPathName.indexOf(stagingDir) == -1) {
+ new Path(inputPathName, stagingDir).toString
+ } else {
+ inputPathName.substring(0, inputPathName.indexOf(stagingDir) + stagingDir.length)
+ }
+
+ // SPARK-20594: This is a walk-around fix to resolve a Hive bug. Hive requires that the
+ // staging directory needs to avoid being deleted when users set hive.exec.stagingdir
+ // under the table directory.
+ if (isSubDir(new Path(stagingPathName), inputPath, fs) &&
+ !stagingPathName.stripPrefix(inputPathName).stripPrefix("/").startsWith(".")) {
+ logDebug(s"The staging dir '$stagingPathName' should be a child directory starts " +
+ "with '.' to avoid being deleted if we set hive.exec.stagingdir under the table " +
+ "directory.")
+ stagingPathName = new Path(inputPathName, ".hive-staging").toString
+ }
+
+ val dir = fs.makeQualified(
+ new Path(stagingPathName + "_" + executionId(engineType) + "-" + jobId))
+ logDebug("Created staging dir = " + dir + " for path = " + inputPath)
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946949941
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48890/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947543081
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144454/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947686767
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144463/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-946855007
**[Test build #144416 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144416/testReport)** for PR 33828 at commit [`8b93bad`](https://github.com/apache/spark/commit/8b93bad3608cbf20992beec4451c0f6f20183269).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-975398815
gentle ping @c21 @dongjoon-hyun @cloud-fan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran edited a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran edited a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1070799392
that dynamic partition worked overlapped with the committer extension work and the s3a committer.
It broke the merge; those lines you've found show the workaround.
A key problem with the spark code is that it assumes file rename is a good way to commit work. AFAIK, it doesn't assume that directory renames are atomic, but unless file renames work fast then performance is going to be unsatisfactory.
And on S3, file rename is O(data), so applications which use it to promote work (hello hive!) really suffer.
I that's why I have never looked for a good solution here.
Things are different on azure and google cloud, where file rename usually(*) works. This means that we could look about what needs to be done.
Is there anything written up on this commit protocol I could look at to see what could be done?
t the very least we could have the known committer implementations support StreamCapabilities.hasCapability() with some capabilities for the FS we could indirectly ask for related to rename (fast file rename, fast dir rename, atomic dir rename), which would let spark know what was actually viable at all. but those are really fs capabilities, you can't really expect the committer itself to know what the fs does, except in the case of the s3a committer, which is hard coded to one fs, whose semantics are known (though amplidata and netapp s3 devices do have fast file copy/rename even there...)
* look at all the code related to etags, rename recovery and preemptive rate limiting....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] steveloughran edited a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
steveloughran edited a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1070799392
that dynamic partition worked overlapped with the committer extension work and the s3a committer.
It broke the merge; those lines you've found show the workaround.
A key problem with the spark code is that it assumes file rename is a good way to commit work. AFAIK, it doesn't assume that directory renames are atomic, but unless file renames work fast then performance is going to be unsatisfactory.
And on S3, file rename is O(data), so applications which use it to promote work (hello hive!) really suffer.
I that's why I have never looked for a good solution here.
Things are different on azure and google cloud, where file rename usually(*) works. This means that we could look about what needs to be done.
Is there anything written up on this commit protocol I could look at to see what could be done?
t the very least we could have the known committer implementations support StreamCapabilities.hasCapability() with some capabilities for the FS we could indirectly ask for related to rename (fast file rename, fast dir rename, atomic dir rename), which would let spark know what was actually viable at all. but those are really fs capabilities, you can't really expect the committer itself to know what the fs does, except in the case of the s3a committer, which is hard coded to one fs, whose semantics are known (though amplidata and netapp s3 devices do have fast file copy/rename even there...)
* look at all the code related to etags, rename recovery and preemptive rate limiting....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-1066479723
> * propose using ` "spark.sql.sources.writeJobUUID` as the job id when set; more uniqueness and it should be set everywhere.
Now all place use spark's job id, I can do this after this pr since it's not the same thing.
> * core design looks ok. but i don't see why you couldn't support concurrent jobs just by having different subdirs of __temporary for different job IDs/UUIDs, and an option to disable cleanup. (and instructions to do it later, which you'd need to do anyway).
Since if two job write to same table's different partition, the have same output path ${table_location}/temporary/0....
If one job succeed , it will delete that path, then another job's data is lossed.
> * because that use of `__temporary/0` on file output committer is only because on a restart of the MR AM lets the committer use `__temporary/1` (using app attempt number for the subdir) then moving the committed task data from job attempt 0 to its own dir, so recover all existing work. spark doesn't need that.
This is caused that spark still use FileOutputCommitter, still keep this, if we can rewrite a commit protocol, we can avoid this.
> * it'd be good for you to try out my manifest committer against hdfs with your workloads. it is designed to be a lot faster in job commit because all listing of task output directory trees is done in task commit, and job commit does everything in parallel (listing of manifests, loading of manifests, creating dest dirs, file rename). some of the options you don't need for hdfs (parallel delete of task attempt temp dirs)j, but I still expect a massive speedup of job commit, though not as much as for stores where listing and rename is slower.
Yea, I will try this later, it's a very useful design and can reduce hdfs's pressure a lot. I need to check this with our hdfs team too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-948276118
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144484/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-947554688
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48933/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu removed a comment on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu removed a comment on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-943164444
gentle ping @viirya @Ngone51 @mridulm @HyukjinKwon @cloud-fan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AngersZhuuuu commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992059329
retest this please
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][CORE][SQL] Make spark source stagingDir can be customized
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-992069576
**[Test build #146116 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/146116/testReport)** for PR 33828 at commit [`632d725`](https://github.com/apache/spark/commit/632d7255c4ddb1aeb367ed6c0123121348975e7e).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-940809741
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48611/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33828: [SPARK-36579][SQL] Make spark source stagingDir can use user defined
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33828:
URL: https://github.com/apache/spark/pull/33828#issuecomment-942098261
**[Test build #144197 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/144197/testReport)** for PR 33828 at commit [`5926822`](https://github.com/apache/spark/commit/592682235822113a73befe3247f2b7e1bebbd81f).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org