kgyrtkirk commented on a change in pull request #1724:
URL: https://github.com/apache/hive/pull/1724#discussion_r557426325
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
##########
@@ -281,6 +279,7 @@ public static boolean isRenameAllowed(Database srcDB,
Database destDB) {
static AtomicInteger databaseCount, tableCount, partCount;
private Warehouse wh; // hdfs warehouse
+ private static Striped<Lock> tablelocks;
Review comment:
this field must be static - if it's not; then it could not impose
exclusiveness.
note that this field is [initialized alongside with the `threadPool`
field](https://github.com/apache/hive/pull/1724/files/bc11bb62d3700b227f48b4683282b826b946f8bd#diff-00e70b6958060aa36762b21bf16676f83af01c1e09b56816aecc6abe7c8ac866R491)
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]