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 2020/10/09 10:22:44 UTC

[GitHub] [spark] MaxGekk opened a new pull request #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

MaxGekk opened a new pull request #29986:
URL: https://github.com/apache/spark/pull/29986


   ### What changes were proposed in this pull request?
   Propagate LibSVM options to Hadoop configs in the LibSVM datasource.
   
   ### Why are the changes needed?
   There is a bug that when running:
   ```scala
   spark.read.format("libsvm").options(conf).load(path)
   ```
   The underlying file system will not receive the `conf` options.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. After the changes, for example, users should read files from Azure Data Lake successfully:
   ```scala
   def hadoopConf1() = Map[String, String](
     s"fs.adl.oauth2.access.token.provider.type" -> "ClientCredential",
     s"fs.adl.oauth2.client.id" -> dbutils.secrets.get(scope = "...", key = "..."),
     s"fs.adl.oauth2.credential" -> dbutils.secrets.get(scope = "...", key = "..."),
     s"fs.adl.oauth2.refresh.url" -> s"https://login.microsoftonline.com/.../oauth2/token")
   val df = spark.read.format("libsvm").options(hadoopConf1).load("adl://....azuredatalakestore.net/foldersp1/...")
   ```
   and not get the following exception because the settings above are not propagated to the filesystem:
   ```java
   java.lang.IllegalArgumentException: No value for fs.adl.oauth2.access.token.provider found in conf file.
   	at ....adl.AdlFileSystem.getNonEmptyVal(AdlFileSystem.java:820)
   	at ....adl.AdlFileSystem.getCustomAccessTokenProvider(AdlFileSystem.java:220)
   	at ....adl.AdlFileSystem.getAccessTokenProvider(AdlFileSystem.java:257)
   	at ....adl.AdlFileSystem.initialize(AdlFileSystem.java:164)
   	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2669)
   ``` 
   
   ### How was this patch tested?
   Added UT to `LibSVMRelationSuite`.
   
   Authored-by: Max Gekk <ma...@gmail.com>
   Signed-off-by: Dongjoon Hyun <dh...@apple.com>
   (cherry picked from commit 1234c66fa6b6d2c45edb40237788fa3bfdf96cf3)
   Signed-off-by: Max Gekk <ma...@gmail.com>


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706102370


   **[Test build #129583 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129583/testReport)** for PR 29986 at commit [`5bde04f`](https://github.com/apache/spark/commit/5bde04f870e9082576ddecc2fb6d71fd6d7f09ec).


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706135265


   Merged to branch-3.0 and branch-2.4.


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706129774


   **[Test build #129583 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129583/testReport)** for PR 29986 at commit [`5bde04f`](https://github.com/apache/spark/commit/5bde04f870e9082576ddecc2fb6d71fd6d7f09ec).
    * 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.

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128130






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

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] MaxGekk commented on pull request #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
MaxGekk commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706101002


   @HyukjinKwon @dongjoon-hyun This PR does **not** have conflicts with `branch-2.4`.


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

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] MaxGekk commented on pull request #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
MaxGekk commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706101002


   @HyukjinKwon @dongjoon-hyun This PR does **not** have conflicts with `branch-2.4`.


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706102370






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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128130


   Merged build finished. Test FAILed.


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128130






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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706102370


   **[Test build #129583 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129583/testReport)** for PR 29986 at commit [`5bde04f`](https://github.com/apache/spark/commit/5bde04f870e9082576ddecc2fb6d71fd6d7f09ec).


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706120013


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34188/
   


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128108


   Kubernetes integration test status failure
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34188/
   


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706130262






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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706135265


   Merged to branch-3.0 and branch-2.4.


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

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 closed pull request #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #29986:
URL: https://github.com/apache/spark/pull/29986


   


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706130262






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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706102370


   **[Test build #129583 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129583/testReport)** for PR 29986 at commit [`5bde04f`](https://github.com/apache/spark/commit/5bde04f870e9082576ddecc2fb6d71fd6d7f09ec).


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128136


   Test FAILed.
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34188/
   Test FAILed.


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

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 #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29986:
URL: https://github.com/apache/spark/pull/29986#issuecomment-706128130






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

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 closed pull request #29986: [SPARK-33101][ML][3.0] Make LibSVM format propagate Hadoop config from DS options to underlying HDFS file system

Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #29986:
URL: https://github.com/apache/spark/pull/29986


   


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

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