HIVE-29768: Fix ClassNotFoundException(SQLStdHiveAuthorizerFactoryForTest) in compactor tests - #6643
HIVE-29768: Fix ClassNotFoundException(SQLStdHiveAuthorizerFactoryForTest) in compactor tests#6643maheshrajus wants to merge 2 commits into
Conversation
|
@abstractdog @ayushtkn @deniskuzZ @zabetak Could you please review and approve the changes at your convenience? |
|
LGTM |
the fix makes sense to me: let's not gather stats if the compactor tests don't rely on them, can make this comment more concise? Later readers are not interested in this detail; they need to know the basic facts like: "Disable stats by default as these tests do not assert on the stats that StatsUpdater.gatherStats produces." you can also add a minor note that, enabling these would need a proper setup of an authorizer |
…rTest) in compactor tests
18a210c to
d52ef42
Compare
@abstractdog Fixed |
|



What changes were proposed in this pull request?
Disables
hive.compactor.gather.statsby default in the compactor test base class (CompactorTest)so post-compaction stats gathering no longer runs during unit tests.
These tests do not assert on the stats that StatsUpdater.gatherStats produces.
Why are the changes needed?
Every TestWorker run (and every other test extending CompactorTest) emits a loud stack trace(CNFE) after each successful compaction.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existed UT