ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21576) Livy2 server startup failure if no webhdfs enabled
Date Wed, 26 Jul 2017 17:42:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-21576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16101989#comment-16101989
] 

Hudson commented on AMBARI-21576:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1747 (See [https://builds.apache.org/job/Ambari-branch-2.5/1747/])
AMBARI-21576. Livy2 server startup failure if webhdfs not enabled (adoroszlai: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=187c9151146bf0368c379e073ad63b093113d61b])
* (edit) ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/livy2_server.py


> 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
>             Fix For: 3.0.0, 2.5.2
>
>         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)

Mime
View raw message