ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <>
Subject [jira] [Created] (AMBARI-9354) Oracle JDK fails to be distributed to agents
Date Tue, 27 Jan 2015 14:37:34 GMT
Andrew Onischuk created AMBARI-9354:

             Summary: Oracle JDK fails to be distributed to agents
                 Key: AMBARI-9354
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 2.0.0

After setting up Ambari server and choosing Oracle JDK 1.6 (option #2):

    [root@c6504 ~]# ambari-server setup
    Using python  /usr/bin/python2.6
    Setup ambari-server
    Checking SELinux...
    SELinux status is 'disabled'
    Customize user account for ambari-server daemon [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): 2
    To download the Oracle JDK and the Java Cryptography Extension (JCE) Policy Files you
must accept the license terms found at
and not accepting will cancel the Ambari Server setup and you must install the JDK and JCE
files manually.
    Do you accept the Oracle Binary Code License Agreement [y/n] (y)? y
    Downloading JDK from
to /var/lib/ambari-server/resources/jdk-6u31-linux-x64.bin
    jdk-6u31-linux-x64.bin... 100% (81.6 MB of 81.6 MB)
    Successfully downloaded JDK distribution to /var/lib/ambari-server/resources/jdk-6u31-linux-x64.bin
    Installing JDK to /usr/jdk64/
    Successfully installed JDK to /usr/jdk64/
    Downloading JCE Policy archive from
to /var/lib/ambari-server/resources/ 100%
    Successfully downloaded JCE Policy archive to /var/lib/ambari-server/resources/
    Completing setup...

When installing a cluster HDFS components fail to install with the following

    2015-01-27 11:53:42,477 - Error while executing command 'install':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/",
line 184, in execute
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/",
line 35, in hook
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/",
line 60, in setup_java
        sudo = True,
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line 148,
in __init__
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line
151, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/", line
117, in run_action
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/",
line 277, in action_run
        raise ex
    Fail: Execution of 'chmod +x /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jdk-6u31-linux-x64.bin'
returned 1. chmod: cannot access `/var/lib/ambari-agent/data/tmp/AMBARI-artifacts//jdk-6u31-linux-x64.bin':
No such file or directory

This message was sent by Atlassian JIRA

View raw message