You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/09/18 14:47:18 UTC

Review Request 25776: cannot start HS2

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

[root@c6401 tez]# ambari-server --hash  
dcc03bc735f1258ba5503847b38d11ef8c725ecd

Attempt install with HDP 2.1, and HS2 won't start.

This is what is on the machine. There is no *.tar.ga anything:

    
    
    
    [root@c6401 lib]# cd tez/
    [root@c6401 tez]# ls
    conf                              tez-mapreduce-0.4.0.2.1.5.0-695.jar
    lib                               tez-mapreduce-examples-0.4.0.2.1.5.0-695.jar
    tez-api-0.4.0.2.1.5.0-695.jar     tez-runtime-internals-0.4.0.2.1.5.0-695.jar
    tez-common-0.4.0.2.1.5.0-695.jar  tez-runtime-library-0.4.0.2.1.5.0-695.jar
    tez-dag-0.4.0.2.1.5.0-695.jar     tez-tests-0.4.0.2.1.5.0-695.jar
    
    
    
    
    stderr: 
    2014-09-18 03:10:16,119 - Error while executing command 'start':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_server.py", line 43, in start
        install_tez_jars() # Put tez jars in hdfs
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py", line 83, in install_tez_jars
        hadoop_conf_dir=params.hadoop_conf_dir
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/copy_from_local.py", line 53, in action_run
        conf_dir=hadoop_conf_path
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 54, in action_run
        environment = {'PATH' : path}
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
        raise ex
    Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz' returned 1. copyFromLocal: `/usr/lib/tez/tez*.tar.gz': No such file or directory
     stdout:
    2014-09-18 03:09:48,313 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x "" --retry 10     http://c6401.ambari.apache.org:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
    2014-09-18 03:09:48,344 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x "" --retry 10     http://c6401.ambari.apache.org:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
    2014-09-18 03:09:48,512 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group': 'root', 'recursive': True}
    2014-09-18 03:09:48,514 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
    2014-09-18 03:09:48,542 - Skipping Link['/etc/hadoop/conf'] due to not_if
    2014-09-18 03:09:48,554 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs'}
    2014-09-18 03:09:48,554 - XmlConfig['core-site.xml'] {'owner': 'hdfs', 'group': 'hadoop', 'conf_dir': '/etc/hadoop/conf', 'configuration_attributes': ..., 'configurations': ...}
    2014-09-18 03:09:48,563 - Generating config: /etc/hadoop/conf/core-site.xml
    2014-09-18 03:09:48,563 - File['/etc/hadoop/conf/core-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}
    2014-09-18 03:09:48,564 - Writing File['/etc/hadoop/conf/core-site.xml'] because contents don't match
    2014-09-18 03:09:48,577 - Execute['/bin/echo 0 > /selinux/enforce'] {'only_if': 'test -f /selinux/enforce'}
    2014-09-18 03:09:48,616 - Skipping Execute['/bin/echo 0 > /selinux/enforce'] due to only_if
    2014-09-18 03:09:48,618 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-i386-32; ln -sf /usr/lib/libsnappy.so /usr/lib/hadoop/lib/native/Linux-i386-32/libsnappy.so'] {}
    2014-09-18 03:09:48,631 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-amd64-64; ln -sf /usr/lib64/libsnappy.so /usr/lib/hadoop/lib/native/Linux-amd64-64/libsnappy.so'] {}
    2014-09-18 03:09:48,646 - Directory['/var/log/hadoop'] {'owner': 'root', 'group': 'hadoop', 'mode': 0775, 'recursive': True}
    2014-09-18 03:09:48,647 - Directory['/var/run/hadoop'] {'owner': 'root', 'group': 'root', 'recursive': True}
    2014-09-18 03:09:48,647 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive': True}
    2014-09-18 03:09:48,651 - File['/etc/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
    2014-09-18 03:09:48,653 - File['/etc/hadoop/conf/health_check'] {'content': Template('health_check-v2.j2'), 'owner': 'hdfs'}
    2014-09-18 03:09:48,653 - File['/etc/hadoop/conf/log4j.properties'] {'content': '...', 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
    2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}
    2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
    2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
    2014-09-18 03:09:48,787 - HdfsDirectory['/apps/hive/warehouse'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0777, 'owner': 'hive', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
    2014-09-18 03:09:48,787 - HdfsDirectory['/user/hive'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0700, 'owner': 'hive', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
    2014-09-18 03:09:48,787 - HdfsDirectory['None'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'action': ['create'], 'bin_dir': '/usr/bin'}
    2014-09-18 03:09:48,788 - Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/hive/warehouse /user/hive && hadoop --config /etc/hadoop/conf fs -chmod  777 /apps/hive/warehouse && hadoop --config /etc/hadoop/conf fs -chmod  700 /user/hive && hadoop --config /etc/hadoop/conf fs -chown  hive /apps/hive/warehouse /user/hive'] {'environment': ..., 'not_if': "su - hdfs -c 'export PATH=$PATH:/usr/bin ; hadoop --config /etc/hadoop/conf fs -ls /apps/hive/warehouse /user/hive'", 'user': 'hdfs'}
    2014-09-18 03:09:52,495 - Skipping Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/hive/warehouse /user/hive && hadoop --config /etc/hadoop/conf fs -chmod  777 /apps/hive/warehouse && hadoop --config /etc/hadoop/conf fs -chmod  700 /user/hive && hadoop --config /etc/hadoop/conf fs -chown  hive /apps/hive/warehouse /user/hive'] due to not_if
    2014-09-18 03:09:52,495 - Directory['/etc/hive/conf.server'] {'owner': 'hive', 'group': 'hadoop', 'recursive': True}
    2014-09-18 03:09:52,496 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf.server', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
    2014-09-18 03:09:52,509 - Generating config: /etc/hive/conf.server/mapred-site.xml
    2014-09-18 03:09:52,509 - File['/etc/hive/conf.server/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
    2014-09-18 03:09:52,511 - Writing File['/etc/hive/conf.server/mapred-site.xml'] because contents don't match
    2014-09-18 03:09:52,511 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf.server', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
    2014-09-18 03:09:52,536 - Generating config: /etc/hive/conf.server/hive-site.xml
    2014-09-18 03:09:52,537 - File['/etc/hive/conf.server/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
    2014-09-18 03:09:52,541 - Writing File['/etc/hive/conf.server/hive-site.xml'] because contents don't match
    2014-09-18 03:09:52,546 - File['/etc/hive/conf.server/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,546 - File['/etc/hive/conf.server/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,547 - File['/etc/hive/conf.server/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,548 - File['/etc/hive/conf.server/hive-exec-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
    2014-09-18 03:09:52,550 - File['/etc/hive/conf.server/hive-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
    2014-09-18 03:09:52,550 - Directory['/etc/hive/conf'] {'owner': 'hive', 'group': 'hadoop', 'recursive': True}
    2014-09-18 03:09:52,551 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
    2014-09-18 03:09:52,570 - Generating config: /etc/hive/conf/mapred-site.xml
    2014-09-18 03:09:52,571 - File['/etc/hive/conf/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
    2014-09-18 03:09:52,574 - Writing File['/etc/hive/conf/mapred-site.xml'] because contents don't match
    2014-09-18 03:09:52,575 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
    2014-09-18 03:09:52,590 - Generating config: /etc/hive/conf/hive-site.xml
    2014-09-18 03:09:52,591 - File['/etc/hive/conf/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
    2014-09-18 03:09:52,595 - Writing File['/etc/hive/conf/hive-site.xml'] because contents don't match
    2014-09-18 03:09:52,600 - File['/etc/hive/conf/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,601 - File['/etc/hive/conf/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,602 - File['/etc/hive/conf/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop'}
    2014-09-18 03:09:52,604 - File['/etc/hive/conf/hive-exec-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
    2014-09-18 03:09:52,604 - File['/etc/hive/conf/hive-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
    2014-09-18 03:09:52,605 - Execute['hive mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/ ; cp /usr/share/java/mysql-connector-java.jar /usr/lib/hive/lib//mysql-connector-java.jar'] {'environment': ..., 'path': ['/bin', '/usr/bin/'], 'creates': '/usr/lib/hive/lib//mysql-connector-java.jar', 'not_if': 'test -f /usr/lib/hive/lib//mysql-connector-java.jar'}
    2014-09-18 03:09:52,635 - Skipping Execute['hive mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/ ; cp /usr/share/java/mysql-connector-java.jar /usr/lib/hive/lib//mysql-connector-java.jar'] due to not_if
    2014-09-18 03:09:52,636 - Execute['/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf -x "" --retry 5 http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar''] {'environment': ..., 'not_if': '[ -f DBConnectionVerification.jar]'}
    2014-09-18 03:09:52,685 - File['/var/lib/ambari-agent/data/tmp/start_hiveserver2_script'] {'content': Template('startHiveserver2.sh.j2'), 'mode': 0755}
    2014-09-18 03:09:52,686 - Directory['/var/run/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
    2014-09-18 03:09:52,686 - Directory['/var/log/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
    2014-09-18 03:09:52,686 - Directory['/var/lib/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
    2014-09-18 03:09:52,687 - HdfsDirectory['/apps/tez/'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0755, 'owner': 'tez', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
    2014-09-18 03:09:52,687 - HdfsDirectory['/apps/tez/lib/'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0755, 'owner': 'tez', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
    2014-09-18 03:09:52,689 - HdfsDirectory['None'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'action': ['create'], 'bin_dir': '/usr/bin'}
    2014-09-18 03:09:52,692 - Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chmod  755 /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chown  tez /apps/tez/ /apps/tez/lib/'] {'environment': ..., 'not_if': "su - hdfs -c 'export PATH=$PATH:/usr/bin ; hadoop --config /etc/hadoop/conf fs -ls /apps/tez/ /apps/tez/lib/'", 'user': 'hdfs'}
    2014-09-18 03:09:57,227 - Skipping Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chmod  755 /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chown  tez /apps/tez/ /apps/tez/lib/'] due to not_if
    2014-09-18 03:09:57,227 - CopyFromLocal['/usr/lib/tez/tez*.jar'] {'hdfs_user': 'hdfs', 'owner': 'tez', 'mode': 0755, 'dest_dir': '/apps/tez/', 'hadoop_conf_dir': '/etc/hadoop/conf', 'kinnit_if_needed': ''}
    2014-09-18 03:09:57,230 - ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.jar /apps/tez/'] {'not_if': "su - tez -c ' hadoop fs -ls /apps/tez//tez*.jar' >/dev/null 2>&1", 'user': 'tez', 'conf_dir': '/etc/hadoop/conf'}
    2014-09-18 03:10:00,837 - Skipping ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.jar /apps/tez/'] due to not_if
    2014-09-18 03:10:00,838 - ExecuteHadoop['fs -chown tez /apps/tez//tez*.jar'] {'user': 'hdfs', 'conf_dir': '/etc/hadoop/conf'}
    2014-09-18 03:10:00,840 - Execute['hadoop --config /etc/hadoop/conf fs -chown tez /apps/tez//tez*.jar'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'hdfs', 'try_sleep': 0}
    2014-09-18 03:10:04,673 - ExecuteHadoop['fs -chmod 755 /apps/tez//tez*.jar'] {'user': 'hdfs', 'conf_dir': '/etc/hadoop/conf'}
    2014-09-18 03:10:04,674 - Execute['hadoop --config /etc/hadoop/conf fs -chmod 755 /apps/tez//tez*.jar'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'hdfs', 'try_sleep': 0}
    2014-09-18 03:10:08,067 - CopyFromLocal['/usr/lib/tez/tez*.tar.gz'] {'hdfs_user': 'hdfs', 'owner': 'tez', 'dest_file': 'tez.tar.gz', 'kinnit_if_needed': '', 'dest_dir': '/apps/tez/', 'hadoop_conf_dir': '/etc/hadoop/conf', 'mode': 0755}
    2014-09-18 03:10:08,069 - ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz'] {'not_if': "su - tez -c ' hadoop fs -ls /apps/tez/tez.tar.gz' >/dev/null 2>&1", 'user': 'tez', 'conf_dir': '/etc/hadoop/conf'}
    2014-09-18 03:10:12,496 - Execute['hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'tez', 'try_sleep': 0}
    2014-09-18 03:10:16,119 - Error while executing command 'start':
    Traceback (most recent call last):
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_server.py", line 43, in start
        install_tez_jars() # Put tez jars in hdfs
      File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py", line 83, in install_tez_jars
        hadoop_conf_dir=params.hadoop_conf_dir
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/copy_from_local.py", line 53, in action_run
        conf_dir=hadoop_conf_path
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 54, in action_run
        environment = {'PATH' : path}
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
        raise ex
    Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz' returned 1. copyFromLocal: `/usr/lib/tez/tez*.tar.gz': No such file or directory
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py 0045fee 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py ab86ff7 
  ambari-server/src/main/resources/stacks/HDP/2.1/services/TEZ/configuration/tez-site.xml 7b34d3b 
  ambari-server/src/main/resources/stacks/HDP/2.2.1/services/TEZ/configuration/tez-site.xml PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/TEZ/configuration/tez-site.xml PRE-CREATION 
  ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py e0dc3d8 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 25776: cannot start HS2

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25776/#review53819
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Сен. 18, 2014, 12:47 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25776/
> -----------------------------------------------------------
> 
> (Updated Сен. 18, 2014, 12:47 п.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-7383
>     https://issues.apache.org/jira/browse/AMBARI-7383
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> [root@c6401 tez]# ambari-server --hash  
> dcc03bc735f1258ba5503847b38d11ef8c725ecd
> 
> Attempt install with HDP 2.1, and HS2 won't start.
> 
> This is what is on the machine. There is no *.tar.ga anything:
> 
>     
>     
>     
>     [root@c6401 lib]# cd tez/
>     [root@c6401 tez]# ls
>     conf                              tez-mapreduce-0.4.0.2.1.5.0-695.jar
>     lib                               tez-mapreduce-examples-0.4.0.2.1.5.0-695.jar
>     tez-api-0.4.0.2.1.5.0-695.jar     tez-runtime-internals-0.4.0.2.1.5.0-695.jar
>     tez-common-0.4.0.2.1.5.0-695.jar  tez-runtime-library-0.4.0.2.1.5.0-695.jar
>     tez-dag-0.4.0.2.1.5.0-695.jar     tez-tests-0.4.0.2.1.5.0-695.jar
>     
>     
>     
>     
>     stderr: 
>     2014-09-18 03:10:16,119 - Error while executing command 'start':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_server.py", line 43, in start
>         install_tez_jars() # Put tez jars in hdfs
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py", line 83, in install_tez_jars
>         hadoop_conf_dir=params.hadoop_conf_dir
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/copy_from_local.py", line 53, in action_run
>         conf_dir=hadoop_conf_path
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 54, in action_run
>         environment = {'PATH' : path}
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
>         raise ex
>     Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz' returned 1. copyFromLocal: `/usr/lib/tez/tez*.tar.gz': No such file or directory
>      stdout:
>     2014-09-18 03:09:48,313 - Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x "" --retry 10     http://c6401.ambari.apache.org:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] {'environment': ..., 'not_if': 'test -e /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip', 'ignore_failures': True, 'path': ['/bin', '/usr/bin/']}
>     2014-09-18 03:09:48,344 - Skipping Execute['mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/;     curl -kf -x "" --retry 10     http://c6401.ambari.apache.org:8080/resources//UnlimitedJCEPolicyJDK7.zip -o /var/lib/ambari-agent/data/tmp/AMBARI-artifacts//UnlimitedJCEPolicyJDK7.zip'] due to not_if
>     2014-09-18 03:09:48,512 - Directory['/etc/hadoop/conf.empty'] {'owner': 'root', 'group': 'root', 'recursive': True}
>     2014-09-18 03:09:48,514 - Link['/etc/hadoop/conf'] {'not_if': 'ls /etc/hadoop/conf', 'to': '/etc/hadoop/conf.empty'}
>     2014-09-18 03:09:48,542 - Skipping Link['/etc/hadoop/conf'] due to not_if
>     2014-09-18 03:09:48,554 - File['/etc/hadoop/conf/hadoop-env.sh'] {'content': InlineTemplate(...), 'owner': 'hdfs'}
>     2014-09-18 03:09:48,554 - XmlConfig['core-site.xml'] {'owner': 'hdfs', 'group': 'hadoop', 'conf_dir': '/etc/hadoop/conf', 'configuration_attributes': ..., 'configurations': ...}
>     2014-09-18 03:09:48,563 - Generating config: /etc/hadoop/conf/core-site.xml
>     2014-09-18 03:09:48,563 - File['/etc/hadoop/conf/core-site.xml'] {'owner': 'hdfs', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 'encoding': 'UTF-8'}
>     2014-09-18 03:09:48,564 - Writing File['/etc/hadoop/conf/core-site.xml'] because contents don't match
>     2014-09-18 03:09:48,577 - Execute['/bin/echo 0 > /selinux/enforce'] {'only_if': 'test -f /selinux/enforce'}
>     2014-09-18 03:09:48,616 - Skipping Execute['/bin/echo 0 > /selinux/enforce'] due to only_if
>     2014-09-18 03:09:48,618 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-i386-32; ln -sf /usr/lib/libsnappy.so /usr/lib/hadoop/lib/native/Linux-i386-32/libsnappy.so'] {}
>     2014-09-18 03:09:48,631 - Execute['mkdir -p /usr/lib/hadoop/lib/native/Linux-amd64-64; ln -sf /usr/lib64/libsnappy.so /usr/lib/hadoop/lib/native/Linux-amd64-64/libsnappy.so'] {}
>     2014-09-18 03:09:48,646 - Directory['/var/log/hadoop'] {'owner': 'root', 'group': 'hadoop', 'mode': 0775, 'recursive': True}
>     2014-09-18 03:09:48,647 - Directory['/var/run/hadoop'] {'owner': 'root', 'group': 'root', 'recursive': True}
>     2014-09-18 03:09:48,647 - Directory['/tmp/hadoop-hdfs'] {'owner': 'hdfs', 'recursive': True}
>     2014-09-18 03:09:48,651 - File['/etc/hadoop/conf/commons-logging.properties'] {'content': Template('commons-logging.properties.j2'), 'owner': 'hdfs'}
>     2014-09-18 03:09:48,653 - File['/etc/hadoop/conf/health_check'] {'content': Template('health_check-v2.j2'), 'owner': 'hdfs'}
>     2014-09-18 03:09:48,653 - File['/etc/hadoop/conf/log4j.properties'] {'content': '...', 'owner': 'hdfs', 'group': 'hadoop', 'mode': 0644}
>     2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/hadoop-metrics2.properties'] {'content': Template('hadoop-metrics2.properties.j2'), 'owner': 'hdfs'}
>     2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/task-log4j.properties'] {'content': StaticFile('task-log4j.properties'), 'mode': 0755}
>     2014-09-18 03:09:48,658 - File['/etc/hadoop/conf/configuration.xsl'] {'owner': 'hdfs', 'group': 'hadoop'}
>     2014-09-18 03:09:48,787 - HdfsDirectory['/apps/hive/warehouse'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0777, 'owner': 'hive', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
>     2014-09-18 03:09:48,787 - HdfsDirectory['/user/hive'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0700, 'owner': 'hive', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
>     2014-09-18 03:09:48,787 - HdfsDirectory['None'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'action': ['create'], 'bin_dir': '/usr/bin'}
>     2014-09-18 03:09:48,788 - Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/hive/warehouse /user/hive && hadoop --config /etc/hadoop/conf fs -chmod  777 /apps/hive/warehouse && hadoop --config /etc/hadoop/conf fs -chmod  700 /user/hive && hadoop --config /etc/hadoop/conf fs -chown  hive /apps/hive/warehouse /user/hive'] {'environment': ..., 'not_if': "su - hdfs -c 'export PATH=$PATH:/usr/bin ; hadoop --config /etc/hadoop/conf fs -ls /apps/hive/warehouse /user/hive'", 'user': 'hdfs'}
>     2014-09-18 03:09:52,495 - Skipping Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/hive/warehouse /user/hive && hadoop --config /etc/hadoop/conf fs -chmod  777 /apps/hive/warehouse && hadoop --config /etc/hadoop/conf fs -chmod  700 /user/hive && hadoop --config /etc/hadoop/conf fs -chown  hive /apps/hive/warehouse /user/hive'] due to not_if
>     2014-09-18 03:09:52,495 - Directory['/etc/hive/conf.server'] {'owner': 'hive', 'group': 'hadoop', 'recursive': True}
>     2014-09-18 03:09:52,496 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf.server', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
>     2014-09-18 03:09:52,509 - Generating config: /etc/hive/conf.server/mapred-site.xml
>     2014-09-18 03:09:52,509 - File['/etc/hive/conf.server/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
>     2014-09-18 03:09:52,511 - Writing File['/etc/hive/conf.server/mapred-site.xml'] because contents don't match
>     2014-09-18 03:09:52,511 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf.server', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
>     2014-09-18 03:09:52,536 - Generating config: /etc/hive/conf.server/hive-site.xml
>     2014-09-18 03:09:52,537 - File['/etc/hive/conf.server/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
>     2014-09-18 03:09:52,541 - Writing File['/etc/hive/conf.server/hive-site.xml'] because contents don't match
>     2014-09-18 03:09:52,546 - File['/etc/hive/conf.server/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,546 - File['/etc/hive/conf.server/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,547 - File['/etc/hive/conf.server/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,548 - File['/etc/hive/conf.server/hive-exec-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
>     2014-09-18 03:09:52,550 - File['/etc/hive/conf.server/hive-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
>     2014-09-18 03:09:52,550 - Directory['/etc/hive/conf'] {'owner': 'hive', 'group': 'hadoop', 'recursive': True}
>     2014-09-18 03:09:52,551 - XmlConfig['mapred-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
>     2014-09-18 03:09:52,570 - Generating config: /etc/hive/conf/mapred-site.xml
>     2014-09-18 03:09:52,571 - File['/etc/hive/conf/mapred-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
>     2014-09-18 03:09:52,574 - Writing File['/etc/hive/conf/mapred-site.xml'] because contents don't match
>     2014-09-18 03:09:52,575 - XmlConfig['hive-site.xml'] {'group': 'hadoop', 'conf_dir': '/etc/hive/conf', 'mode': 0644, 'configuration_attributes': ..., 'owner': 'hive', 'configurations': ...}
>     2014-09-18 03:09:52,590 - Generating config: /etc/hive/conf/hive-site.xml
>     2014-09-18 03:09:52,591 - File['/etc/hive/conf/hive-site.xml'] {'owner': 'hive', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': 0644, 'encoding': 'UTF-8'}
>     2014-09-18 03:09:52,595 - Writing File['/etc/hive/conf/hive-site.xml'] because contents don't match
>     2014-09-18 03:09:52,600 - File['/etc/hive/conf/hive-env.sh'] {'content': InlineTemplate(...), 'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,601 - File['/etc/hive/conf/hive-default.xml.template'] {'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,602 - File['/etc/hive/conf/hive-env.sh.template'] {'owner': 'hive', 'group': 'hadoop'}
>     2014-09-18 03:09:52,604 - File['/etc/hive/conf/hive-exec-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
>     2014-09-18 03:09:52,604 - File['/etc/hive/conf/hive-log4j.properties'] {'content': '...', 'owner': 'hive', 'group': 'hadoop', 'mode': 0644}
>     2014-09-18 03:09:52,605 - Execute['hive mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/ ; cp /usr/share/java/mysql-connector-java.jar /usr/lib/hive/lib//mysql-connector-java.jar'] {'environment': ..., 'path': ['/bin', '/usr/bin/'], 'creates': '/usr/lib/hive/lib//mysql-connector-java.jar', 'not_if': 'test -f /usr/lib/hive/lib//mysql-connector-java.jar'}
>     2014-09-18 03:09:52,635 - Skipping Execute['hive mkdir -p /var/lib/ambari-agent/data/tmp/AMBARI-artifacts/ ; cp /usr/share/java/mysql-connector-java.jar /usr/lib/hive/lib//mysql-connector-java.jar'] due to not_if
>     2014-09-18 03:09:52,636 - Execute['/bin/sh -c 'cd /usr/lib/ambari-agent/ && curl -kf -x "" --retry 5 http://c6401.ambari.apache.org:8080/resources/DBConnectionVerification.jar -o DBConnectionVerification.jar''] {'environment': ..., 'not_if': '[ -f DBConnectionVerification.jar]'}
>     2014-09-18 03:09:52,685 - File['/var/lib/ambari-agent/data/tmp/start_hiveserver2_script'] {'content': Template('startHiveserver2.sh.j2'), 'mode': 0755}
>     2014-09-18 03:09:52,686 - Directory['/var/run/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
>     2014-09-18 03:09:52,686 - Directory['/var/log/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
>     2014-09-18 03:09:52,686 - Directory['/var/lib/hive'] {'owner': 'hive', 'group': 'hadoop', 'mode': 0755, 'recursive': True}
>     2014-09-18 03:09:52,687 - HdfsDirectory['/apps/tez/'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0755, 'owner': 'tez', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
>     2014-09-18 03:09:52,687 - HdfsDirectory['/apps/tez/lib/'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'mode': 0755, 'owner': 'tez', 'bin_dir': '/usr/bin', 'action': ['create_delayed']}
>     2014-09-18 03:09:52,689 - HdfsDirectory['None'] {'security_enabled': False, 'keytab': [EMPTY], 'conf_dir': '/etc/hadoop/conf', 'hdfs_user': 'hdfs', 'kinit_path_local': '', 'action': ['create'], 'bin_dir': '/usr/bin'}
>     2014-09-18 03:09:52,692 - Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chmod  755 /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chown  tez /apps/tez/ /apps/tez/lib/'] {'environment': ..., 'not_if': "su - hdfs -c 'export PATH=$PATH:/usr/bin ; hadoop --config /etc/hadoop/conf fs -ls /apps/tez/ /apps/tez/lib/'", 'user': 'hdfs'}
>     2014-09-18 03:09:57,227 - Skipping Execute['hadoop --config /etc/hadoop/conf fs -mkdir `rpm -q hadoop | grep -q "hadoop-1" || echo "-p"` /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chmod  755 /apps/tez/ /apps/tez/lib/ && hadoop --config /etc/hadoop/conf fs -chown  tez /apps/tez/ /apps/tez/lib/'] due to not_if
>     2014-09-18 03:09:57,227 - CopyFromLocal['/usr/lib/tez/tez*.jar'] {'hdfs_user': 'hdfs', 'owner': 'tez', 'mode': 0755, 'dest_dir': '/apps/tez/', 'hadoop_conf_dir': '/etc/hadoop/conf', 'kinnit_if_needed': ''}
>     2014-09-18 03:09:57,230 - ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.jar /apps/tez/'] {'not_if': "su - tez -c ' hadoop fs -ls /apps/tez//tez*.jar' >/dev/null 2>&1", 'user': 'tez', 'conf_dir': '/etc/hadoop/conf'}
>     2014-09-18 03:10:00,837 - Skipping ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.jar /apps/tez/'] due to not_if
>     2014-09-18 03:10:00,838 - ExecuteHadoop['fs -chown tez /apps/tez//tez*.jar'] {'user': 'hdfs', 'conf_dir': '/etc/hadoop/conf'}
>     2014-09-18 03:10:00,840 - Execute['hadoop --config /etc/hadoop/conf fs -chown tez /apps/tez//tez*.jar'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'hdfs', 'try_sleep': 0}
>     2014-09-18 03:10:04,673 - ExecuteHadoop['fs -chmod 755 /apps/tez//tez*.jar'] {'user': 'hdfs', 'conf_dir': '/etc/hadoop/conf'}
>     2014-09-18 03:10:04,674 - Execute['hadoop --config /etc/hadoop/conf fs -chmod 755 /apps/tez//tez*.jar'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'hdfs', 'try_sleep': 0}
>     2014-09-18 03:10:08,067 - CopyFromLocal['/usr/lib/tez/tez*.tar.gz'] {'hdfs_user': 'hdfs', 'owner': 'tez', 'dest_file': 'tez.tar.gz', 'kinnit_if_needed': '', 'dest_dir': '/apps/tez/', 'hadoop_conf_dir': '/etc/hadoop/conf', 'mode': 0755}
>     2014-09-18 03:10:08,069 - ExecuteHadoop['fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz'] {'not_if': "su - tez -c ' hadoop fs -ls /apps/tez/tez.tar.gz' >/dev/null 2>&1", 'user': 'tez', 'conf_dir': '/etc/hadoop/conf'}
>     2014-09-18 03:10:12,496 - Execute['hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz'] {'environment': ..., 'logoutput': False, 'tries': 1, 'user': 'tez', 'try_sleep': 0}
>     2014-09-18 03:10:16,119 - Error while executing command 'start':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/hive_server.py", line 43, in start
>         install_tez_jars() # Put tez jars in hdfs
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py", line 83, in install_tez_jars
>         hadoop_conf_dir=params.hadoop_conf_dir
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/copy_from_local.py", line 53, in action_run
>         conf_dir=hadoop_conf_path
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/execute_hadoop.py", line 54, in action_run
>         environment = {'PATH' : path}
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 241, in action_run
>         raise ex
>     Fail: Execution of 'hadoop --config /etc/hadoop/conf fs -copyFromLocal /usr/lib/tez/tez*.tar.gz /apps/tez//tez.tar.gz' returned 1. copyFromLocal: `/usr/lib/tez/tez*.tar.gz': No such file or directory
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/install_jars.py 0045fee 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/scripts/params.py ab86ff7 
>   ambari-server/src/main/resources/stacks/HDP/2.1/services/TEZ/configuration/tez-site.xml 7b34d3b 
>   ambari-server/src/main/resources/stacks/HDP/2.2.1/services/TEZ/configuration/tez-site.xml PRE-CREATION 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/TEZ/configuration/tez-site.xml PRE-CREATION 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py e0dc3d8 
> 
> Diff: https://reviews.apache.org/r/25776/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>