ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15328) Exception on manual start of AMS is misleading
Date Tue, 08 Mar 2016 01:12:40 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184140#comment-15184140
] 

Siddharth Wagle commented on AMBARI-15328:
------------------------------------------

+1 LGTM

> Exception on manual start of AMS is misleading
> ----------------------------------------------
>
>                 Key: AMBARI-15328
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15328
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.2.0
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15328.patch
>
>
> On manual start of AMS in embedded mode, following stderr messages are logged to console
which is misleading since the start succeeds when the server is up.
> {code}
> 2016-01-27 19:15:21,487 ERROR [main] zookeeper.ZooKeeperWatcher: hconnection-0x799ed4e80x0,
quorum=localhost:61181, baseZNode=/ams-hbase-unsecure Received unexpected KeeperException,
re-throwing exception
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /ams-hbase-unsecure
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> 	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
> 	at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.exists(RecoverableZooKeeper.java:221)
> 	at org.apache.hadoop.hbase.zookeeper.ZKUtil.checkExists(ZKUtil.java:417)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.checkIfBaseNodeAvailable(ConnectionManager.java:902)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.access$400(ConnectionManager.java:552)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$StubMaker.makeStubNoRetries(ConnectionManager.java:1490)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$StubMaker.makeStub(ConnectionManager.java:1531)
> {code}
> We already log this to a file so not need to print stderr to console.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message