Member since
03-28-2016
194
Posts
18
Kudos Received
0
Solutions
03-11-2017
08:30 AM
when i do a service start service krb5kdc start Starting Kerberos 5 KDC: krb5kdc: cannot initialize realm ****.COM - see log file for details
[FAILED] In log file krb5kdc: No such file or directory - while initializing database for realm ****.com When i start kadmin::::: service kadmin start
Starting Kerberos 5 Admin Server: kadmind: Unable to load requested database module 'kldap': plugin symbol 'kdb_function_table' not found while initializing, aborting
... View more
03-10-2017
06:19 PM
Team Iam trying to setup and kerbores for my Ambari and HDP. getting bellow error while start the kerb service. p;lease help. krb.conf::::::::::::::::::::; more /etc/krb5.conf
[libdefaults]
default_realm = ******.COM
[realms]
******.COM = {
kdc = kerberos.******.com
admin_server = kerberos.******.com
master_kdc = kerberos.******.com
default_domain = ******.com
database_module = ldap.******.com
}
[domain_realm]
.******.com = ******.COM
******.com = ******.COM
[dbmodules]
ldap.******.com = {
db_library = kldap
ldap_kerberos_container_dn = cn=krbcontainer,dc=******,dc=com
ldap_kdc_dn = uid=admin,ou=People,dc=******,dc=com
ldap_kadmind_dn = uid=admin,ou=People,dc=******,dc=com
ldap_service_password_file = /etc/krb5.secrets
ldap_servers = ldap://127.0.0.1
ldap_conns_per_server = 5 more /etc/krb5kdc/kadm5.acl
*/admin@D*****.COM *
... View more
Labels:
- Labels:
-
Apache Ambari
02-24-2017
12:57 PM
Thanks for your reply. its a 6 node cluster. HDP version 2.5.3. Yes i have two ambari-infra solr instance. are up and running fine.
... View more
02-24-2017
11:40 AM
Team, Getting below error while intgerating Solr and ranger. Solr configured , but when i start ranger getting below error and ranger admin not starting ERROR:::::::::::::::::::::::::::::::::::::: Traceback
(most recent call last): File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 208, in <module> RangerAdmin().execute() File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 280, in execute method(env) File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py",
line 100, in start setup_ranger_audit_solr() File
"/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py",
line 590, in setup_ranger_audit_solr jaas_file = params.solr_jaas_file) File
"/usr/lib/python2.6/site-packages/resource_management/libraries/functions/solr_cloud_util.py",
line 116, in create_collection Execute(create_collection_cmd) File
"/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 160, in run self.run_action(resource, action) File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 273, in action_run tries=self.resource.tries,
try_sleep=self.resource.try_sleep) File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 70, in inner result = function(command, **kwargs) File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 92, in checked_call tries=tries, try_sleep=try_sleep) File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 140, in _call_wrapper result = _call(command, **kwargs_copy) File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py",
line 293, in _call raise ExecutionFailed(err_msg, code, out,
err) resource_management.core.exceptions.ExecutionFailed:
Execution of 'ambari-sudo.sh JAVA_HOME=/usr/java/default
/usr/lib/ambari-infra-solr-client/solrCloudCli.sh --zookeeper-connect-string r********:2181,r*******com:2181,r***:2181/infra-solr
--create-collection --collection ranger_audits --config-set ranger_audits
--shards 1 --replication 1 --max-shards 1 --retry 5 --interval 10
--no-sharding' returned 1. Using default ZkCredentialsProvider Client
environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT Client
environment:host.name=r*** Client
environment:java.version=1.7.0_60 Client
environment:java.vendor=Oracle Corporation Client
environment:java.home=/usr/java/jdk1.7.0_60/jre Client
environment:java.class.path=/usr/lib/ambari-infra-solr-client:/usr/lib/ambari-infra-solr-client/libs/httpmime-4.4.1.jar:/usr/lib/ambari-infra-solr-client/libs/woodstox-core-asl-4.4.1.jar:/usr/lib/ambari-infra-solr-client/libs/noggit-0.6.jar:/usr/lib/ambari-infra-solr-client/libs/hamcrest-core-1.1.jar:/usr/lib/ambari-infra-solr-client/libs/log4j-1.2.17.jar:/usr/lib/ambari-infra-solr-client/libs/objenesis-2.2.jar:/usr/lib/ambari-infra-solr-client/libs/jackson-mapper-asl-1.9.13.jar:/usr/lib/ambari-infra-solr-client/libs/slf4j-log4j12-1.7.2.jar:/usr/lib/ambari-infra-solr-client/libs/jcl-over-slf4j-1.7.7.jar:/usr/lib/ambari-infra-solr-client/libs/commons-lang-2.5.jar:/usr/lib/ambari-infra-solr-client/libs/zookeeper-3.4.6.jar:/usr/lib/ambari-infra-solr-client/libs/jackson-core-asl-1.9.9.jar:/usr/lib/ambari-infra-solr-client/libs/easymock-3.4.jar:/usr/lib/ambari-infra-solr-client/libs/commons-codec-1.8.jar:/usr/lib/ambari-infra-solr-client/libs/httpclient-4.4.1.jar:/usr/lib/ambari-infra-solr-client/libs/slf4j-api-1.7.2.jar:/usr/lib/ambari-infra-solr-client/libs/solr-solrj-5.5.2.jar:/usr/lib/ambari-infra-solr-client/libs/commons-io-2.1.jar:/usr/lib/ambari-infra-solr-client/libs/stax2-api-3.1.4.jar:/usr/lib/ambari-infra-solr-client/libs/httpcore-4.4.1.jar:/usr/lib/ambari-infra-solr-client/libs/junit-4.10.jar:/usr/lib/ambari-infra-solr-client/libs/commons-cli-1.3.1.jar:/usr/lib/ambari-infra-solr-client/libs/ambari-logsearch-solr-client-2.4.2.0.136.jar Client
environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Client
environment:java.io.tmpdir=/tmp Client
environment:java.compiler=<NA> Client
environment:os.name=Linux Client
environment:os.arch=amd64 Client
environment:os.version=2.6.32-642.1.1.el6.x86_64 Client
environment:user.name=root Client
environment:user.home=/root Client
environment:user.dir=/var/lib/ambari-agent Initiating
client connection, connectString=r***.com:2181,r***.com:2181,r***:2181/infra-solr
sessionTimeout=15000
watcher=org.apache.solr.common.cloud.SolrZkClient$3@7736b039 Opening
socket connection to server r***/r***.93:2181. Will not attempt to authenticate
using SASL (unknown error) Waiting
for client to connect to ZooKeeper Socket
connection established to r***/r***.93:2181, initiating session Session
establishment complete on server r***/r***.93:2181, sessionid =
0x15a6ecede10000e, negotiated timeout = 15000 Watcher
org.apache.solr.common.cloud.ConnectionManager@afe676b name:ZooKeeperConnection
Watcher:r***.com:2181,r***.com:2181,r***:2181/infra-solr got event WatchedEvent
state:SyncConnected type:None path:null path:null type:None Client
is connected to ZooKeeper Using
default ZkACLProvider Using
default ZkCredentialsProvider Initiating
client connection, connectString=r***.com:2181,r***.com:2181,r***:2181/infra-solr
sessionTimeout=10000 watcher=org.apache.solr.common.cloud.SolrZkClient$3@2f81dd44 Waiting
for client to connect to ZooKeeper Opening
socket connection to server r***.com/r***.95:2181. Will not attempt to
authenticate using SASL (unknown error) Socket
connection established to r***.com/r***.95:2181, initiating session Session
establishment complete on server r***.com/r***.95:2181, sessionid =
0x35a6ecedefb0015, negotiated timeout = 10000 Watcher
org.apache.solr.common.cloud.ConnectionManager@5ddfb8d0
name:ZooKeeperConnection Watcher:r***.com:2181,r***.com:2181,r***:2181/infra-solr
got event WatchedEvent state:SyncConnected type:None path:null path:null
type:None Client
is connected to ZooKeeper Using
default ZkACLProvider Updating
cluster state from ZooKeeper... No
live SolrServers available to handle this request:[http://r***.com:8886/solr, r***:8886/solr] org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[http://r***.com:8886/solr,
r***:8886/solr] at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:352) at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1100) at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:870) at
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806) at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149) at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166) at
org.apache.ambari.logsearch.solr.commands.AbstractSolrRetryCommand.createAndProcessRequest(AbstractSolrRetryCommand.java:43) at
org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:45) at
org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.run(AbstractRetryCommand.java:40) at
org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.listCollections(AmbariSolrCloudClient.java:107) at org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.createCollection(AmbariSolrCloudClient.java:114) at
org.apache.ambari.logsearch.solr.AmbariSolrCloudCLI.main(AmbariSolrCloudCLI.java:463) Caused
by: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://r***.com:8886/solr: Expected mime type
application/octet-stream but got text/html. <html> <head> <meta
http-equiv="Content-Type" content="text/html;
charset=UTF-8"/> <title>Error
404 Not Found</title> </head> <body><h2>HTTP
ERROR 404</h2> <p>Problem
accessing /solr/admin/collections. Reason: <pre> Not
Found</pre></p><hr><i><small>Powered by
Jetty://</small></i><hr/> </body> </html> No
live SolrServers available to handle this request:[http://r***.com:8886/solr, r***:8886/solr] org.apache.solr.client.solrj.SolrServerException:
No live SolrServers available to handle this request:[http://r***.com:8886/solr,
r***:8886/solr] at
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:352) at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1100) at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:870) at
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806) at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149) at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:166) at
org.apache.ambari.logsearch.solr.commands.AbstractSolrRetryCommand.createAndProcessRequest(AbstractSolrRetryCommand.java:43) at org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.retry(AbstractRetryCommand.java:45) at
org.apache.ambari.logsearch.solr.commands.AbstractRetryCommand.run(AbstractRetryCommand.java:40) at
org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.listCollections(AmbariSolrCloudClient.java:107) at
org.apache.ambari.logsearch.solr.AmbariSolrCloudClient.createCollection(AmbariSolrCloudClient.java:114) at
org.apache.ambari.logsearch.solr.AmbariSolrCloudCLI.main(AmbariSolrCloudCLI.java:463)
... View more
Labels:
- Labels:
-
Apache Ranger
-
Apache Solr
02-13-2017
02:46 PM
1 Kudo
Team, How to list all the TEZ jobs in TEZ view. I can only see the jobs which i run. Even a ADMIN cannot able to see others TEZ jobs through TEZ VIEW. NOTE: Cluster Kerborized and Ambari version : 2.4
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Tez
01-24-2017
03:36 PM
i dont find any local host entry in my configuration. all i see is sever name. no local host entries
... View more
01-24-2017
03:34 PM
may i know the property please.. which property to change.
... View more
01-24-2017
03:22 PM
I face the same isssue. i have 2 HS2 server. Can't i use two HiveServer2 instances while managing hive auth using Ranger ??
... View more