Security is enabled, but JCE policy zip is not specified error when enabling security using ambari
来源:互联网 发布:苹果4g网络怎么设置 编辑:程序博客网 时间:2024/05/21 11:00
Security is enabled, but JCE policy zip is not specified error when enabling security using ambari
Symptom
When enabling security you may see this error during start/stop of services
2015-04-24 23:06:48,663 - Error while executing command 'any':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/hook.py", line 29, in hook
setup_jce()
File "/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/shared_initialization.py", line 49, in setup_jce
raise Fail("Security is enabled, but JCE policy zip is not specified.")
Fail: Security is enabled, but JCE policy zip is not specified.
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-728.json', '/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-728.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
Cause
Even though you may have downloaded and adding JCE policy files for JDK 7 into /var/lib/ambari-server/resources directory ambari will not recognize it unless you have "jce.name" set in ambari.properties file
Fix
cp UnlimitedJCEPolicyJDK7.zip to /var/lib/ambari-server/resources
vi /etc/ambari-server/conf/ambari.properties
Add or update jce.name param in ambari.properties
jce.name=UnlimitedJCEPolicyJDK7.zip
在启动kerberos认证的时候,会重新的安装各个组件的client,在安装过程中,会调用jce,如果你在安装ambari server的时候没有联网,默认jce的包是没有安装上的,jce的包不会导致hadoop集群的安装失败,但是如果进行kerberos的时候,会导致失败
Symptom
When enabling security you may see this error during start/stop of services
2015-04-24 23:06:48,663 - Error while executing command 'any':
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 123, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/hook.py", line 29, in hook
setup_jce()
File "/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/shared_initialization.py", line 49, in setup_jce
raise Fail("Security is enabled, but JCE policy zip is not specified.")
Fail: Security is enabled, but JCE policy zip is not specified.
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6', '/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY/scripts/hook.py', 'ANY', '/var/lib/ambari-agent/data/command-728.json', '/var/lib/ambari-agent/cache/stacks/PHD/2.0.6/hooks/before-ANY', '/var/lib/ambari-agent/data/structured-out-728.json', 'INFO', '/var/lib/ambari-agent/data/tmp']
Cause
Even though you may have downloaded and adding JCE policy files for JDK 7 into /var/lib/ambari-server/resources directory ambari will not recognize it unless you have "jce.name" set in ambari.properties file
Fix
cp UnlimitedJCEPolicyJDK7.zip to /var/lib/ambari-server/resources
vi /etc/ambari-server/conf/ambari.properties
Add or update jce.name param in ambari.properties
jce.name=UnlimitedJCEPolicyJDK7.zip
在启动kerberos认证的时候,会重新的安装各个组件的client,在安装过程中,会调用jce,如果你在安装ambari server的时候没有联网,默认jce的包是没有安装上的,jce的包不会导致hadoop集群的安装失败,但是如果进行kerberos的时候,会导致失败
0 0
- Security is enabled, but JCE policy zip is not specified error when enabling security using ambari
- The selected server is enabled,but is not configure
- The selected server is enabled,but is not configure .
- The selected server is enabled,but is not configured pro
- license security violation. operation is not allowed
- license security violation operation is not allowed
- Error:Cause: buildToolsVersion is not specified.
- Error:Cause: buildToolsVersion is not specified.
- Aggregation is not enabled.
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system
- Error: Your project contains C++ files but it is not using a supported native build system.
- compileDebugNdk'. > Error: Your project contains C++ files but it is not using a supported nati
- Error: Your project contains C++ files but it is not using a supported native build system
- Linux下查看/管理当前登录用户及用户操作历史记录
- Eclipse 的单步调试
- 将多个jar合并成一个jar的问题
- 设置标题栏背景色,背景色是自定义背景色
- android studio之lambda初接触
- Security is enabled, but JCE policy zip is not specified error when enabling security using ambari
- Linux accept()/epoll_wait()惊群问题与解决方案
- idea 2016.3.2在线激活
- AES加密算法的JAVA实现
- 版本控制之三 清空svn的用户名密码信息
- Android连续点击两次退出程序
- 【matlab】GUI 中使用Popupmenu遇到的问题及其解决办法
- 只启动系统相机(排除第三方相机)
- 在python中使用epoll