You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by sureshthalamati <gi...@git.apache.org> on 2015/12/23 19:54:45 UTC

[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

GitHub user sureshthalamati opened a pull request:

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

    [SPARK-12504][SQL] Masking credentials in the sql plan explain output for JDBC data sources.

    This fix masks JDBC  credentials in the explain output.  URL patterns to specify credential seems to be vary between different databases. Added a new method to dialect to mask the credentials according to the database specific URL pattern. 
    
    While adding tests I noticed explain output includes array variable for partitions ([Lorg.apache.spark.Partition;@3ff74546,).  Modified the code to include the first, and last partition information. 

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

    $ git pull https://github.com/sureshthalamati/spark mask_jdbc_credentials_spark-12504

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

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

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

    This closes #10452
    
----
commit 22502bc8a8bfded2efa194897f6d01f0d37ba3be
Author: sureshthalamati <su...@gmail.com>
Date:   2015-12-23T18:42:44Z

    mask jdbc data source credentials in the explain plan output

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#discussion_r48405336
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRelation.scala ---
    @@ -19,6 +19,7 @@ package org.apache.spark.sql.execution.datasources.jdbc
     
     import java.util.Properties
     
    +import org.apache.spark.sql.jdbc.JdbcDialects
    --- End diff --
    
    Nit: out of order


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169424065
  
    This doesn't patch cleanly.  @sureshthalamati (or someone) can you open a PR against branch-1.6.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-168497026
  
    **[Test build #2303 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2303/consoleFull)** for PR 10452 at commit [`33a0281`](https://github.com/apache/spark/commit/33a02814c8ba121f5a5c65946c8142ea54519a08).
     * This patch **fails PySpark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-170095510
  
    Thanks for merging this to 2.0, Michael , I will create PR against 1.6 branch.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169136996
  
    Retest this please. 
    
    Tests passed in my branch. Test Failure in the builds does not seem to be related to my changes. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169401454
  
    We typically only merge critical bug fixes into release branches, but this is small enough that I would consider it if its important to you.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#discussion_r48405431
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCSuite.scala ---
    @@ -517,4 +519,65 @@ class JDBCSuite extends SparkFunSuite
         assert(rows(0).getAs[java.sql.Timestamp](2)
           === java.sql.Timestamp.valueOf("2002-02-20 11:22:33.543543"))
       }
    +
    +  test("test masking of credentials in the properties") {
    +    val df = sql("SELECT * FROM parts")
    +    // make sure plan credentials are not leaked any where in the plan.
    +    val explain = ExplainCommand(df.queryExecution.logical, extended = true)
    +    sqlContext.executePlan(explain).executedPlan.executeCollect().foreach {
    +      r => assert(!List("testPass", "testUser").exists(r.toString.contains))
    +    }
    +    // test the JdbcRelation toString method credentials masking format
    +    val jdbcRelationStr = s"""JDBCRelation(jdbc:h2:...,TEST.PEOPLE,
    +                             |Partition[3](JDBCPartition(THEID < 2,0)...,
    +                             |JDBCPartition(THEID >= 3,2)),
    +                             |Map(url -> jdbc:h2:..., upperbound -> 4,
    +                             | lowerbound -> 1, numpartitions -> 3,
    +                             | dbtable -> TEST.PEOPLE, partitioncolumn -> THEID,
    +                             | user -> ***, password -> ***))
    +                             |""".stripMargin.replaceAll("\n", "")
    +    df.queryExecution.analyzed.collect {
    +      case r: LogicalRelation => assert(r.relation.toString == jdbcRelationStr)
    +    }
    +  }
    +
    +  test("test masking of credentials in the connection url") {
    +    val df = sqlContext.read.jdbc(urlWithUserAndPass, "TEST.PEOPLE", new Properties)
    +    // test to make sure credentials are not leaking into the plan strings.
    +    val explain = ExplainCommand(df.queryExecution.logical, extended = true)
    +    sqlContext.executePlan(explain).executedPlan.executeCollect().foreach {
    +      r => assert(!List("testPass", "testUser").exists(r.toString.contains))
    +    }
    +
    +    // test the JdbcRelation toString method credentials masking format
    +    val jdbcRelationStr = s"""JDBCRelation(jdbc:h2:mem:testdb0;user=***;password=***,
    +                             |TEST.PEOPLE,Partition[1](JDBCPartition(null,0)),Map())
    +                             |""".stripMargin.replaceAll("\n", "")
    +    df.queryExecution.analyzed.collect {
    +      case r: LogicalRelation => assert(r.relation.toString == jdbcRelationStr)
    +    }
    +  }
    +
    +  test("test masking of credentials in different database dialects") {
    +    List(
    +      ("jdbc:postgresql://localhost/test?user=fred&password=secret&ssl=true",
    +        "jdbc:postgresql://localhost/test?user=***&password=***&ssl=true"),
    +      ("jdbc:mysql://localhost/test?user=minty&password=greatsqldb",
    +        "jdbc:mysql://localhost/test?user=***&password=***"),
    +      ("jdbc:sqlserver://host:port;databasename=name;user=yourUser;password=yourPwd",
    +        "jdbc:sqlserver://host:port;databasename=name;user=***;password=***"),
    +      ("jdbc:db2://host:port/dbName:user=yourUser;password=yourPwd;",
    +        "jdbc:db2://host:port/dbName:user=***;password=***;"),
    +      ("jdbc:oracle:thin:scott/tiger@myhost:1521:orcl",
    +        "jdbc:oracle:thin:***/***@myhost:1521:orcl"),
    +      ("jdbc:oracle:oci8:scott/tiger@myhost",
    +        "jdbc:oracle:oci8:***/***@myhost"),
    +      ("jdbc:teradata://localhost/DATABASE=dbName,user=yourUser,password=yourPwd",
    +        "jdbc:teradata://localhost/DATABASE=dbName,user=***,password=***"),
    +      ("jdbc:newdb://localhost/DATABASE=dbName,user=yourUser,pwd=yourPwd",
    +        "jdbc:newdb:...")
    +    ).map(urldata => {
    --- End diff --
    
    foreach with a case expression to make this clearer?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169167867
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-167015712
  
    What about taking the whitelist approach and only include the dbtable (with possible truncation) in the `toString`.  Its not great when these are too long as they wrap the tree weirdly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#discussion_r48405397
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala ---
    @@ -108,6 +108,19 @@ abstract class JdbcDialect extends Serializable {
       def beforeFetch(connection: Connection, properties: Map[String, String]): Unit = {
       }
     
    +  /**
    +   * Mask the credential information in the url string. Dialects should overwrite
    +   * this method to mask according to according to database the specific url pattern.
    +   * @param url the jdbc connection url.
    +   * @return The url with credentials masked.
    +   */
    +  def maskCredentials(url: String): String = {
    +    // Following regex attempts to captures the common pattern in the urls, when
    +    // pattern does not match only url prefix is returned.
    +    ("""(.)password=""".r findFirstIn url) map { x =>
    --- End diff --
    
    Don't use the postfix syntax -- just write the normal "." and "()"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169593281
  
    @marmbrus 
    This patch worked.
    But I think that only table name is too less information.
    Can we add also host or url ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169144753
  
    test this please


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169192724
  
    Thanks, merging to master.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-167167658
  
    Thank you very much for reviewing the patch  Michael , Sean.
    
    @Michael : I agree with you long unnecessary strings in the plan output is annoying. If there are two JDBC relations in the plan referring to different servers but with same table names then we will not be able to identify them uniquely, I guess that is a rare scenario, and not important in the plan output.  
          
    If I understood your comments correctly JDBCRelation(<table>) (eg: JDBCRelation(salesdb.orders)) is sufficient in the plan output. Did I get that right ?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#discussion_r48405368
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/jdbc/DB2Dialect.scala ---
    @@ -29,4 +29,8 @@ private object DB2Dialect extends JdbcDialect {
         case BooleanType => Option(JdbcType("CHAR(1)", java.sql.Types.CHAR))
         case _ => None
       }
    +
    +  override def maskCredentials(url: String): String = {
    +    url.replaceAll("(user|password)=(.*?)(;|$)", "$1=***$3")
    --- End diff --
    
    Nit: you don't need the second capturing group, unless I'm missing something about the regex


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169145624
  
    **[Test build #48792 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/48792/consoleFull)** for PR 10452 at commit [`33a0281`](https://github.com/apache/spark/commit/33a02814c8ba121f5a5c65946c8142ea54519a08).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-167605425
  
    Yes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169420636
  
    It's not the explain but SQL Tab on Spark web console.
    As far as I understand information there are taken from the same source.
    Am I right ? 
    PS. I'm building Spark with this patch to check this out.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-168260505
  
    Thanks, Michael. Updated the PR.  Please review. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169409283
  
    For me this is critical security issue.
    So I'd like to have it in 1.6 branch 
    (I'm sure that 1.6.1 will be available earlier than 2.0.0)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-168259705
  
    **[Test build #2283 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2283/consoleFull)** for PR 10452 at commit [`78e5d84`](https://github.com/apache/spark/commit/78e5d845c935623fdea60e1e79f35aebd9cddb60).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-168491856
  
    **[Test build #2303 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2303/consoleFull)** for PR 10452 at commit [`33a0281`](https://github.com/apache/spark/commit/33a02814c8ba121f5a5c65946c8142ea54519a08).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169423769
  
    Ah, that is a good point.  I'm not exactly sure, but would be interested to find out.  I'll backport this.  I mostly wanted to make sure you weren't expecting more security than you were getting.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169167587
  
    **[Test build #48792 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/48792/consoleFull)** for PR 10452 at commit [`33a0281`](https://github.com/apache/spark/commit/33a02814c8ba121f5a5c65946c8142ea54519a08).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169395482
  
    @marmbrus 
    What about merging it to 1.6 branch ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-169411013
  
    Okay, we can back port it.  I'm a little curious about your use case, as this seems mostly cosmetic to me.  If users can run Spark jobs they have access to the JVM that will allow them to steal these credentials in ways that are not running EXPLAIN.  If these are metastore tables and they are using the JDBC server they similarly have the power to query them from the metastore.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


[GitHub] spark pull request: [SPARK-12504][SQL] Masking credentials in the ...

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

    https://github.com/apache/spark/pull/10452#issuecomment-168271940
  
    **[Test build #2283 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2283/consoleFull)** for PR 10452 at commit [`78e5d84`](https://github.com/apache/spark/commit/78e5d845c935623fdea60e1e79f35aebd9cddb60).
     * This patch passes all tests.
     * This patch **does not merge cleanly**.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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