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] [Commented] (SQOOP-3274) hive import job throws AccessControlException for hive 2
Date Fri, 12 Jan 2018 08:13:00 GMT

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

Zac Zhou commented on SQOOP-3274:
---------------------------------

Hi Szabolcs,

I was integrating sqoop with hive 2.1.1. Our QA run hive import job for testing and got exception
info in the log. The job was successful but the exception info was really confused.




> 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
>         Attachments: SQOOP-3274.patch
>
>
> 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