ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 30690: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations dictionary. Kerberized cluster
Date Thu, 05 Feb 2015 20:46:02 GMT

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

(Updated Feb. 5, 2015, 8:46 p.m.)


Review request for Ambari, Jonathan Hurley and Robert Levas.


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


Repository: ambari


Description
-------

Cluster uses Blueprint
HDFS_CLIENT install and DATANODE restart failed on secured cluster with error:
Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations
dictionary!

```
2015-02-04 07:16:24,098 - Error while executing command 'restart':
Traceback (most recent call last):
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 184, in execute
    method(env)
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 338, in restart
    self.stop(env)
  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py\",
line 67, in stop
    import params
  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py\",
line 245, in <module>
    _jn_principal_name = _jn_principal_name.replace('_HOST', hostname.lower())
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\",
line 79, in __getattr__
    raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in configurations
dictionary!\")
Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations
dictionary!",
    "stdout" : "2015-02-04 07:16:22,978 - u\"Group['hadoop']\" {'ignore_failures': False}

...

2015-02-04 07:16:24,098 - Error while executing command 'restart':
Traceback (most recent call last):
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 184, in execute
    method(env)
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 338, in restart
    self.stop(env)
  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py\",
line 67, in stop
    import params
  File \"/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py\",
line 245, in <module>
    _jn_principal_name = _jn_principal_name.replace('_HOST', hostname.lower())
  File \"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\",
line 79, in __getattr__
    raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in configurations
dictionary!\")
Fail: Configuration parameter 'dfs.journalnode.kerberos.principal' was not found in configurations
dictionary!
```


Diffs
-----

  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params.py
ef0991e 

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


Testing (updated)
-------

Unit tests passed.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29:47.272s
[INFO] Finished at: Thu Feb 05 12:41:52 PST 2015
[INFO] Final Memory: 62M/326M
[INFO] ------------------------------------------------------------------------


Thanks,

Alejandro Fernandez


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