sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zac Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SQOOP-3274) hive import job throws AccessControlException for hive 2
Date Mon, 08 Jan 2018 11:39:00 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316156#comment-16316156
] 

Zac Zhou edited comment on SQOOP-3274 at 1/8/18 11:38 AM:
----------------------------------------------------------

The root cause is async logging is enabled in hive 2


was (Author: yuan_zac):
The root cause is async logging isenabled in hive 2

> hive import job throws AccessControlException for hive 2
> --------------------------------------------------------
>
>                 Key: SQOOP-3274
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3274
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Zac Zhou
>
> 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)
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message