Member since
02-05-2016
26
Posts
16
Kudos Received
5
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3328 | 09-28-2016 11:11 AM | |
1297 | 09-20-2016 11:03 AM | |
873 | 09-16-2016 05:00 AM | |
3984 | 09-15-2016 10:14 AM | |
1463 | 09-15-2016 08:49 AM |
09-28-2016
11:11 AM
1 Kudo
this is resolved. after checking /var/log/ambari-metrics-collector/hbase-ams-master-XXXX.log found Caused by: javax.security.auth.login.LoginException: Unable to obtain password from user. checked keytabs files under /etc/security/keytabs/ams-hbase.master.keytab after klist to this keytab came to know that its has invalid entry for hosts. klist -ekt ams-hbase.master.keytab Keytab name: FILE:ams-hbase.master.keytab KVNO Timestamp Principal
---- ----------------- --------------------------------------------------------
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (des3-cbc-sha1)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (arcfour-hmac)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (des3-cbc-sha1)
2 07/04/16 03:09:57 host/kdchost1.EXAMPLE.COM@EXAMPLE.COM (arcfour-hmac)
2 07/13/16 11:11:54 kmsusr@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
2 07/13/16 11:11:54 kmsusr@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
2 07/13/16 11:11:54 kmsusr@EXAMPLE.COM (des3-cbc-sha1)
2 07/13/16 11:11:54 kmsusr@EXAMPLE.COM (arcfour-hmac)
3 07/13/16 11:14:14 kmsusr@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
3 07/13/16 11:14:14 kmsusr@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
3 07/13/16 11:14:14 kmsusr@EXAMPLE.COM (des3-cbc-sha1)
3 07/13/16 11:14:14 kmsusr@EXAMPLE.COM (arcfour-hmac)
4 07/13/16 11:15:46 kmsusr@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
4 07/13/16 11:15:46 kmsusr@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
4 07/13/16 11:15:46 kmsusr@EXAMPLE.COM (des3-cbc-sha1)
4 07/13/16 11:15:46 kmsusr@EXAMPLE.COM (arcfour-hmac)
2 09/21/16 11:11:23 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
2 09/21/16 11:11:23 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
2 09/21/16 11:11:23 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (des3-cbc-sha1)
2 09/21/16 11:11:23 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (arcfour-hmac)
3 09/21/16 11:13:40 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
3 09/21/16 11:13:40 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
3 09/21/16 11:13:40 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (des3-cbc-sha1)
3 09/21/16 11:13:40 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (arcfour-hmac)
4 09/21/16 11:15:07 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes256-cts-hmac-sha1-96)
4 09/21/16 11:15:07 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (aes128-cts-hmac-sha1-96)
4 09/21/16 11:15:07 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (des3-cbc-sha1)
4 09/21/16 11:15:07 amshbase/edgenode.EXAMPLE.COM@EXAMPLE.COM (arcfour-hmac) so deleted that keytab file and generated new keytab with valid entries and placed on the metrics-collector host under /etc/security/keytabs restarted metrics-collector service the service started.
... View more
09-28-2016
06:35 AM
1 Kudo
Recently we had moved ambari-server to other host. cluster is kerberized. metrics collector service dies after sometime with below error in ambari-metrics-collector.log ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
... View more
Labels:
- Labels:
-
Apache Ambari
09-20-2016
02:44 PM
1 Kudo
@ pfctic2 pfctic2 can you go to /etc/yum.repos.d/ and list the configured repositories. if possible cat the repository file and paste here
... View more
09-20-2016
11:57 AM
1 Kudo
I got this error in Starting AMBARI-METRICES from Ambari WEB-UI after
upgrading. Traceback (most recent
call last): File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 131, in <module>
AmsCollector().execute() File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 219, in execute
method(env) File
"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 44, in start
self.configure(env, action = 'start') # for security File
"/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py",
line 41, in configure
ams(name='collector') 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/AMBARI_METRICS/0.1.0/package/scripts/ams.py",
line 202, in ams
group=params.user_group File
"/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 154, in __init__
self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 152, in run
self.run_action(resource, action) File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 118, in run_action
provider_action() File
"/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py",
line 67, in action_create encoding =
self.resource.encoding File
"/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 154, in __init__
self.env.run() File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 152, in run
self.run_action(resource, action) File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 118, in run_action
provider_action() File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 90, in action_create content =
self._get_content() File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 127, in _get_content return
content() File
"/usr/lib/python2.6/site-packages/resource_management/core/source.py",
line 51, in __call__ return
self.get_content() File
"/usr/lib/python2.6/site-packages/resource_management/core/source.py",
line 142, in get_content rendered =
self.template.render(self.context) File
"/usr/lib/python2.6/site-packages/ambari_jinja2/environment.py", line
891, in render return
self.environment.handle_exception(exc_info, True) File
"<template>", line 5, in top-level template code UnicodeEncodeError:
'ascii' codec can't encode character u'\u2028' in position 108: ordinal not in
range(128)
... View more
Labels:
- Labels:
-
Apache Ambari
09-20-2016
11:03 AM
1 Kudo
@ Nitin ROOT CAUSE:-
There
should be a table named by namespace for maintaining the info of tables, which
is already exists on /hbase directory , While starting the process HMaster it
will create the namespace directory under /hbase directory So it is showing the
Table Exists Exception.
SOLUTION:-
We have to
manually repair the /hbase metastore by using offline command as,
$HBASE_HOME/bin/hbase
org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair
Then start
the process of HMASTER. IF this is not working Use the zookeeper client for
removing it as,
From the
Hbase docker or any one of the docker.
zookeeper-3.4.6/bin/zkCli.sh
-server 192.168.1.90
ls /
rmr /hbase
ls /
exit
zookeeper-3.4.6/bin/zkCli.sh
-server 192.168.1.91
ls /
exit
... View more
09-16-2016
07:14 AM
Goto hive service config in ambari and search hive.heapsize and edit hiveserver2 heap size PFA screenshot
... View more
09-16-2016
05:00 AM
1 Kudo
@J. D. Bacolod i would suggest you should with 2. because with option 2 you will have 1.more control to the operations , 2.there will be less mistakes (negligible) , 3. you and will be away from mis-configuration headaches. 4.Daily operations and configurations will be quick and simple. Please find below documentation from hortonworks for automated installation of HDP using ambari. please go through all the steps carefully. https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Installing_HDP_AMB/content/index.html if you want to go to the part where you want to install multiple nodes then goto step 3. Installing, Configuring, and Deploying a HDP Cluster if this answers your query please accept the answer
... View more
09-15-2016
08:49 AM
2 Kudos
You are using redhat 7 which is registered with RHN. but it dont have the packages required for ambari server you need to configure ambari repository to install ambari server. Follow below documentation to configure repository and install ambari server. https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_lnx7.html
... View more
09-15-2016
08:09 AM
1 Kudo
Your cluster is kerberized and this issue looks like kerberos ticket issue. you dont have a valid kerberos ticket. to run this command first get a valid ticket for your user to run this commad. To get a valid ticket type #kinit then it will ask for kerberos password. after you enter password #klist it will display kerberos ticket for your user. now try running command to connect to hive.
... View more