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

Renjith Kamath updated AMBARI-17672:
------------------------------------
    Attachment: AMBARI-17672_trunk+branch-2.4_v1.patch

> Zeppelin service: Remove sample notebook downloading shell script
> -----------------------------------------------------------------
>
>                 Key: AMBARI-17672
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17672
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Anusha Bilgi
>            Assignee: Renjith Kamath
>            Priority: Blocker
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17672_trunk+branch-2.4_v1.patch
>
>
> Sample notebook download script is failing due to lack of permissions on 
> multiple OS
> {code}
> "stderr" : "Traceback (most recent call last):\n  File 
> \"/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py\",
>  line 266, in <module>\n    Master().execute()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
>  line 280, in execute\n    method(env)\n  File 
> \"/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py\",
>  line 59, in install\n    user=params.zeppelin_user)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/base.py\", line 
> 155, in __init__\n    self.env.run()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 160, in run\n    self.run_action(resource, action)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/environment.py\", 
> line 124, in run_action\n    provider_action()\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py\",
>  line 273, in action_run\n    tries=self.resource.tries, 
> try_sleep=self.resource.try_sleep)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 71, in inner\n    result = function(command, **kwargs)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 93, in checked_call\n    tries=tries, try_sleep=try_sleep)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 141, in _call_wrapper\n    result = _call(command, **kwargs_copy)\n  File 
> \"/usr/lib/python2.6/site-packages/resource_management/core/shell.py\", line 
> 294, in _call\n    raise 
> Fail(err_msg)\nresource_management.core.exceptions.Fail: Execution of 
> '/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/setup_snapshot.sh
>  /usr/hdp/current/zeppelin-server ambari-stackviews-6re-3.openstacklocal 9083 
> 10001 ambari-stackviews-6re-2.openstacklocal 9995 True 
> /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package 
> /usr/lib/jvm/java-7-openjdk-amd64 >> /var/log/zeppelin/zeppelin-setup.log' 
> returned 126. ######## Hortonworks #############\nThis is MOTD message, added 
> for testing in qe infra\n-su: 
> /var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/setup_snapshot.sh:
>  Permission denied",
> {code}



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

Reply via email to