Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-1734

Hive sync script (run_sync_tool.sh) fails w/ ClassNotFoundError : org/apache/log4j/LogManager

    XMLWordPrintableJSON

Details

    Description

      ./run_sync_tool_sh --jdbc-url jdbc:hive://dxbigdata102:1000 \ --user appuser \ --pass '' \ --base-path 'hdfs://dxbigdata101:8020/user/hudi/test/data/hudi_trips_cow' \ --database test \ --table hudi_trips_cow

       

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
      at org.apache.hudi.hive.HiveSyncTool.(HiveSyncTool.java:55)
      Caused by: java.lang.ClassNotFoundException: org.apache.log4j.LogManager
      at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
      ... 1 more

       

      https://github.com/apache/hudi/issues/2728

      Attachments

        Activity

          People

            Unassigned Unassigned
            shivnarayan sivabalan narayanan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: