spring-attic / spring-xd-ambari

Apache Ambari integration for Spring XD
Apache License 2.0
9 stars 18 forks source link

Ambari Installation Failure on HDP Sandbox 2.3 - Spring XD Shell Install #5

Closed jagatsingh closed 8 years ago

jagatsingh commented 9 years ago

HDP 2.3 is coming. time to see its requirements

Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 39, in SpringXdShell().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 31, in install self.configure(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 34, in configure import params File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/params.py", line 151, in HdfsDirectory, NameError: name 'HdfsDirectory' is not defined

Directory permissions

drwxrwxrwx - hdfs hdfs 0 2015-07-09 04:28 /user

[root@sandbox ~]# hadoop fs -ls -R /tmp/hadoop-yarn drwxrwxrwx - yarn hdfs 0 2015-07-12 05:47 /tmp/hadoop-yarn/staging drwxrwxrwx - yarn hdfs 0 2015-07-12 05:47 /tmp/hadoop-yarn/staging/history

trisberg commented 9 years ago

The HDP 2.3 Technical Preview Sandbox uses Ambari 2.1(Build 781) according to the release notes. Our Ambari support is for 1.7.0, 1.7.1 and 2.0.1. Looks like we need to make some changes to accommodate Ambari 2.1 in a future release.

tzolov commented 9 years ago

11 provides a fix for supporting HDP2.3 and Ambari 2.1

getstek commented 9 years ago

I get this when trying to build on 2.2 stack on Ambari:

Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 39, in SpringXdShell().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 218, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 31, in install self.configure(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/springxd_shell.py", line 34, in configure import params File "/var/lib/ambari-agent/cache/stacks/HDP/2.2/services/SPRINGXD/package/scripts/params.py", line 151, in HdfsDirectory, NameError: name 'HdfsDirectory' is not defined

Following the install instructions on the Github page. What am I missing?

trisberg commented 9 years ago

What version of Ambari? Our Ambari support works with 1.7.0, 1.7.1 and 2.0.1.