[
https://issues.apache.org/jira/browse/AMBARI-4447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891623#comment-13891623
]
Yusaku Sako commented on AMBARI-4447:
-------------------------------------
[~erinaboyd], globals should be added to global.xml in the stack definition.
It also should be add to global_properties.js if we want to make it appear with
a certain user-friendly name and/or a specific location in the configuration UI.
[~jaimin]'s new patch allows one to definite a global parameter for multiple
services (as we have done for GLUSTERFS and HDFS for hadoop_heapsize).
Previously, the first one declared was overwriting the other from being
processed (that is why hadoop_heapsize was not appearing in GLUSTERFS config
page and not being saved). Tested the patch doing cluster installs using both
HDFS and GLUSTERFS and checked the resulting configurations and they look fine.
Also verified sure that reconfiguration of services are not broken.
> Hive and WebHcat won't start with 2.0.6.GlusterFS stack.
> --------------------------------------------------------
>
> Key: AMBARI-4447
> URL: https://issues.apache.org/jira/browse/AMBARI-4447
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.4.4
> Reporter: Erin A Boyd
> Assignee: Erin A Boyd
> Fix For: 1.4.4
>
> Attachments: AMBARI-4447.patch, hive.patch
>
>
> notice: Finished catalog run in 0.21 seconds
> notice: /Stage[1]/Hdp::Snmp/Exec[snmpd_autostart]/returns: executed
> successfully
> notice:
> /Stage[1]/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln[32]/Hdp::Exec[hdp::snappy::package::ln
> 32]/Exec[hdp::snappy::package::ln 32]/returns: executed successfully
> notice:
> /Stage[2]/Hdp-hive/Configgenerator::Configfile[hive-site]/File[/etc/hive/conf.server/hive-site.xml]/content:
> content changed '{md5}05187ddbc3b1bce7ed40996739298c0f' to
> '{md5}fb6c6e1998f1c96806fcda7da15b31be'
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/returns: Exception in thread "main"
> java.lang.ArrayIndexOutOfBoundsException: 3
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/returns: at
> org.apache.ambari.server.DBConnectionVerification.main(DBConnectionVerification.java:28)
> err: /Stage[2]/Hdp-hive::Service/Hdp::Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/returns: change from notrun to 0 failed:
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver returned 1 instead of one of [0] at
> /var/lib/ambari-agent/puppet/modules/hdp/manifests/init.pp:487
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver]/Anchor[hdp::exec::DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver::end]: Dependency Exec[DB connection check
> /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/File[/tmp/startMetastore.sh]: Dependency
> Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/File[/tmp/startHiveserver2.sh]:
> Dependency Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[su - hive -c 'env
> JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server ']/Anchor[hdp::exec::su -
> hive -c 'env JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server '::begin]: Dependency
> Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[su - hive -c 'env
> JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server ']/Exec[su - hive -c
> 'env JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server ']: Dependency Exec[DB
> connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/Hdp::Exec[su - hive -c 'env
> JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server ']/Anchor[hdp::exec::su -
> hive -c 'env JAVA_HOME=/usr/jdk64/jdk1.6.0_31 /tmp/startHiveserver2.sh
> /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log
> /var/run/hive/hive-server.pid /etc/hive/conf.server '::end]: Dependency
> Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/File[/var/run/hive/hive-server.pid]:
> Dependency Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: /Stage[2]/Hdp-hive::Service/Anchor[hdp-hive::service::end]:
> Dependency Exec[DB connection check /usr/jdk64/jdk1.6.0_31/bin/java -cp
> /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/share/java/mysql-connector-java.jar
> org.apache.ambari.server.DBConnectionVerification dbusername dbpassword
> com.mysql.jdbc.Driver] has failures: true
> notice: Finished catalog run in 2.63 seconds
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)