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

Belliraj HB resolved AMBARI-19555.
----------------------------------
    Resolution: Fixed

> Error while importing asset from HDFS
> -------------------------------------
>
>                 Key: AMBARI-19555
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19555
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.5.0
>            Reporter: Supreeth Sharma
>            Priority: Critical
>              Labels: WFD
>             Fix For: 2.5.0
>
>
> Action to import asset from HDFS is failing with below error.
> Steps to reproduce :
> 1) Create an action node.
> 2) Export it to HDFS.
> 3) Now try to import that same asset from HDFS.
> Action is failing with below error :
> {code}
> There is some problem while importing.Please try again. Hide Log
> org.apache.hadoop.security.AccessControlException: Permission denied: 
> user=admin, access=EXECUTE, 
> inode="/tmp/hive.asset/asset.wfasset/workflow.xml":admin:hdfs:-rw-r--r--
>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>     at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>     at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>     at 
> org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
> {code}
> Here the code is trying to access /tmp/hive.asset/asset.wfasset/workflow.xml 
> though the asset file is /tmp/hive.asset/asset.wfasset and failing as 
> /tmp/hive.asset/asset.wfasset/workflow.xml doesnt exist.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to