Please help to fix this issue, to Start Ambari Metrics Collector.

All keytab files for AMS working without issue.

Thanks,
Shaik

On 11 November 2015 at 22:47, Shaik M <[email protected]> wrote:

> Hi,
>
> Please verify the attached logs.
>
> Thanks,
> Shaik
>
> On 11 November 2015 at 22:29, Dmitry Sen <[email protected]> wrote:
>
>> ​Logs?
>> ------------------------------
>> *From:* Shaik M <[email protected]>
>> *Sent:* Wednesday, November 11, 2015 4:27 PM
>> *To:* [email protected]
>> *Subject:* Re: Unable to Start Ambari Metrics Collector
>>
>> Hi,
>>
>> I have created required keytabs for AMS.
>>
>> ams.collector.keytab
>> ams-hbase.master.keytab
>> ams-hbase.regionserver.keytab
>> ams-zk.service.keytab
>>
>>
>> All keytabs are able to "kinit" without any issue. Not able to trace out
>> the issue.
>>
>> Please help us to trace this issue.
>>
>> Thanks,
>> Shaik
>>
>> On 11 November 2015 at 20:54, Dmitry Sen <[email protected]> wrote:
>>
>>> Hi,
>>>
>>>
>>> In the RS log:
>>>
>>> org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode =
>>> NoAuth for /ams-hbase-secure/running
>>>
>>>
>>> 1. Do you have ams keytabs at /etc/security/keytabs ?
>>>
>>> If no, create and put keytabs to /etc/security/keytabs (see principal
>>> names and keytabs paths at ams-hbase-security-site config) The easiest way
>>> is to disable security for the cluster and enable it again, Security Wizard
>>> will create all the required keytabs for you.
>>>
>>> 2. Check with kinit if you can get a ticket from kerberos server for
>>> amshbase/[email protected] and amshbasemaster/
>>> [email protected]
>>>
>>>
>>>
>>>
>>> ------------------------------
>>> *From:* Shaik M <[email protected]>
>>> *Sent:* Wednesday, November 11, 2015 12:15 PM
>>> *To:* [email protected]
>>> *Subject:* Unable to Start Ambari Metrics Collector
>>>
>>> Hi,
>>>
>>> I have changed my  Ambari Metrics from embedded to distributed
>>> environment on my secure cluster.
>>>
>>> After I have tried to start the Ambari Metrics Collector, unable to
>>> start the service. I have tried to debug the issue, but i couldn't able to
>>> resolve the issue.
>>>
>>> I have verified all the keytab files, all are able to initiate. and I
>>> saw the log in "ambari-metrics-collector.log"
>>>
>>> 2015-11-11 08:50:18,432 WARN
>>> org.apache.hadoop.hbase.ipc.AbstractRpcClient: Couldn't setup connection
>>> for amshbase/[email protected] to amshbasemaster/
>>> [email protected]
>>>
>>> *Zookeeper:*
>>> 2015-11-11 08:49:51,628 INFO  [ProcessThread(sid:0 cport:-1):]
>>> server.PrepRequestProcessor: Got user-level KeeperException when processing
>>> sessionid:0x150f5bc92620000 type:create cxid:0x16 zxid:0xc8 txntype:-1
>>> reqpath:n/a Error Path:/ams-hbase-secure/tokenauth Error:KeeperErrorCode =
>>> NoNode for /ams-hbase-secure/tokenauth
>>> 2015-11-11 08:49:52,025 INFO  [NIOServerCxn.Factory:
>>> 0.0.0.0/0.0.0.0:61181] server.NIOServerCnxnFactory: Accepted socket
>>> connection from /10.192.149.194:58751
>>> 2015-11-11 08:49:52,030 WARN  [NIOServerCxn.Factory:
>>> 0.0.0.0/0.0.0.0:61181] server.NIOServerCnxn: caught end of stream
>>> exception
>>> EndOfStreamException: Unable to read additional data from client
>>> sessionid 0x0, likely client has closed socket
>>> at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
>>> at
>>> org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
>>> at java.lang.Thread.run(Thread.java:745)
>>>
>>> Could you please help me to bring it back Ambari Metrics Collector
>>> service. Please find the attached AMS logs.
>>>
>>> Thanks,
>>> Shaik
>>>
>>
>>
>

Reply via email to