Github user ericl commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16135#discussion_r91903290
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -53,6 +53,18 @@ private[hive] class HiveMetastoreCatalog(sparkSession: 
SparkSession) extends Log
           tableIdent.table.toLowerCase)
       }
     
    +  /** Locks for preventing driver mem waste when concurrent table 
instantiation */
    +  private val tableCreationLocks = Striped.lazyWeakLock(100)
    --- End diff --
    
    nit: "These locks guard against multiple attempts to instantiate a table, 
which wastes memory."


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to