zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shaikh Ahmed <rnsr.sha...@gmail.com>
Subject Re: zookeeper shell prompt
Date Thu, 13 Jun 2013 21:32:57 GMT
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  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@839] - Client attempting to establish
new session at /0:0:0:0:0:0:0:1:55729
2013-06-14 00:17:46,820 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@595]
- Established session 0x13f3f663d6b0000 with negotiated timeout 30000 for
client /0:0:0:0:0:0:0:1:55729
2013-06-14 00:17:53,490 [myid:] - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
session 0x13f3f663d6b0000 due to java.io.IOException: An existing
connection was forcibly closed by the remote host
2013-06-14 00:17:53,494 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /0:0:0:0:0:0:0:1:55729 which had sessionid 0x13f3f663d6b0000
2013-06-14 00:18:02,798 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection
from /127.0.0.1:55733
2013-06-14 00:18:02,801 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@839] - Client attempting to establish
new session at /127.0.0.1:55733
2013-06-14 00:18:02,809 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@595]
- Established session 0x13f3f663d6b0001 with negotiated timeout 30000 for
client /127.0.0.1:55733
2013-06-14 00:18:18,000 [myid:] - INFO  [SessionTracker:ZooKeeperServer@325]
- Expiring session 0x13f3f663d6b0000, timeout of 30000ms exceeded
2013-06-14 00:18:18,000 [myid:] - INFO  [ProcessThread(sid:0
cport:-1)::PrepRequestProcessor@476] - Processed session termination for
sessionid: 0x13f3f663d6b0000
2013-06-14 00:19:42,787 [myid:] - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@354] - Exception causing close of
session 0x13f3f663d6b0001 due to java.io.IOException: An existing
connection was forcibly closed by the remote host
2013-06-14 00:19:42,789 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1001] - Closed socket connection for
client /127.0.0.1:55733 which had sessionid 0x13f3f663d6b0001
2013-06-14 00:20:04,000 [myid:] - INFO  [SessionTracker:ZooKeeperServer@325]
- Expiring session 0x13f3f663d6b0001, timeout of 30000ms exceeded
2013-06-14 00:20:04,000 [myid:] - INFO  [ProcessThread(sid:0
cport:-1)::PrepRequestProcessor@476] - Processed session termination for
sessionid: 0x13f3f663d6b0001
2013-06-14 00:20:06,553 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection
from /192.168.111.1:55740
2013-06-14 00:20:06,558 [myid:] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@839] - Client attempting to establish
new session at /192.168.111.1:55740
2013-06-14 00:20:06,564 [myid:] - INFO  [SyncThread:0:ZooKeeperServer@595]
- Established session 0x13f3f663d6b0002 with negotiated timeout 30000 for
client /192.168.111.1:55740


Please let me know if you want me to attach these messages in a text file

Thanks & Regards,
Riyaz
*


On Fri, Jun 14, 2013 at 12:19 AM, Henry Robinson <henry@cloudera.com> wrote:

> Please just copy-and-paste the text output you see in your shell. Images do
> not work well on this list.
>
> Henry
>
>
> On 13 June 2013 14:17, Shaikh Ahmed <rnsr.shaikh@gmail.com> wrote:
>
> > Hi David,
> >
> > Sorry for that,
> >
> > I have attached new images with this email.
> >
> > Regards,
> > Riyaz
> >
> >
> > On Fri, Jun 14, 2013 at 12:10 AM, David Liman <limanoit@gmail.com>
> wrote:
> >
> >> Hi Shaikh,
> >>
> >> Inline image does not work
> >>
> >> Thank you,
> >>
> >> David Liman
> >>
> >>
> >>
> >> On Thu, Jun 13, 2013 at 5:02 PM, Shaikh Ahmed <rnsr.shaikh@gmail.com>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I am new to zookeeper and have installed the version 3.4.5 with the
> help
> >> > of steps mentioned on Zookeeper Getting started Guide.
> >> > Zookeeper server is successfully started. Please refer below
> screenshot.
> >> >
> >> > [image: Inline image 1]
> >> > When I tried to connect to server using command 'bin/zkCli.sh -server
> >> > 127.0.0.1:2181', I got the below screen. But there is no [zkshell]
> >> prompt
> >> > as mentioned on Getting started Guide.
> >> >
> >> > [image: Inline image 2]
> >> >
> >> > I typed help on file line of the above screenshot, but, no response.
> >> >
> >> > Please let me know if I am doing something wrong there.
> >> >
> >> > Thanks in advanced.
> >> >
> >> > Regards,
> >> > Riyaz
> >> >
> >>
> >
> >
>
>
> --
> Henry Robinson
> Software Engineer
> Cloudera
> 415-994-6679
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message