Support Questions
Find answers, ask questions, and share your expertise

Zeppelin installation fails on sles11 sp4

Zeppelin installation fails on sles11 sp4

Contributor

I am following the below documentation to install Zeppelin on SLES11 SP4 : http://hortonworks.com/hadoop-tutorial/apache-zeppelin-hdp-2-4/

I am aware of this bug: https://issues.apache.org/jira/browse/AMBARI-15659 and in

/var/lib/ambari-server/resources/stacks/HDP/2.4/services/ZEPPELIN/metainfo.xml

  <osSpecific>
        <osFamily>suse11</osFamily>
               <packages>
                         <package>
                             <name>gcc-fortran</name>
                         </package>
                         <package>
                             <name>libblas3</name>
                         </package>
                         <package>
                             <name>liblapack3</name>
                         </package>
                         <package>
                             <name>python-devel</name>
                         </package>
                         <!-- <package>
                             <name>python-pip</name>
                         </package> -->
                         <package>
                             <name>zeppelin</name>
                         </package>
                     </packages>
                 </osSpecific>

The error message is Package 'gcc-gfortran' not found . I want to understand from which file is it fetching the os-family and trying to install centos/redhat related packages instead of suse11 specific

packages

Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 235, in <module> Master().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 54, in install self.install_packages(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 404, in install_packages Package(name) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 49, in action_install self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 57, in install_package self.checked_call_until_not_locked(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 72, in checked_call_until_not_locked return self.wait_until_not_locked(cmd, is_checked=True, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 80, in wait_until_not_locked code, out = func(cmd, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call tries=tries, try_sleep=try_sleep) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper result = _call(command, **kwargs_copy) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call raise Fail(err_msg) resource_management.core.exceptions.Fail: Execution of '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm gcc-gfortran' returned 104. Package 'gcc-gfortran' not found. 
2 REPLIES 2

Re: Zeppelin installation fails on sles11 sp4

@Harini Yadav I just pushed a fix for this. See my comment in the JIRA. If you replace the contents of the updated metainfo.xml above, and restart ambari-server, it should be able to pick up correct package name on install

Re: Zeppelin installation fails on sles11 sp4

@Harini Yadav did this resolve the "Package 'gcc-gfortran' not found" error?