ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Supreeth Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-19555) Error while importing asset from HDFS
Date Mon, 16 Jan 2017 05:45:26 GMT
Supreeth Sharma created AMBARI-19555:
----------------------------------------

             Summary: 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
             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.4#6332)

Mime
View raw message