Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> zookeeper shell prompt


Copy link to this message
-
Re: zookeeper shell prompt
Hi,

Please find the below text.

*zkServer command output:*
*
*
sariyaz@sariyaz /cygdrive/g/Hadoop/zookeeper-3.4.5
$ bin/zkServer.sh start conf/zoo.cfg
JMX enabled by default
Using config: conf\zoo.cfg
Starting zookeeper ... STARTED
*zkCli command output:*
*
*
*
$ bin/zkCli.sh -server 0.0.0.0:2181
Connecting to 0.0.0.0:2181
2013-06-14 00:20:06,511 [myid:] - INFO  [main:Environment@100] - Client
environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
2013-06-14 00:20:06,514 [myid:] - INFO  [main:Environment@100] - Client
environment:host.name=sariyaz.tcclimited1.com
2013-06-14 00:20:06,514 [myid:] - INFO  [main:Environment@100] - Client
environment:java.version=1.7.0
2013-06-14 00:20:06,515 [myid:] - INFO  [main:Environment@100] - Client
environment:java.vendor=Oracle Corporation
2013-06-14 00:20:06,515 [myid:] - INFO  [main:Environment@100] - Client
environment:java.home=C:\Program Files\Java\jdk1.7.0\jre
2013-06-14 00:20:06,515 [myid:] - INFO  [main:Environment@100] - Client
environment:java.class.path=G:\Hadoop\zookeeper-3.4.5\build\classes;G:\Hadoop\zookeeper-3.4.5\build\lib\*.jar;G:\Hadoop\zookeeper-3.4.5\lib\slf4j-log4j12-1.6.1.jar;G:\Hadoop\zookeeper-3.4.5\lib\slf4j-api-1.6.1.jar;G:\Hadoop\zookeeper-3.4.5\lib\netty-3.2.2.Final.jar;G:\Hadoop\zookeeper-3.4.5\lib\log4j-1.2.15.jar;G:\Hadoop\zookeeper-3.4.5\lib\jline-0.9.94.jar;G:\Hadoop\zookeeper-3.4.5\zookeeper-3.4.5.jar;G:\Hadoop\zookeeper-3.4.5\src\java\lib\*.jar;G:\Hadoop\zookeeper-3.4.5\conf;.
2013-06-14 00:20:06,515 [myid:] - INFO  [main:Environment@100] - Client
environment:java.library.path=C:\Program
Files\Java\jdk1.7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\cygwin\usr\local\bin;C:\cygwin\bin;H:\app\sariyaz\product\11.2.0\dbhome_1\bin;C:\Program
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files
(x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files
(x86)\NVIDIA
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program
Files\Intel\WiFi\bin;C:\Program Files\Common
Files\Intel\WirelessCommon;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files (x86)\Common Files\Roxio
Shared\DLLShared;C:\Program Files (x86)\Common Files\Roxio
Shared\OEM\DLLShared;C:\Program Files (x86)\Common Files\Roxio
Shared\OEM\12.0\DLLShared;C:\Program Files
(x86)\Roxio\OEM\AudioCore;C:\Program
Files\Java\jdk1.7.0\bin;F:\softwares\developmentTools\apache-maven-3.0.4\bin;C:\Users\sariyaz\atlassian-plugin-sdk-4.0\bin;C:\Program
Files\TortoiseSVN\bin;C:\Program Files (x86)\Common Files\i2 Shared\i2
Online iLink 8\Components;C:\Program Files (x86)\Common Files\i2
Shared\Geotrans;F:\softwares\developmentTools\gradle-1.4\bin;C:\Program
Files\Internet Explorer;G:\Hadoop\zookeeper-3.4.5\bin;C:\Program Files
(x86)\ESTsoft\ALSee\x64;.
2013-06-14 00:20:06,516 [myid:] - INFO  [main:Environment@100] - Client
environment:java.io.tmpdir=C:\cygwin\tmp\
2013-06-14 00:20:06,516 [myid:] - INFO  [main:Environment@100] - Client
environment:java.compiler=<NA>
2013-06-14 00:20:06,517 [myid:] - INFO  [main:Environment@100] - Client
environment:os.name=Windows 7
2013-06-14 00:20:06,517 [myid:] - INFO  [main:Environment@100] - Client
environment:os.arch=amd64
2013-06-14 00:20:06,517 [myid:] - INFO  [main:Environment@100] - Client
environment:os.version=6.1
2013-06-14 00:20:06,517 [myid:] - INFO  [main:Environment@100] - Client
environment:user.name=sariyaz
2013-06-14 00:20:06,518 [myid:] - INFO  [main:Environment@100] - Client
environment:user.home=C:\Users\sariyaz
2013-06-14 00:20:06,518 [myid:] - INFO  [main:Environment@100] - Client
environment:user.dir=G:\Hadoop\zookeeper-3.4.5
2013-06-14 00:20:06,520 [myid:] - INFO  [main:ZooKeeper@438] - Initiating
client connection, connectString=0.0.0.0:2181 sessionTimeout=30000
watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@428e690a
Welcome to ZooKeeper!
2013-06-14 00:20:06,549 [myid:] - INFO  [main-SendThread(0.0.0.0:2181
):ClientCnxn$SendThread@966] - Opening socket connection to server
0.0.0.0/0.0.0.0:2181. Will not attempt to authenticate using SASL (unknown
error)
2013-06-14 00:20:06,554 [myid:] - INFO  [main-SendThread(0.0.0.0:2181
):ClientCnxn$SendThread@849] - Socket connection established to
0.0.0.0/0.0.0.0:2181, initiating session
JLine support is enabled
2013-06-14 00:20:06,562 [myid:] - INFO  [main-SendThread(0.0.0.0:2181
):ClientCnxn$SendThread@1207] - Session establishment complete on server
0.0.0.0/0.0.0.0:2181, sessionid = 0x13f3f663d6b0002, negotiated timeout 30000

WATCHER::

WatchedEvent state:SyncConnected type:None path:null
[zk: 0.0.0.0:2181(CONNECTED) 0] help
Please find the below message from zookeeper.out:

2013-06-14 00:17:12,382 [myid:] - INFO  [main:ZooKeeperServer@726] -
tickTime set to 2000
2013-06-14 00:17:12,383 [myid:] - INFO  [main:ZooKeeperServer@735] -
minSessionTimeout set to -1
2013-06-14 00:17:12,383 [myid:] - INFO  [main:ZooKeeperServer@744] -
maxSessionTimeout set to -1
2013-06-14 00:17:12,395 [myid:] - INFO  [main:NIOServerCnxnFactory@94] -
binding to port 0.0.0.0/0.0.0.0:2181
2013-06-14 00:17:12,410 [myid:] - INFO  [main:FileSnap@83] - Reading
snapshot \Hadoop\data\zookeeper\version-2\snapshot.36
2013-06-14 00:17:12,423 [myid:] - INFO  [main:FileTxnSnapLog@240] -
Snapshotting: 0x3a to \Hadoop\data\zookeeper\version-2\snapshot.3a
2013-06-14 00:17:44,000 [myid:] - INFO  [SessionTracker:ZooKeeperServer@325]
- Expiring session 0x13f3f3cd0690001, timeout of 30000ms exceeded
2013-06-14 00:17:44,002 [myid:] - INFO  [ProcessThread(sid:0
cport:-1)::PrepRequestProcessor@476] - Processed session termination for
sessionid: 0x13f3f3cd0690001
2013-06-14 00:17:44,003 [myid:] - INFO  [SyncThread:0:FileTxnLog@199] -
Creating new log file: log.3b
2013-06-14 00:17:46,806 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection
from /0:0:0:0:0:0:0:1:55729
2013-06-14 00:17:46,815 [myid:] - INFO  [NIOSe
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB