Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> HiveHistoryViewer concurrency problem


Copy link to this message
-
HiveHistoryViewer concurrency problem
new HiveHistoryViewer() throws ConcurrentModificationException when called
concurrently by several threads.

According to the stack trace, HiveHistory.parseLine use *private static
Map<String, String> parseBuffer* to store parsed data and this caused the
exception.

I don't know why a static buffer rather than a local buffer is used!
Anybody have an idea about this?