[ https://issues.apache.org/jira/browse/HIVE-23088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17088927#comment-17088927 ]
David Lavati commented on HIVE-23088: ------------------------------------- Thank you [~pgaref], I'm not familiar with the state of branch-3, but if my new reupload has similar results, I guess it's business as usual. The change is probably simple enough to merge it there as well though. > Using Strings from log4j breaks non-log4j users > ----------------------------------------------- > > Key: HIVE-23088 > URL: https://issues.apache.org/jira/browse/HIVE-23088 > Project: Hive > Issue Type: Bug > Affects Versions: 3.1.2 > Reporter: Vova Vysotskyi > Assignee: David Lavati > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0, 3.2.0, 3.1.3 > > Attachments: HIVE-23088.01.branch-3.patch, > HIVE-23088.01.branch-3.patch, HIVE-23088.01.branch-3.patch, > HIVE-23088.01.patch, HIVE-23088.01.patch > > Time Spent: 10m > Remaining Estimate: 0h > > {{HookUtils}} uses explicitly {{org.apache.logging.log4j.util.Strings}} class > from log4j, but it may break clients who use other loggers and should exclude > log4j from the classpath. > {{commons-lang}} has class {{StringUtils}} which may be used as a replacement > for this one: > {{Strings.isBlank}} -> {{StringUtils.isBlank}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)