You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Sowmya Ramesh (JIRA)" <ji...@apache.org> on 2014/10/18 03:54:34 UTC

[jira] [Updated] (FALCON-819) Submission of cluster with registry interface fails on secure setup

     [ https://issues.apache.org/jira/browse/FALCON-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sowmya Ramesh updated FALCON-819:
---------------------------------
    Description: 
Cluster submission on secure cluster 

{noformat}
org.apache.falcon.entity.parser.ValidationException: Invalid Catalog server or port: thrift://falcon-secure-sramesh-3.cs1cloud.internal:9083
        at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:205)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:82)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:53)
        at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:373)
        at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:340)
        at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:156)
        at org.apache.falcon.resource.ConfigSyncService.submit(ConfigSyncService.java:44)
        at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:125)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:448)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:127)
....
Caused by: org.apache.falcon.FalconException: Exception checking if the service is alive:org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
        at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:133)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:201)
        ... 61 more
Caused by: org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
        at org.apache.hive.hcatalog.api.HCatClientHMSImpl.getDatabase(HCatClientHMSImpl.java:85)
        at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:130)
        ... 62 more
Caused by: MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
{noformat}

  was:
2014-10-14 19:21:44,652 DEBUG - [main:] ~ current.colo= (ApplicationProperties:150)
...skipping...
org.apache.falcon.entity.parser.ValidationException: Invalid Catalog server or port: thrift://falcon-secure-sramesh-3.cs1cloud.internal:9083
        at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:205)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:82)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:53)
        at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:373)
        at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:340)
        at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:156)
        at org.apache.falcon.resource.ConfigSyncService.submit(ConfigSyncService.java:44)
        at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:125)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:448)
        at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:127)
....
Caused by: org.apache.falcon.FalconException: Exception checking if the service is alive:org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
        at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:133)
        at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:201)
        ... 61 more
Caused by: org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
        at org.apache.hive.hcatalog.api.HCatClientHMSImpl.getDatabase(HCatClientHMSImpl.java:85)
        at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:130)
        ... 62 more
Caused by: MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)


> Submission of cluster with registry interface fails on secure setup
> -------------------------------------------------------------------
>
>                 Key: FALCON-819
>                 URL: https://issues.apache.org/jira/browse/FALCON-819
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.5, 0.6
>            Reporter: Sowmya Ramesh
>            Assignee: Sowmya Ramesh
>             Fix For: 0.6
>
>
> Cluster submission on secure cluster 
> {noformat}
> org.apache.falcon.entity.parser.ValidationException: Invalid Catalog server or port: thrift://falcon-secure-sramesh-3.cs1cloud.internal:9083
>         at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:205)
>         at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:82)
>         at org.apache.falcon.entity.parser.ClusterEntityParser.validate(ClusterEntityParser.java:53)
>         at org.apache.falcon.resource.AbstractEntityManager.validate(AbstractEntityManager.java:373)
>         at org.apache.falcon.resource.AbstractEntityManager.submitInternal(AbstractEntityManager.java:340)
>         at org.apache.falcon.resource.AbstractEntityManager.submit(AbstractEntityManager.java:156)
>         at org.apache.falcon.resource.ConfigSyncService.submit(ConfigSyncService.java:44)
>         at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.falcon.resource.channel.IPCChannel.invoke(IPCChannel.java:49)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:125)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:448)
>         at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:127)
> ....
> Caused by: org.apache.falcon.FalconException: Exception checking if the service is alive:org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
>         at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:133)
>         at org.apache.falcon.entity.parser.ClusterEntityParser.validateRegistryInterface(ClusterEntityParser.java:201)
>         ... 61 more
> Caused by: org.apache.hive.hcatalog.common.HCatException : 9001 : Exception occurred while processing HCat request : MetaException while fetching database. Cause : MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
>         at org.apache.hive.hcatalog.api.HCatClientHMSImpl.getDatabase(HCatClientHMSImpl.java:85)
>         at org.apache.falcon.catalog.HiveCatalogService.isAlive(HiveCatalogService.java:130)
>         ... 62 more
> Caused by: MetaException(message:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException): User: hive/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM is not allowed to impersonate falcon/falcon-secure-sramesh-3.cs1cloud.internal@EXAMPLE.COM)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)