ambari-issues mailing list archives

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

             Summary: 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


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