Skip to content

Conversation

@navis
Copy link
Contributor

@navis navis commented Jun 8, 2015

Just replaced mutable.HashMap to ConcurrentHashMap

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it's a bad idea to put a scala wrapper around java's ConcurrentHashMap. Do you mind just removing the wrapper, and change the call site to just use the functions defined in ConcurrentHashMap?

Also would be great to mark tables as a private val.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, is it? Thanks. I got it.

@rxin
Copy link
Contributor

rxin commented Jun 9, 2015

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34543 has finished for PR 6699 at commit f03654a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jun 10, 2015

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34549 has finished for PR 6699 at commit f03654a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jun 10, 2015

Thanks. I'm going to merge this into master.

@asfgit asfgit closed this in 778f3ca Jun 10, 2015
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
Just replaced mutable.HashMap to ConcurrentHashMap

Author: navis.ryu <[email protected]>

Closes apache#6699 from navis/SPARK-7792 and squashes the following commits:

f03654a [navis.ryu] [SPARK-7792] [SQL] HiveContext registerTempTable not thread safe
mbautin pushed a commit to mbautin/spark that referenced this pull request Jun 21, 2015
Just replaced mutable.HashMap to ConcurrentHashMap

Author: navis.ryu <[email protected]>

Closes apache#6699 from navis/SPARK-7792 and squashes the following commits:

f03654a [navis.ryu] [SPARK-7792] [SQL] HiveContext registerTempTable not thread safe

Conflicts:
	sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Catalog.scala
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants