@Override
    public Condition newCondition() {
      throw new UnsupportedOperationException();
    }
Combination of global semaphore and session reentrant lock.
ql/src/java/org/apache/hadoop/hive/ql/lock/CompileLockFactory.java