Member since
08-28-2018
10
Posts
0
Kudos Received
0
Solutions
12-20-2018
09:23 AM
The change with vim zoo.cfg and restart zookeeper manually doesn't help as long as we restart zookeeper from ambari
... View more
12-18-2018
04:36 PM
Hi @Akhil S Naik Thank you for you reply, but when I modify via vim zoo.cfg, the config removed when I restart the Zookeeper service. configs.py or APIs cannot help as you see, they get only the parameters managed by Ambari.
... View more
12-18-2018
04:00 PM
In order to add zookeeper observer in my Zookeeper observer, I need to make append the line "server.4=hostname:2888:3888" by ":observer" in configuration file zoo.cfg . However, this parameter is not managed by ambari.
I tried to use the ambari script but not display all parameter /var/lib/ambari-server/resources/scripts/configs.py --user=admin --password=admin--port=8080 --action=get --host=hostnamexx--cluster=CLUSTPOC--config-type=zoo.cfg --file=/tmp/zooConf.json How to change this line server.4=hostname:2888:3888 to server.4=hostname:2888:3888:observer
... View more
Labels:
- Labels:
-
Apache Ambari
09-11-2018
02:13 PM
Hi, I want to evaluate Grafana with ElasticSearch. The creation of a data source in Grafana is not a problem. On the other hand, querying the data source via KNOX requires passing requests with a "content-type" = "application/octet-stream" while Grafana sends requests with a "content-type" = "application/json". Indeed, in this mode, the "\n" are deleted by KNOX before being communicated to data source, except that these are important for data source to correctly interpret the query. Is it possible to change this behavior on the KNOX side? any other solution. Regards Rabii
... View more
Labels:
- Labels:
-
Apache Knox
09-03-2018
10:12 AM
Hi all, Thanks for help, the problem is solved by cleaning up the AMS data. but i am still not understand why this happening after upgarde. Regards
... View more
08-31-2018
03:56 PM
Hi I am not resolved to problem yet, here are the log of ambari-metrics et hbase-ams thanks ambari-metrics-collector log: -------------------------------- 2018-08-31 17:17:29,367 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:17:29,367 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141) 2018-08-31 17:17:29,834 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:17:29,834 WARN org.apache.zookeeper.ClientCnxn: Session 0x1659083ffc20001 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141) 2018-08-31 17:17:29,991 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:17:29,991 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141) 2018-08-31 17:17:30,091 WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=host102:61181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ams-hbase-secure/meta-region-server ################################################################### hbase-ams log -------------------------------------------------- 2018-08-31 17:08:13,773 INFO [main-SendThread(host102:61181)] zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:08:13,773 WARN [main-SendThread(host102:61181)] zookeeper.ClientCnxn: Session 0x1659083ffc20002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125) 2018-08-31 17:08:14,944 INFO [RS:0;host102:50466-SendThread(host102:61181)] zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:08:14,944 WARN [RS:0;host102:50466-SendThread(host102:61181)] zookeeper.ClientCnxn: Session 0x1659083ffc20004 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125) 2018-08-31 17:08:15,536 INFO [main-SendThread(host102:61181)] zookeeper.ClientCnxn: Opening socket connection to server host102/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) 2018-08-31 17:08:15,536 WARN [main-SendThread(host102:61181)] zookeeper.ClientCnxn: Session 0x1659083ffc20002 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1125) 2018-08-31 17:08:16,228 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Master not initialized after 200000ms seconds at org.apache.hadoop.hbase.util.JVMClusterUtil.startup(JVMClusterUtil.java:230) at org.apache.hadoop.hbase.LocalHBaseCluster.startup(LocalHBaseCluster.java:445) at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:229) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2838)
... View more
08-28-2018
03:03 PM
Hi @Akhil S Naik Yes, i do all post upgrade tasks of ambari upgrade specialy for ambari-metrics, below the output [root@myhost ~]# rpm -qa |grep -i ambari ambari-agent-2.6.2.2-1.x86_64 ambari-metrics-collector-2.6.2.2-1.x86_64 ambari-metrics-hadoop-sink-2.6.2.2-1.x86_64 ambari-metrics-monitor-2.6.2.2-1.x86_64
... View more
08-28-2018
01:38 PM
Hi could you please help me, I am new in ambari metrics, my problem is after ambari upgrade, and ambari metrics ugrade, the ambari-metrics-collector going down after starte it, below the message error from log INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server name_of_host/x.x.x.x:61181. Will not attempt to authenticate using SASL (unknown error) WARN org.apache.zookeeper.ClientCnxn: Session 0x65464619r4fd7e for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141) WARN org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=name_of_host:61181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ams-hbase-secure/meta-region-server
... View more
Labels:
- Labels:
-
Apache Ambari