[ https://issues.apache.org/jira/browse/AMBARI-19806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847852#comment-15847852 ]
Hadoop QA commented on AMBARI-19806: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12850338/rb56142.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:red}-1 javac{color:red}. The patch appears to cause the build to fail. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10354//console This message is automatically generated. > After setting up hadoop credential, cannot start Hive Metastore > --------------------------------------------------------------- > > Key: AMBARI-19806 > URL: https://issues.apache.org/jira/browse/AMBARI-19806 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Nahappan Somasundaram > Assignee: Nahappan Somasundaram > Priority: Critical > Fix For: 2.5.0 > > Attachments: rb56142.patch > > > In HIVE, after javax.jdo.option.ConnectionPassword property and value is > moved into a JCEKS file using hadoop credential store, hive-site.xml looks > like this: > {quote} <property> > <name>hadoop.security.credential.provider.path</name> > <value>jceks://file/usr/lib/hive/conf/hive.jceks</value> > </property>{quote} > instead of: > {quote} <property> > <name>javax.jdo.option.ConnectionPassword</name> > <value>MyHiveConnectionPassword</value> > </property>{quote} > However, after the above change, HIVE fails to start. This is an Ambari > deployed cluster. > {quote}Traceback (most recent call last): > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", > line 259, in <module> > HiveMetastore().execute() > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", > line 287, in execute > method(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", > line 59, in start > self.configure(env) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", > line 73, in configure > hive(name = 'metastore') > File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", > line 89, in thunk > return fn(*args, **kwargs) > File > "/var/lib/ambari-agent/cache/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py", > line 326, in hive > create_schema_cmd = format("export HIVE_CONF_DIR={hive_server_conf_dir} ; > " > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", > line 95, in format > return ConfigurationFormatter().format(format_string, args, **result) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", > line 62, in format > result_unprotected = self.vformat(format_string, args, all_params) > File "/usr/lib64/python2.6/string.py", line 549, in vformat > result = self._vformat(format_string, args, kwargs, used_args, 2) > File "/usr/lib64/python2.6/string.py", line 575, in _vformat > obj = self.convert_field(obj, conversion) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", > line 70, in convert_field_unprotected > return self._convert_field(value, conversion, False) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", > line 85, in _convert_field > return utils.PASSWORDS_HIDE_STRING if is_protected else > self._convert_field(value, 'e', is_protected) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py", > line 81, in _convert_field > return quote_bash_args(unicode(value)) > File > "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", > line 73, in __getattr__ > raise Fail("Configuration parameter '" + self.name + "' was not found in > configurations dictionary!") > resource_management.core.exceptions.Fail: Configuration parameter > 'javax.jdo.option.ConnectionPassword' was not found in configurations > dictionary!{quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)