Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23088

Using Strings from log4j breaks non-log4j users

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. HIVE-23088.01.patch
          5 kB
          David Lavati
        2. HIVE-23088.01.branch-3.patch
          6 kB
          David Lavati
        3. HIVE-23088.01.patch
          5 kB
          David Lavati
        4. HIVE-23088.01.branch-3.patch
          6 kB
          David Lavati
        5. HIVE-23088.01.branch-3.patch
          6 kB
          David Lavati

        Issue Links

          Activity

            People

              dlavati David Lavati
              volodymyr Vova Vysotskyi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h