Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-3274

hive import job throws AccessControlException for hive 2

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      when integrating with hive 2, the job can be executed successfully, but with an AccessControlException:

      ERROR Could not register mbeans java.security.AccessControlException: access denied ("javax.management.MBeanTrustPermission" "register")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1848)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:322)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
      at org.apache.logging.log4j.core.jmx.Server.register(Server.java:379)
      at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:171)
      at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:147)
      at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:457)
      at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:246)
      at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:230)
      at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:140)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuan_zac Zac Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: