ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 30496: Ambari-server setup fails on sles
Date Mon, 02 Feb 2015 12:28:58 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30496/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-9423
    https://issues.apache.org/jira/browse/AMBARI-9423


Repository: ambari


Description
-------

s1101:jdk64 # ambari-server setup -s
    Using python  /usr/bin/python2.6
    Setup ambari-server
    Checking SELinux...
    WARNING: Could not run /usr/sbin/sestatus: OK
    Ambari-server daemon is configured to run under user 'root'. Change this setting [y/n]
(n)? 
    Adjusting ambari-server permissions and ownership...
    Checking iptables...
    Checking JDK...
    [1] Oracle JDK 1.7
    [2] Oracle JDK 1.6
    [3] - Custom JDK
    ==============================================================================
    Enter choice (1): 
    JDK already exists, using /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gz
    Installing JDK to /usr/jdk64/
    Successfully installed JDK to /usr/jdk64/
    JCE Policy archive already exists, using /var/lib/ambari-server/resources/UnlimitedJCEPolicyJDK7.zip
    Installing JCE policy...
    Traceback (most recent call last):
      File "/usr/sbin/ambari-server.py", line 597, in <module>
        main()
      File "/usr/sbin/ambari-server.py", line 568, in main
        action_obj.execute()
      File "/usr/sbin/ambari-server.py", line 58, in execute
        self.fn(*self.args, **self.kwargs)
      File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 956, in setup
        unpack_jce_policy()
      File "/usr/lib/python2.6/site-packages/ambari_server/serverSetup.py", line 890, in unpack_jce_policy
        f.extractall(jdk_security_path)
      File "/usr/lib64/python2.6/zipfile.py", line 940, in extractall
        self.extract(zipinfo, path, pwd)
      File "/usr/lib64/python2.6/zipfile.py", line 928, in extract
        return self._extract_member(member, path, pwd)
      File "/usr/lib64/python2.6/zipfile.py", line 965, in _extract_member
        target = file(targetpath, "wb")
    IOError: [Errno 20] Not a directory: '/usr/jdk64/jdk1.7.0_67/jre/lib/security/UnlimitedJCEPolicy/US_export_policy.jar'


Diffs
-----

  ambari-server/src/main/python/ambari_server/serverSetup.py 8ba8647 

Diff: https://reviews.apache.org/r/30496/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message