You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/07/26 16:22:00 UTC
[jira] [Commented] (AMBARI-21576) Livy2 server startup failure if
no webhdfs enabled
[ https://issues.apache.org/jira/browse/AMBARI-21576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101872#comment-16101872 ]
Doroszlai, Attila commented on AMBARI-21576:
--------------------------------------------
+1 for the patch
> Livy2 server startup failure if no webhdfs enabled
> --------------------------------------------------
>
> Key: AMBARI-21576
> URL: https://issues.apache.org/jira/browse/AMBARI-21576
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.4.0, 2.5.1
> Reporter: Ferenc Schneider
> Attachments: ambari-21576.patch
>
>
> Livy2 server startup failure if no webhdfs enabled. The problem happened when creating a cluster using Cloudbreak on Azure with default WASB filesystem.
> The following exception is thrown:
> {code}
> Traceback (most recent call last):
> File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/livy2_server.py", line 148, in <module>
> LivyServer().execute()
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute
> method(env)
> File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/livy2_server.py", line 59, in start
> self.wait_for_dfs_directories_created([params.entity_groupfs_store_dir, params.entity_groupfs_active_dir])
> File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/livy2_server.py", line 91, in wait_for_dfs_directories_created
> self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs)
> File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py", line 48, in wrapper
> return function(*args, **kwargs)
> File "/var/lib/ambari-agent/cache/common-services/SPARK2/2.0.0/package/scripts/livy2_server.py", line 120, in wait_for_dfs_directory_created
> dfs_ret_code = shell.call(format("hdfs --config {hadoop_conf_dir} dfs -test -d " + dir_path), user=params.livy_user)[0]
> AttributeError: 'module' object has no attribute 'livy_user'
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)