You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@twill.apache.org by Srinivas Reddy Kancharla <ge...@gmail.com> on 2014/08/26 03:37:44 UTC

Debugging API using eclipse

Hi,


I have been running *successfully* a sample program through my *command
line *passing all required jar files to classpath, but when I am trying to
launch the same program from *eclipse*, I am getting below connection error
messages:


==*18:22:29.900 [YarnTwillRunnerService
STARTING-SendThread(localhost:2181)] DEBUG o.a.z.client.ZooKeeperSaslClient
- Could not retrieve login configuration: java.lang.SecurityException:
Unable to locate a login configuration*

*18:22:29.908 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
0x1480e24ced00003, negotiated timeout = 10000*

18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
localhost:2181

18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
0x1480e24ced00006 after 1ms

18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
handleConnectionFailure

INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
sleepTime=1000 MILLISECONDS)

Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
handleConnectionFailure

INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
sleepTime=1000 MILLISECONDS)

Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
handleConnectionFailure

INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 3
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
sleepTime=1000 MILLISECONDS)

===

I am wondering if I am missing any settings to be set on eclipse to fix
this issue. Could you please let me know if I need to add anything else.


*final* TwillRunnerService *twillRunner* =  *new* YarnTwillRunnerService(

         *new* YarnConfiguration(), "localhost:2181");

        *twillRunner*.startAndWait();


During debugging in eclipse, below connection error messages comes as soon
as we hit startAndWait() API.


Below are the messages in details...

Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy createRMProxy

INFO: Connecting to ResourceManager at /0.0.0.0:8032

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:host.name=localhost

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.6.0_45

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
Microsystems Inc.

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:java.home=/opt/jdk1.6.0_45/jre

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/tmp

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux

18:22:29.853 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64

18:22:29.854 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:os.version=3.11.0-12-generic

18:22:29.854 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:user.name=srini

18:22:29.854 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client environment:user.home=/home/srini

18:22:29.854 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Client
environment:user.dir=/home/srini/workspace/HD4TwillProj

18:22:29.855 [YarnTwillRunnerService STARTING] INFO
org.apache.zookeeper.ZooKeeper - Initiating client connection,
connectString=localhost:2181 sessionTimeout=10000 watcher=ServiceDelegate
[STARTING]

18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false

18:22:29.890 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server
localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
(Unable to locate a login configuration)

18:22:29.898 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
INFO  org.apache.zookeeper.ClientCnxn - Socket connection established to
localhost/127.0.0.1:2181, initiating session

18:22:29.900 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request sent
on localhost/127.0.0.1:2181

*18:22:29.900 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration*

*18:22:29.908 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
0x1480e24ced00003, negotiated timeout = 10000*

18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper: localhost:2181

18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.926 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.930 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.931 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.933 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
finished:false header:: 1,1  replyHeader:: 1,257698038097,-110  request::
'/,,v{s{31,s{'world,'anyone}}},0  response::

18:22:29.943 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.947 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.949 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.953 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
finished:false header:: 2,12  replyHeader:: 2,257698038097,0  request::
'/,T  response::
v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}

18:22:29.955 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet::
clientPath:/MyReddyTwillApplication/instances
serverPath:/MyReddyTwillApplication/instances finished:false header:: 3,12
replyHeader:: 3,257698038097,0  request::
'/MyReddyTwillApplication/instances,T  response::
v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}

18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet::
clientPath:/MySriniTwillApplication/instances
serverPath:/MySriniTwillApplication/instances finished:false header:: 4,12
replyHeader:: 4,257698038097,0  request::
'/MySriniTwillApplication/instances,T  response::
v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}

18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
serverPath:/zookeeper/instances finished:false header:: 5,12  replyHeader::
5,257698038097,-101  request:: '/zookeeper/instances,T  response:: v{}

18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/twillCurator/instances
serverPath:/twillCurator/instances finished:false header:: 6,12
replyHeader:: 6,257698038097,-101  request:: '/twillCurator/instances,T
response:: v{}

18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.971 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/examples/instances
serverPath:/examples/instances finished:false header:: 7,12  replyHeader::
7,257698038097,-101  request:: '/examples/instances,T  response:: v{}

18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
serverPath:/storm/instances finished:false header:: 8,12  replyHeader::
8,257698038097,-101  request:: '/storm/instances,T  response:: v{}

18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.974 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet::
clientPath:/MySriTwillApplication/instances
serverPath:/MySriTwillApplication/instances finished:false header:: 9,12
replyHeader:: 9,257698038097,0  request::
'/MySriTwillApplication/instances,T  response::
v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}

18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
serverPath:/zookeeper/instances finished:false header:: 10,3  replyHeader::
10,257698038097,-101  request:: '/zookeeper/instances,T  response::

18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.989 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
configuration: java.lang.SecurityException: Unable to locate a login
configuration

18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils - Security is
not enabled



Thanks and regards,

Srini

Re: Debugging API using eclipse

Posted by Alvin Wang <al...@continuuity.com>.
Oops, I didn't realize you talking about those errors. In that case it does
seem like there could be some version mismatch going on or possibly some
Hadoop configuration differences.

1. How are you running from command line?
2. How are you running from Eclipse?
3. Do you have Hadoop installed locally on the machine you're running from?
There could be some configuration files getting pulled in by the YARN
client via some environment variables.

Regards,
Alvin


On Tue, Aug 26, 2014 at 2:53 PM, Srinivas Reddy Kancharla <
getreddy@gmail.com> wrote:

> When i try to launch the program from eclipse, I get this message:
>
> Aug 26, 2014 2:46:04 PM* org.apache.hadoop.yarn.client.RMProxy*
> createRMProxy
>
> INFO: Connecting to ResourceManager a*t /0.0.0.0:8032 <http://0.0.0.0:8032
> >*
>
> Aug 26, 2014 2:46:10 PM org.apache.hadoop.ipc.Client$Connection
> handleConnectionFailure
>
> INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0
> time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)
>
> ===
>
> Now when I try to launch from the command line, I am getting message as:
>
> 14/08/26 14:31:24 INFO *client.RMProxy*: Connecting to ResourceManager
> at */192.168.125.156:8040
> <http://192.168.125.156:8040>*
>
>
> I could see the difference in log messages and the IP getting connected.
> Not sure why eclipse is trying for 0.0.0.0:8032 instead of 8040.. Looks
> like there is some sort of version mismatch going on. Let me know if you
> get some clue out of it.
>
>
> Thanks and regards,
>
> Srini
>
>
>
>
>
> On Tue, Aug 26, 2014 at 2:13 PM, Alvin Wang <al...@continuuity.com> wrote:
>
> > Hi Srini,
> >
> > If your Twill application runs fine even with those log messages, then
> > rather than a real issue, it's likely due to some logging level
> difference
> > between running the app from command line and Eclipse. Those
> > "o.a.z.client.ZooKeeperSaslClient
> > - Could not retrieve login configuration: java.lang.SecurityException:
> > Unable to locate a login configuration" messages don't necessarily
> indicate
> > a real issue. It just means that you haven't configured your ZooKeeper
> > client to use SASL authentication.
> >
> > Regards,
> > Alvin
> >
> >
> > On Tue, Aug 26, 2014 at 1:41 PM, Srinivas Reddy Kancharla <
> > getreddy@gmail.com> wrote:
> >
> > > Hi Alvin,
> > >
> > > Thanks for your reply. I didn't set specifically any property to run
> > these.
> > > As I mentioned, my application runs fine if I launch it from the
> command
> > > line (terminal) but the same application is showing such messages if
> try
> > to
> > > launch it from eclipse.
> > >
> > > Yes, My Twill application runs fine ... I have a setup of 3 ubuntu VMs
> > and
> > > so I wrote a twill application which is supposed to execute 3
> runnables.
> > I
> > > could one of the one is taking care of application master and other
> nodes
> > > are running those runnables (AbstractTwillRunnable) .
> > >
> > > To understand more on this workflow, I was trying to debug it using
> > eclipse
> > > and I am stuck with such messages. Wondering why do we need to setup
> such
> > > properties if it works fine from command line. Is there any issue of
> > > mismatch of jar files in classpath?
> > >
> > >
> > > Thanks and regards,
> > > Srini
> > >
> > >
> > >
> > >
> > > On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com>
> > wrote:
> > >
> > > > Hi Srini,
> > > >
> > > > Taking a look at the ZooKeeperSaslClient source code, it looks like
> > these
> > > > log messages only appear when the system property
> > > > "java.security.auth.login.config" is set
> > > > or javax.security.auth.login.Configuration.getConfiguration() is not
> > > null.
> > > > Can you check if these are set?
> > > >
> > > > Also, does your Twill application run fine?
> > > >
> > > > Regards,
> > > > Alvin
> > > >
> > > >
> > > > On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> > > > getreddy@gmail.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > > I have been running *successfully* a sample program through my
> > *command
> > > > > line *passing all required jar files to classpath, but when I am
> > trying
> > > > to
> > > > > launch the same program from *eclipse*, I am getting below
> connection
> > > > error
> > > > > messages:
> > > > >
> > > > >
> > > > > ==*18:22:29.900 [YarnTwillRunnerService
> > > > > STARTING-SendThread(localhost:2181)] DEBUG
> > > > o.a.z.client.ZooKeeperSaslClient
> > > > > - Could not retrieve login configuration:
> > java.lang.SecurityException:
> > > > > Unable to locate a login configuration*
> > > > >
> > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > complete
> > > on
> > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> sessionid =
> > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > > > > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > > > localhost:2181
> > > > >
> > > > > 18:22:29.910 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for
> > > sessionid:
> > > > > 0x1480e24ced00006 after 1ms
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 1
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 2
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 3
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > ===
> > > > >
> > > > > I am wondering if I am missing any settings to be set on eclipse to
> > fix
> > > > > this issue. Could you please let me know if I need to add anything
> > > else.
> > > > >
> > > > >
> > > > > *final* TwillRunnerService *twillRunner* =  *new*
> > > YarnTwillRunnerService(
> > > > >
> > > > >          *new* YarnConfiguration(), "localhost:2181");
> > > > >
> > > > >         *twillRunner*.startAndWait();
> > > > >
> > > > >
> > > > > During debugging in eclipse, below connection error messages comes
> as
> > > > soon
> > > > > as we hit startAndWait() API.
> > > > >
> > > > >
> > > > > Below are the messages in details...
> > > > >
> > > > > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> > > > createRMProxy
> > > > >
> > > > > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
> > 17:52
> > > > GMT
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:host.name
> > > =localhost
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:java.version=1.6.0_45
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> > > > > Microsystems Inc.
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:java.home=/opt/jdk1.6.0_45/jre
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > >
> > > > >
> > > >
> > >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > >
> > > > >
> > > >
> > >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.io.tmpdir=/tmp
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.compiler=<NA>
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:os.version=3.11.0-12-generic
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:user.name
> =srini
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:user.home=/home/srini
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:user.dir=/home/srini/workspace/HD4TwillProj
> > > > >
> > > > > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > > > > connectString=localhost:2181 sessionTimeout=10000
> > > watcher=ServiceDelegate
> > > > > [STARTING]
> > > > >
> > > > > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > > > > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset
> is
> > > > false
> > > > >
> > > > > 18:22:29.890 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection
> to
> > > > server
> > > > > localhost/127.0.0.1:2181. Will not attempt to authenticate using
> > SASL
> > > > > (Unable to locate a login configuration)
> > > > >
> > > > > 18:22:29.898 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Socket connection
> established
> > > to
> > > > > localhost/127.0.0.1:2181, initiating session
> > > > >
> > > > > 18:22:29.900 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment
> request
> > > > sent
> > > > > on localhost/127.0.0.1:2181
> > > > >
> > > > > *18:22:29.900 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration*
> > > > >
> > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > complete
> > > on
> > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> sessionid =
> > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > > > > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > localhost:2181
> > > > >
> > > > > 18:22:29.910 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.926 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.927 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.927 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.930 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.931 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.933 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110
> > > request::
> > > > > '/,,v{s{31,s{'world,'anyone}}},0  response::
> > > > >
> > > > > 18:22:29.943 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.947 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.949 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.953 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > finished:false header:: 2,12  replyHeader:: 2,257698038097,0
> > request::
> > > > > '/,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> > > > >
> > > > > 18:22:29.955 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.961 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.961 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.962 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.962 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.963 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.963 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MyReddyTwillApplication/instances
> > > > > serverPath:/MyReddyTwillApplication/instances finished:false
> header::
> > > > 3,12
> > > > > replyHeader:: 3,257698038097,0  request::
> > > > > '/MyReddyTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MySriniTwillApplication/instances
> > > > > serverPath:/MySriniTwillApplication/instances finished:false
> header::
> > > > 4,12
> > > > > replyHeader:: 4,257698038097,0  request::
> > > > > '/MySriniTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/zookeeper/instances
> > > > > serverPath:/zookeeper/instances finished:false header:: 5,12
> > > > replyHeader::
> > > > > 5,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > v{}
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.968 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.968 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.969 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > clientPath:/twillCurator/instances
> > > > > serverPath:/twillCurator/instances finished:false header:: 6,12
> > > > > replyHeader:: 6,257698038097,-101  request::
> > '/twillCurator/instances,T
> > > > > response:: v{}
> > > > >
> > > > > 18:22:29.969 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.970 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.970 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.971 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/examples/instances
> > > > > serverPath:/examples/instances finished:false header:: 7,12
> > > > replyHeader::
> > > > > 7,257698038097,-101  request:: '/examples/instances,T  response::
> v{}
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > > > > serverPath:/storm/instances finished:false header:: 8,12
> > replyHeader::
> > > > > 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.974 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.975 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.975 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MySriTwillApplication/instances
> > > > > serverPath:/MySriTwillApplication/instances finished:false header::
> > > 9,12
> > > > > replyHeader:: 9,257698038097,0  request::
> > > > > '/MySriTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.978 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/zookeeper/instances
> > > > > serverPath:/zookeeper/instances finished:false header:: 10,3
> > > > replyHeader::
> > > > > 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > > > >
> > > > > 18:22:29.978 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.989 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils -
> > Security
> > > is
> > > > > not enabled
> > > > >
> > > > >
> > > > >
> > > > > Thanks and regards,
> > > > >
> > > > > Srini
> > > > >
> > > >
> > >
> >
>

Re: Debugging API using eclipse

Posted by Srinivas Reddy Kancharla <ge...@gmail.com>.
HI,

Yes. it was running time classpath settings in eclipse. After providing
proper paths, I could see the results from eclipse.

Thanks for the proper pointers.

Regards,
Srini


On Wed, Aug 27, 2014 at 10:14 AM, Gary Helmling <gh...@gmail.com> wrote:

> From the error message, it looks like you're picking up the default
> configuration for "yarn.resourcemanager.address".  Is the directory
> containing your yarn-site.xml file in the classpath for your IDE run
> configuration?
>
>
> On Tue, Aug 26, 2014 at 2:53 PM, Srinivas Reddy Kancharla <
> getreddy@gmail.com> wrote:
>
> > When i try to launch the program from eclipse, I get this message:
> >
> > Aug 26, 2014 2:46:04 PM* org.apache.hadoop.yarn.client.RMProxy*
> > createRMProxy
> >
> > INFO: Connecting to ResourceManager a*t /0.0.0.0:8032 <
> http://0.0.0.0:8032
> > >*
> >
> > Aug 26, 2014 2:46:10 PM org.apache.hadoop.ipc.Client$Connection
> > handleConnectionFailure
> >
> > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0
> > time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > sleepTime=1000 MILLISECONDS)
> >
> > ===
> >
> > Now when I try to launch from the command line, I am getting message as:
> >
> > 14/08/26 14:31:24 INFO *client.RMProxy*: Connecting to ResourceManager
> > at */192.168.125.156:8040
> > <http://192.168.125.156:8040>*
> >
> >
> > I could see the difference in log messages and the IP getting connected.
> > Not sure why eclipse is trying for 0.0.0.0:8032 instead of 8040.. Looks
> > like there is some sort of version mismatch going on. Let me know if you
> > get some clue out of it.
> >
> >
> > Thanks and regards,
> >
> > Srini
> >
> >
> >
> >
> >
> > On Tue, Aug 26, 2014 at 2:13 PM, Alvin Wang <al...@continuuity.com>
> wrote:
> >
> > > Hi Srini,
> > >
> > > If your Twill application runs fine even with those log messages, then
> > > rather than a real issue, it's likely due to some logging level
> > difference
> > > between running the app from command line and Eclipse. Those
> > > "o.a.z.client.ZooKeeperSaslClient
> > > - Could not retrieve login configuration: java.lang.SecurityException:
> > > Unable to locate a login configuration" messages don't necessarily
> > indicate
> > > a real issue. It just means that you haven't configured your ZooKeeper
> > > client to use SASL authentication.
> > >
> > > Regards,
> > > Alvin
> > >
> > >
> > > On Tue, Aug 26, 2014 at 1:41 PM, Srinivas Reddy Kancharla <
> > > getreddy@gmail.com> wrote:
> > >
> > > > Hi Alvin,
> > > >
> > > > Thanks for your reply. I didn't set specifically any property to run
> > > these.
> > > > As I mentioned, my application runs fine if I launch it from the
> > command
> > > > line (terminal) but the same application is showing such messages if
> > try
> > > to
> > > > launch it from eclipse.
> > > >
> > > > Yes, My Twill application runs fine ... I have a setup of 3 ubuntu
> VMs
> > > and
> > > > so I wrote a twill application which is supposed to execute 3
> > runnables.
> > > I
> > > > could one of the one is taking care of application master and other
> > nodes
> > > > are running those runnables (AbstractTwillRunnable) .
> > > >
> > > > To understand more on this workflow, I was trying to debug it using
> > > eclipse
> > > > and I am stuck with such messages. Wondering why do we need to setup
> > such
> > > > properties if it works fine from command line. Is there any issue of
> > > > mismatch of jar files in classpath?
> > > >
> > > >
> > > > Thanks and regards,
> > > > Srini
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com>
> > > wrote:
> > > >
> > > > > Hi Srini,
> > > > >
> > > > > Taking a look at the ZooKeeperSaslClient source code, it looks like
> > > these
> > > > > log messages only appear when the system property
> > > > > "java.security.auth.login.config" is set
> > > > > or javax.security.auth.login.Configuration.getConfiguration() is
> not
> > > > null.
> > > > > Can you check if these are set?
> > > > >
> > > > > Also, does your Twill application run fine?
> > > > >
> > > > > Regards,
> > > > > Alvin
> > > > >
> > > > >
> > > > > On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> > > > > getreddy@gmail.com> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > >
> > > > > > I have been running *successfully* a sample program through my
> > > *command
> > > > > > line *passing all required jar files to classpath, but when I am
> > > trying
> > > > > to
> > > > > > launch the same program from *eclipse*, I am getting below
> > connection
> > > > > error
> > > > > > messages:
> > > > > >
> > > > > >
> > > > > > ==*18:22:29.900 [YarnTwillRunnerService
> > > > > > STARTING-SendThread(localhost:2181)] DEBUG
> > > > > o.a.z.client.ZooKeeperSaslClient
> > > > > > - Could not retrieve login configuration:
> > > java.lang.SecurityException:
> > > > > > Unable to locate a login configuration*
> > > > > >
> > > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > > STARTING-SendThread(localhost:2181)]
> > > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > > complete
> > > > on
> > > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> > sessionid =
> > > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > > >
> > > > > > 18:22:29.909 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > > > > > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > > > > localhost:2181
> > > > > >
> > > > > > 18:22:29.910 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:36:08.293 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:36:08.293 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for
> > > > sessionid:
> > > > > > 0x1480e24ced00006 after 1ms
> > > > > >
> > > > > > 18:36:08.293 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > > > > > handleConnectionFailure
> > > > > >
> > > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > > tried
> > > > 1
> > > > > > time(s); retry policy is
> > > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > > sleepTime=1000 MILLISECONDS)
> > > > > >
> > > > > > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > > > > > handleConnectionFailure
> > > > > >
> > > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > > tried
> > > > 2
> > > > > > time(s); retry policy is
> > > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > > sleepTime=1000 MILLISECONDS)
> > > > > >
> > > > > > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > > > > > handleConnectionFailure
> > > > > >
> > > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > > tried
> > > > 3
> > > > > > time(s); retry policy is
> > > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > > sleepTime=1000 MILLISECONDS)
> > > > > >
> > > > > > ===
> > > > > >
> > > > > > I am wondering if I am missing any settings to be set on eclipse
> to
> > > fix
> > > > > > this issue. Could you please let me know if I need to add
> anything
> > > > else.
> > > > > >
> > > > > >
> > > > > > *final* TwillRunnerService *twillRunner* =  *new*
> > > > YarnTwillRunnerService(
> > > > > >
> > > > > >          *new* YarnConfiguration(), "localhost:2181");
> > > > > >
> > > > > >         *twillRunner*.startAndWait();
> > > > > >
> > > > > >
> > > > > > During debugging in eclipse, below connection error messages
> comes
> > as
> > > > > soon
> > > > > > as we hit startAndWait() API.
> > > > > >
> > > > > >
> > > > > > Below are the messages in details...
> > > > > >
> > > > > > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> > > > > createRMProxy
> > > > > >
> > > > > > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
> > > 17:52
> > > > > GMT
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client environment:host.name
> > > > =localhost
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:java.version=1.6.0_45
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> environment:java.vendor=Sun
> > > > > > Microsystems Inc.
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > > environment:java.home=/opt/jdk1.6.0_45/jre
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:java.io.tmpdir=/tmp
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:java.compiler=<NA>
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.name
> =Linux
> > > > > >
> > > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> > > > > >
> > > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > > environment:os.version=3.11.0-12-generic
> > > > > >
> > > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client environment:user.name
> > =srini
> > > > > >
> > > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:user.home=/home/srini
> > > > > >
> > > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > > environment:user.dir=/home/srini/workspace/HD4TwillProj
> > > > > >
> > > > > > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > > > > > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > > > > > connectString=localhost:2181 sessionTimeout=10000
> > > > watcher=ServiceDelegate
> > > > > > [STARTING]
> > > > > >
> > > > > > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > > > > > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset
> > is
> > > > > false
> > > > > >
> > > > > > 18:22:29.890 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection
> > to
> > > > > server
> > > > > > localhost/127.0.0.1:2181. Will not attempt to authenticate using
> > > SASL
> > > > > > (Unable to locate a login configuration)
> > > > > >
> > > > > > 18:22:29.898 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > INFO  org.apache.zookeeper.ClientCnxn - Socket connection
> > established
> > > > to
> > > > > > localhost/127.0.0.1:2181, initiating session
> > > > > >
> > > > > > 18:22:29.900 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment
> > request
> > > > > sent
> > > > > > on localhost/127.0.0.1:2181
> > > > > >
> > > > > > *18:22:29.900 [YarnTwillRunnerService
> > > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration*
> > > > > >
> > > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > > STARTING-SendThread(localhost:2181)]
> > > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > > complete
> > > > on
> > > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> > sessionid =
> > > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > > >
> > > > > > 18:22:29.909 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > > > > > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > > localhost:2181
> > > > > >
> > > > > > 18:22:29.910 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.926 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.927 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.927 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.930 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.931 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.933 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110
> > > > request::
> > > > > > '/,,v{s{31,s{'world,'anyone}}},0  response::
> > > > > >
> > > > > > 18:22:29.943 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.947 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.948 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.948 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.948 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.949 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.953 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > > finished:false header:: 2,12  replyHeader:: 2,257698038097,0
> > > request::
> > > > > > '/,T  response::
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> > > > > >
> > > > > > 18:22:29.955 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.961 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.961 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.962 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.962 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.963 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.963 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.964 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > > > > > clientPath:/MyReddyTwillApplication/instances
> > > > > > serverPath:/MyReddyTwillApplication/instances finished:false
> > header::
> > > > > 3,12
> > > > > > replyHeader:: 3,257698038097,0  request::
> > > > > > '/MyReddyTwillApplication/instances,T  response::
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> > > > > >
> > > > > > 18:22:29.964 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.964 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.964 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.965 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.965 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > > > > > clientPath:/MySriniTwillApplication/instances
> > > > > > serverPath:/MySriniTwillApplication/instances finished:false
> > header::
> > > > > 4,12
> > > > > > replyHeader:: 4,257698038097,0  request::
> > > > > > '/MySriniTwillApplication/instances,T  response::
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> > > > > >
> > > > > > 18:22:29.965 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.966 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.966 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.966 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.967 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > clientPath:/zookeeper/instances
> > > > > > serverPath:/zookeeper/instances finished:false header:: 5,12
> > > > > replyHeader::
> > > > > > 5,257698038097,-101  request:: '/zookeeper/instances,T
> response::
> > > v{}
> > > > > >
> > > > > > 18:22:29.967 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.967 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.967 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.968 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.968 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.969 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > > > clientPath:/twillCurator/instances
> > > > > > serverPath:/twillCurator/instances finished:false header:: 6,12
> > > > > > replyHeader:: 6,257698038097,-101  request::
> > > '/twillCurator/instances,T
> > > > > > response:: v{}
> > > > > >
> > > > > > 18:22:29.969 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.970 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.970 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.971 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.972 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > clientPath:/examples/instances
> > > > > > serverPath:/examples/instances finished:false header:: 7,12
> > > > > replyHeader::
> > > > > > 7,257698038097,-101  request:: '/examples/instances,T  response::
> > v{}
> > > > > >
> > > > > > 18:22:29.972 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.972 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.973 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.973 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > > > > > serverPath:/storm/instances finished:false header:: 8,12
> > > replyHeader::
> > > > > > 8,257698038097,-101  request:: '/storm/instances,T  response::
> v{}
> > > > > >
> > > > > > 18:22:29.973 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.974 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.975 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.975 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > > > > > clientPath:/MySriTwillApplication/instances
> > > > > > serverPath:/MySriTwillApplication/instances finished:false
> header::
> > > > 9,12
> > > > > > replyHeader:: 9,257698038097,0  request::
> > > > > > '/MySriTwillApplication/instances,T  response::
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> > > > > >
> > > > > > 18:22:29.976 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.976 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.976 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.977 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.977 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.977 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.978 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > > sessionid:0x1480e24ced00003, packet::
> > clientPath:/zookeeper/instances
> > > > > > serverPath:/zookeeper/instances finished:false header:: 10,3
> > > > > replyHeader::
> > > > > > 10,257698038097,-101  request:: '/zookeeper/instances,T
> response::
> > > > > >
> > > > > > 18:22:29.978 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.989 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > > configuration: java.lang.SecurityException: Unable to locate a
> > login
> > > > > > configuration
> > > > > >
> > > > > > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils -
> > > Security
> > > > is
> > > > > > not enabled
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks and regards,
> > > > > >
> > > > > > Srini
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: Debugging API using eclipse

Posted by Gary Helmling <gh...@gmail.com>.
>From the error message, it looks like you're picking up the default
configuration for "yarn.resourcemanager.address".  Is the directory
containing your yarn-site.xml file in the classpath for your IDE run
configuration?


On Tue, Aug 26, 2014 at 2:53 PM, Srinivas Reddy Kancharla <
getreddy@gmail.com> wrote:

> When i try to launch the program from eclipse, I get this message:
>
> Aug 26, 2014 2:46:04 PM* org.apache.hadoop.yarn.client.RMProxy*
> createRMProxy
>
> INFO: Connecting to ResourceManager a*t /0.0.0.0:8032 <http://0.0.0.0:8032
> >*
>
> Aug 26, 2014 2:46:10 PM org.apache.hadoop.ipc.Client$Connection
> handleConnectionFailure
>
> INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0
> time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)
>
> ===
>
> Now when I try to launch from the command line, I am getting message as:
>
> 14/08/26 14:31:24 INFO *client.RMProxy*: Connecting to ResourceManager
> at */192.168.125.156:8040
> <http://192.168.125.156:8040>*
>
>
> I could see the difference in log messages and the IP getting connected.
> Not sure why eclipse is trying for 0.0.0.0:8032 instead of 8040.. Looks
> like there is some sort of version mismatch going on. Let me know if you
> get some clue out of it.
>
>
> Thanks and regards,
>
> Srini
>
>
>
>
>
> On Tue, Aug 26, 2014 at 2:13 PM, Alvin Wang <al...@continuuity.com> wrote:
>
> > Hi Srini,
> >
> > If your Twill application runs fine even with those log messages, then
> > rather than a real issue, it's likely due to some logging level
> difference
> > between running the app from command line and Eclipse. Those
> > "o.a.z.client.ZooKeeperSaslClient
> > - Could not retrieve login configuration: java.lang.SecurityException:
> > Unable to locate a login configuration" messages don't necessarily
> indicate
> > a real issue. It just means that you haven't configured your ZooKeeper
> > client to use SASL authentication.
> >
> > Regards,
> > Alvin
> >
> >
> > On Tue, Aug 26, 2014 at 1:41 PM, Srinivas Reddy Kancharla <
> > getreddy@gmail.com> wrote:
> >
> > > Hi Alvin,
> > >
> > > Thanks for your reply. I didn't set specifically any property to run
> > these.
> > > As I mentioned, my application runs fine if I launch it from the
> command
> > > line (terminal) but the same application is showing such messages if
> try
> > to
> > > launch it from eclipse.
> > >
> > > Yes, My Twill application runs fine ... I have a setup of 3 ubuntu VMs
> > and
> > > so I wrote a twill application which is supposed to execute 3
> runnables.
> > I
> > > could one of the one is taking care of application master and other
> nodes
> > > are running those runnables (AbstractTwillRunnable) .
> > >
> > > To understand more on this workflow, I was trying to debug it using
> > eclipse
> > > and I am stuck with such messages. Wondering why do we need to setup
> such
> > > properties if it works fine from command line. Is there any issue of
> > > mismatch of jar files in classpath?
> > >
> > >
> > > Thanks and regards,
> > > Srini
> > >
> > >
> > >
> > >
> > > On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com>
> > wrote:
> > >
> > > > Hi Srini,
> > > >
> > > > Taking a look at the ZooKeeperSaslClient source code, it looks like
> > these
> > > > log messages only appear when the system property
> > > > "java.security.auth.login.config" is set
> > > > or javax.security.auth.login.Configuration.getConfiguration() is not
> > > null.
> > > > Can you check if these are set?
> > > >
> > > > Also, does your Twill application run fine?
> > > >
> > > > Regards,
> > > > Alvin
> > > >
> > > >
> > > > On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> > > > getreddy@gmail.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > > I have been running *successfully* a sample program through my
> > *command
> > > > > line *passing all required jar files to classpath, but when I am
> > trying
> > > > to
> > > > > launch the same program from *eclipse*, I am getting below
> connection
> > > > error
> > > > > messages:
> > > > >
> > > > >
> > > > > ==*18:22:29.900 [YarnTwillRunnerService
> > > > > STARTING-SendThread(localhost:2181)] DEBUG
> > > > o.a.z.client.ZooKeeperSaslClient
> > > > > - Could not retrieve login configuration:
> > java.lang.SecurityException:
> > > > > Unable to locate a login configuration*
> > > > >
> > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > complete
> > > on
> > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> sessionid =
> > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > > > > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > > > localhost:2181
> > > > >
> > > > > 18:22:29.910 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for
> > > sessionid:
> > > > > 0x1480e24ced00006 after 1ms
> > > > >
> > > > > 18:36:08.293 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 1
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 2
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > > > > handleConnectionFailure
> > > > >
> > > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> > tried
> > > 3
> > > > > time(s); retry policy is
> > > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > > sleepTime=1000 MILLISECONDS)
> > > > >
> > > > > ===
> > > > >
> > > > > I am wondering if I am missing any settings to be set on eclipse to
> > fix
> > > > > this issue. Could you please let me know if I need to add anything
> > > else.
> > > > >
> > > > >
> > > > > *final* TwillRunnerService *twillRunner* =  *new*
> > > YarnTwillRunnerService(
> > > > >
> > > > >          *new* YarnConfiguration(), "localhost:2181");
> > > > >
> > > > >         *twillRunner*.startAndWait();
> > > > >
> > > > >
> > > > > During debugging in eclipse, below connection error messages comes
> as
> > > > soon
> > > > > as we hit startAndWait() API.
> > > > >
> > > > >
> > > > > Below are the messages in details...
> > > > >
> > > > > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> > > > createRMProxy
> > > > >
> > > > > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
> > 17:52
> > > > GMT
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:host.name
> > > =localhost
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:java.version=1.6.0_45
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> > > > > Microsystems Inc.
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:java.home=/opt/jdk1.6.0_45/jre
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > >
> > > > >
> > > >
> > >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > >
> > > > >
> > > >
> > >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.io.tmpdir=/tmp
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.compiler=<NA>
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
> > > > >
> > > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:os.version=3.11.0-12-generic
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client environment:user.name
> =srini
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:user.home=/home/srini
> > > > >
> > > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Client
> > > > > environment:user.dir=/home/srini/workspace/HD4TwillProj
> > > > >
> > > > > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > > > > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > > > > connectString=localhost:2181 sessionTimeout=10000
> > > watcher=ServiceDelegate
> > > > > [STARTING]
> > > > >
> > > > > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > > > > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset
> is
> > > > false
> > > > >
> > > > > 18:22:29.890 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection
> to
> > > > server
> > > > > localhost/127.0.0.1:2181. Will not attempt to authenticate using
> > SASL
> > > > > (Unable to locate a login configuration)
> > > > >
> > > > > 18:22:29.898 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Socket connection
> established
> > > to
> > > > > localhost/127.0.0.1:2181, initiating session
> > > > >
> > > > > 18:22:29.900 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment
> request
> > > > sent
> > > > > on localhost/127.0.0.1:2181
> > > > >
> > > > > *18:22:29.900 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration*
> > > > >
> > > > > *18:22:29.908 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)]
> > > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> > complete
> > > on
> > > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>,
> sessionid =
> > > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > > > > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > localhost:2181
> > > > >
> > > > > 18:22:29.910 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.926 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.927 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.927 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.930 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.931 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.933 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110
> > > request::
> > > > > '/,,v{s{31,s{'world,'anyone}}},0  response::
> > > > >
> > > > > 18:22:29.943 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.947 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.948 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.949 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.953 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > > finished:false header:: 2,12  replyHeader:: 2,257698038097,0
> > request::
> > > > > '/,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> > > > >
> > > > > 18:22:29.955 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.961 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.961 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.962 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.962 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.963 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.963 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MyReddyTwillApplication/instances
> > > > > serverPath:/MyReddyTwillApplication/instances finished:false
> header::
> > > > 3,12
> > > > > replyHeader:: 3,257698038097,0  request::
> > > > > '/MyReddyTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.964 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MySriniTwillApplication/instances
> > > > > serverPath:/MySriniTwillApplication/instances finished:false
> header::
> > > > 4,12
> > > > > replyHeader:: 4,257698038097,0  request::
> > > > > '/MySriniTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> > > > >
> > > > > 18:22:29.965 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.966 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/zookeeper/instances
> > > > > serverPath:/zookeeper/instances finished:false header:: 5,12
> > > > replyHeader::
> > > > > 5,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > v{}
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.967 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.968 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.968 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.969 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > clientPath:/twillCurator/instances
> > > > > serverPath:/twillCurator/instances finished:false header:: 6,12
> > > > > replyHeader:: 6,257698038097,-101  request::
> > '/twillCurator/instances,T
> > > > > response:: v{}
> > > > >
> > > > > 18:22:29.969 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.970 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.970 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.971 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/examples/instances
> > > > > serverPath:/examples/instances finished:false header:: 7,12
> > > > replyHeader::
> > > > > 7,257698038097,-101  request:: '/examples/instances,T  response::
> v{}
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.972 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > > > > serverPath:/storm/instances finished:false header:: 8,12
> > replyHeader::
> > > > > 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
> > > > >
> > > > > 18:22:29.973 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.974 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.975 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.975 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> > > > > clientPath:/MySriTwillApplication/instances
> > > > > serverPath:/MySriTwillApplication/instances finished:false header::
> > > 9,12
> > > > > replyHeader:: 9,257698038097,0  request::
> > > > > '/MySriTwillApplication/instances,T  response::
> > > > >
> > > > >
> > > >
> > >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.976 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.977 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.978 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > > sessionid:0x1480e24ced00003, packet::
> clientPath:/zookeeper/instances
> > > > > serverPath:/zookeeper/instances finished:false header:: 10,3
> > > > replyHeader::
> > > > > 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > > > >
> > > > > 18:22:29.978 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.989 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > > configuration: java.lang.SecurityException: Unable to locate a
> login
> > > > > configuration
> > > > >
> > > > > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils -
> > Security
> > > is
> > > > > not enabled
> > > > >
> > > > >
> > > > >
> > > > > Thanks and regards,
> > > > >
> > > > > Srini
> > > > >
> > > >
> > >
> >
>

Re: Debugging API using eclipse

Posted by Srinivas Reddy Kancharla <ge...@gmail.com>.
When i try to launch the program from eclipse, I get this message:

Aug 26, 2014 2:46:04 PM* org.apache.hadoop.yarn.client.RMProxy*
createRMProxy

INFO: Connecting to ResourceManager a*t /0.0.0.0:8032 <http://0.0.0.0:8032>*

Aug 26, 2014 2:46:10 PM org.apache.hadoop.ipc.Client$Connection
handleConnectionFailure

INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0
time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
sleepTime=1000 MILLISECONDS)

===

Now when I try to launch from the command line, I am getting message as:

14/08/26 14:31:24 INFO *client.RMProxy*: Connecting to ResourceManager
at */192.168.125.156:8040
<http://192.168.125.156:8040>*


I could see the difference in log messages and the IP getting connected.
Not sure why eclipse is trying for 0.0.0.0:8032 instead of 8040.. Looks
like there is some sort of version mismatch going on. Let me know if you
get some clue out of it.


Thanks and regards,

Srini





On Tue, Aug 26, 2014 at 2:13 PM, Alvin Wang <al...@continuuity.com> wrote:

> Hi Srini,
>
> If your Twill application runs fine even with those log messages, then
> rather than a real issue, it's likely due to some logging level difference
> between running the app from command line and Eclipse. Those
> "o.a.z.client.ZooKeeperSaslClient
> - Could not retrieve login configuration: java.lang.SecurityException:
> Unable to locate a login configuration" messages don't necessarily indicate
> a real issue. It just means that you haven't configured your ZooKeeper
> client to use SASL authentication.
>
> Regards,
> Alvin
>
>
> On Tue, Aug 26, 2014 at 1:41 PM, Srinivas Reddy Kancharla <
> getreddy@gmail.com> wrote:
>
> > Hi Alvin,
> >
> > Thanks for your reply. I didn't set specifically any property to run
> these.
> > As I mentioned, my application runs fine if I launch it from the command
> > line (terminal) but the same application is showing such messages if try
> to
> > launch it from eclipse.
> >
> > Yes, My Twill application runs fine ... I have a setup of 3 ubuntu VMs
> and
> > so I wrote a twill application which is supposed to execute 3 runnables.
> I
> > could one of the one is taking care of application master and other nodes
> > are running those runnables (AbstractTwillRunnable) .
> >
> > To understand more on this workflow, I was trying to debug it using
> eclipse
> > and I am stuck with such messages. Wondering why do we need to setup such
> > properties if it works fine from command line. Is there any issue of
> > mismatch of jar files in classpath?
> >
> >
> > Thanks and regards,
> > Srini
> >
> >
> >
> >
> > On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com>
> wrote:
> >
> > > Hi Srini,
> > >
> > > Taking a look at the ZooKeeperSaslClient source code, it looks like
> these
> > > log messages only appear when the system property
> > > "java.security.auth.login.config" is set
> > > or javax.security.auth.login.Configuration.getConfiguration() is not
> > null.
> > > Can you check if these are set?
> > >
> > > Also, does your Twill application run fine?
> > >
> > > Regards,
> > > Alvin
> > >
> > >
> > > On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> > > getreddy@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > >
> > > > I have been running *successfully* a sample program through my
> *command
> > > > line *passing all required jar files to classpath, but when I am
> trying
> > > to
> > > > launch the same program from *eclipse*, I am getting below connection
> > > error
> > > > messages:
> > > >
> > > >
> > > > ==*18:22:29.900 [YarnTwillRunnerService
> > > > STARTING-SendThread(localhost:2181)] DEBUG
> > > o.a.z.client.ZooKeeperSaslClient
> > > > - Could not retrieve login configuration:
> java.lang.SecurityException:
> > > > Unable to locate a login configuration*
> > > >
> > > > *18:22:29.908 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> complete
> > on
> > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > >
> > > > 18:22:29.909 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > > > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > > localhost:2181
> > > >
> > > > 18:22:29.910 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:36:08.293 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:36:08.293 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for
> > sessionid:
> > > > 0x1480e24ced00006 after 1ms
> > > >
> > > > 18:36:08.293 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > > > handleConnectionFailure
> > > >
> > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> tried
> > 1
> > > > time(s); retry policy is
> > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > sleepTime=1000 MILLISECONDS)
> > > >
> > > > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > > > handleConnectionFailure
> > > >
> > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> tried
> > 2
> > > > time(s); retry policy is
> > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > sleepTime=1000 MILLISECONDS)
> > > >
> > > > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > > > handleConnectionFailure
> > > >
> > > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already
> tried
> > 3
> > > > time(s); retry policy is
> > > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > > sleepTime=1000 MILLISECONDS)
> > > >
> > > > ===
> > > >
> > > > I am wondering if I am missing any settings to be set on eclipse to
> fix
> > > > this issue. Could you please let me know if I need to add anything
> > else.
> > > >
> > > >
> > > > *final* TwillRunnerService *twillRunner* =  *new*
> > YarnTwillRunnerService(
> > > >
> > > >          *new* YarnConfiguration(), "localhost:2181");
> > > >
> > > >         *twillRunner*.startAndWait();
> > > >
> > > >
> > > > During debugging in eclipse, below connection error messages comes as
> > > soon
> > > > as we hit startAndWait() API.
> > > >
> > > >
> > > > Below are the messages in details...
> > > >
> > > > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> > > createRMProxy
> > > >
> > > > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012
> 17:52
> > > GMT
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client environment:host.name
> > =localhost
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.version=1.6.0_45
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> > > > Microsystems Inc.
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:java.home=/opt/jdk1.6.0_45/jre
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > >
> > > >
> > >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > >
> > > >
> > >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> environment:java.io.tmpdir=/tmp
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> environment:java.compiler=<NA>
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
> > > >
> > > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> > > >
> > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:os.version=3.11.0-12-generic
> > > >
> > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client environment:user.name=srini
> > > >
> > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > environment:user.home=/home/srini
> > > >
> > > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Client
> > > > environment:user.dir=/home/srini/workspace/HD4TwillProj
> > > >
> > > > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > > > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > > > connectString=localhost:2181 sessionTimeout=10000
> > watcher=ServiceDelegate
> > > > [STARTING]
> > > >
> > > > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > > > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is
> > > false
> > > >
> > > > 18:22:29.890 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to
> > > server
> > > > localhost/127.0.0.1:2181. Will not attempt to authenticate using
> SASL
> > > > (Unable to locate a login configuration)
> > > >
> > > > 18:22:29.898 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > INFO  org.apache.zookeeper.ClientCnxn - Socket connection established
> > to
> > > > localhost/127.0.0.1:2181, initiating session
> > > >
> > > > 18:22:29.900 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request
> > > sent
> > > > on localhost/127.0.0.1:2181
> > > >
> > > > *18:22:29.900 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration*
> > > >
> > > > *18:22:29.908 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)]
> > > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment
> complete
> > on
> > > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > > > 0x1480e24ced00003, negotiated timeout = 10000*
> > > >
> > > > 18:22:29.909 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > > > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > localhost:2181
> > > >
> > > > 18:22:29.910 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.926 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.927 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.927 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.930 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.931 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.933 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110
> > request::
> > > > '/,,v{s{31,s{'world,'anyone}}},0  response::
> > > >
> > > > 18:22:29.943 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.947 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.948 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.948 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.948 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.949 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.953 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > > finished:false header:: 2,12  replyHeader:: 2,257698038097,0
> request::
> > > > '/,T  response::
> > > >
> > > >
> > >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> > > >
> > > > 18:22:29.955 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.961 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.961 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.962 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.962 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.963 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.963 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.964 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet::
> > > > clientPath:/MyReddyTwillApplication/instances
> > > > serverPath:/MyReddyTwillApplication/instances finished:false header::
> > > 3,12
> > > > replyHeader:: 3,257698038097,0  request::
> > > > '/MyReddyTwillApplication/instances,T  response::
> > > >
> > > >
> > >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> > > >
> > > > 18:22:29.964 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.964 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.964 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.965 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.965 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet::
> > > > clientPath:/MySriniTwillApplication/instances
> > > > serverPath:/MySriniTwillApplication/instances finished:false header::
> > > 4,12
> > > > replyHeader:: 4,257698038097,0  request::
> > > > '/MySriniTwillApplication/instances,T  response::
> > > >
> > > >
> > >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> > > >
> > > > 18:22:29.965 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.966 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.966 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.966 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.967 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > > > serverPath:/zookeeper/instances finished:false header:: 5,12
> > > replyHeader::
> > > > 5,257698038097,-101  request:: '/zookeeper/instances,T  response::
> v{}
> > > >
> > > > 18:22:29.967 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.967 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.967 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.968 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.968 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.969 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet::
> > clientPath:/twillCurator/instances
> > > > serverPath:/twillCurator/instances finished:false header:: 6,12
> > > > replyHeader:: 6,257698038097,-101  request::
> '/twillCurator/instances,T
> > > > response:: v{}
> > > >
> > > > 18:22:29.969 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.970 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.970 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.971 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.972 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/examples/instances
> > > > serverPath:/examples/instances finished:false header:: 7,12
> > > replyHeader::
> > > > 7,257698038097,-101  request:: '/examples/instances,T  response:: v{}
> > > >
> > > > 18:22:29.972 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.972 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.973 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.973 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > > > serverPath:/storm/instances finished:false header:: 8,12
> replyHeader::
> > > > 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
> > > >
> > > > 18:22:29.973 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.974 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.975 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.975 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet::
> > > > clientPath:/MySriTwillApplication/instances
> > > > serverPath:/MySriTwillApplication/instances finished:false header::
> > 9,12
> > > > replyHeader:: 9,257698038097,0  request::
> > > > '/MySriTwillApplication/instances,T  response::
> > > >
> > > >
> > >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> > > >
> > > > 18:22:29.976 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.976 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.976 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.977 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.977 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.977 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.978 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > > > serverPath:/zookeeper/instances finished:false header:: 10,3
> > > replyHeader::
> > > > 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > > >
> > > > 18:22:29.978 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.989 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > > configuration: java.lang.SecurityException: Unable to locate a login
> > > > configuration
> > > >
> > > > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils -
> Security
> > is
> > > > not enabled
> > > >
> > > >
> > > >
> > > > Thanks and regards,
> > > >
> > > > Srini
> > > >
> > >
> >
>

Re: Debugging API using eclipse

Posted by Alvin Wang <al...@continuuity.com>.
Hi Srini,

If your Twill application runs fine even with those log messages, then
rather than a real issue, it's likely due to some logging level difference
between running the app from command line and Eclipse. Those
"o.a.z.client.ZooKeeperSaslClient
- Could not retrieve login configuration: java.lang.SecurityException:
Unable to locate a login configuration" messages don't necessarily indicate
a real issue. It just means that you haven't configured your ZooKeeper
client to use SASL authentication.

Regards,
Alvin


On Tue, Aug 26, 2014 at 1:41 PM, Srinivas Reddy Kancharla <
getreddy@gmail.com> wrote:

> Hi Alvin,
>
> Thanks for your reply. I didn't set specifically any property to run these.
> As I mentioned, my application runs fine if I launch it from the command
> line (terminal) but the same application is showing such messages if try to
> launch it from eclipse.
>
> Yes, My Twill application runs fine ... I have a setup of 3 ubuntu VMs and
> so I wrote a twill application which is supposed to execute 3 runnables. I
> could one of the one is taking care of application master and other nodes
> are running those runnables (AbstractTwillRunnable) .
>
> To understand more on this workflow, I was trying to debug it using eclipse
> and I am stuck with such messages. Wondering why do we need to setup such
> properties if it works fine from command line. Is there any issue of
> mismatch of jar files in classpath?
>
>
> Thanks and regards,
> Srini
>
>
>
>
> On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com> wrote:
>
> > Hi Srini,
> >
> > Taking a look at the ZooKeeperSaslClient source code, it looks like these
> > log messages only appear when the system property
> > "java.security.auth.login.config" is set
> > or javax.security.auth.login.Configuration.getConfiguration() is not
> null.
> > Can you check if these are set?
> >
> > Also, does your Twill application run fine?
> >
> > Regards,
> > Alvin
> >
> >
> > On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> > getreddy@gmail.com> wrote:
> >
> > > Hi,
> > >
> > >
> > > I have been running *successfully* a sample program through my *command
> > > line *passing all required jar files to classpath, but when I am trying
> > to
> > > launch the same program from *eclipse*, I am getting below connection
> > error
> > > messages:
> > >
> > >
> > > ==*18:22:29.900 [YarnTwillRunnerService
> > > STARTING-SendThread(localhost:2181)] DEBUG
> > o.a.z.client.ZooKeeperSaslClient
> > > - Could not retrieve login configuration: java.lang.SecurityException:
> > > Unable to locate a login configuration*
> > >
> > > *18:22:29.908 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete
> on
> > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > > 0x1480e24ced00003, negotiated timeout = 10000*
> > >
> > > 18:22:29.909 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > > localhost:2181
> > >
> > > 18:22:29.910 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:36:08.293 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:36:08.293 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for
> sessionid:
> > > 0x1480e24ced00006 after 1ms
> > >
> > > 18:36:08.293 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > > handleConnectionFailure
> > >
> > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried
> 1
> > > time(s); retry policy is
> > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > sleepTime=1000 MILLISECONDS)
> > >
> > > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > > handleConnectionFailure
> > >
> > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried
> 2
> > > time(s); retry policy is
> > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > sleepTime=1000 MILLISECONDS)
> > >
> > > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > > handleConnectionFailure
> > >
> > > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried
> 3
> > > time(s); retry policy is
> > RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > > sleepTime=1000 MILLISECONDS)
> > >
> > > ===
> > >
> > > I am wondering if I am missing any settings to be set on eclipse to fix
> > > this issue. Could you please let me know if I need to add anything
> else.
> > >
> > >
> > > *final* TwillRunnerService *twillRunner* =  *new*
> YarnTwillRunnerService(
> > >
> > >          *new* YarnConfiguration(), "localhost:2181");
> > >
> > >         *twillRunner*.startAndWait();
> > >
> > >
> > > During debugging in eclipse, below connection error messages comes as
> > soon
> > > as we hit startAndWait() API.
> > >
> > >
> > > Below are the messages in details...
> > >
> > > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> > createRMProxy
> > >
> > > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52
> > GMT
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:host.name
> =localhost
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> environment:java.version=1.6.0_45
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> > > Microsystems Inc.
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:java.home=/opt/jdk1.6.0_45/jre
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > >
> > >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > >
> > >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/tmp
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
> > >
> > > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> > >
> > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:os.version=3.11.0-12-generic
> > >
> > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client environment:user.name=srini
> > >
> > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> environment:user.home=/home/srini
> > >
> > > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Client
> > > environment:user.dir=/home/srini/workspace/HD4TwillProj
> > >
> > > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > > connectString=localhost:2181 sessionTimeout=10000
> watcher=ServiceDelegate
> > > [STARTING]
> > >
> > > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is
> > false
> > >
> > > 18:22:29.890 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to
> > server
> > > localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
> > > (Unable to locate a login configuration)
> > >
> > > 18:22:29.898 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > INFO  org.apache.zookeeper.ClientCnxn - Socket connection established
> to
> > > localhost/127.0.0.1:2181, initiating session
> > >
> > > 18:22:29.900 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request
> > sent
> > > on localhost/127.0.0.1:2181
> > >
> > > *18:22:29.900 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration*
> > >
> > > *18:22:29.908 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)]
> > > INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete
> on
> > > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > > 0x1480e24ced00003, negotiated timeout = 10000*
> > >
> > > 18:22:29.909 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> localhost:2181
> > >
> > > 18:22:29.910 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.926 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.927 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.927 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.930 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.931 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.933 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110
> request::
> > > '/,,v{s{31,s{'world,'anyone}}},0  response::
> > >
> > > 18:22:29.943 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.947 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.948 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.948 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.948 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.949 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.953 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > > finished:false header:: 2,12  replyHeader:: 2,257698038097,0  request::
> > > '/,T  response::
> > >
> > >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> > >
> > > 18:22:29.955 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.961 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.961 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.962 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.962 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.963 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.963 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.964 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet::
> > > clientPath:/MyReddyTwillApplication/instances
> > > serverPath:/MyReddyTwillApplication/instances finished:false header::
> > 3,12
> > > replyHeader:: 3,257698038097,0  request::
> > > '/MyReddyTwillApplication/instances,T  response::
> > >
> > >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> > >
> > > 18:22:29.964 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.964 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.964 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.965 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.965 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet::
> > > clientPath:/MySriniTwillApplication/instances
> > > serverPath:/MySriniTwillApplication/instances finished:false header::
> > 4,12
> > > replyHeader:: 4,257698038097,0  request::
> > > '/MySriniTwillApplication/instances,T  response::
> > >
> > >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> > >
> > > 18:22:29.965 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.966 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.966 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.966 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.967 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > > serverPath:/zookeeper/instances finished:false header:: 5,12
> > replyHeader::
> > > 5,257698038097,-101  request:: '/zookeeper/instances,T  response:: v{}
> > >
> > > 18:22:29.967 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.967 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.967 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.968 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.968 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.969 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet::
> clientPath:/twillCurator/instances
> > > serverPath:/twillCurator/instances finished:false header:: 6,12
> > > replyHeader:: 6,257698038097,-101  request:: '/twillCurator/instances,T
> > > response:: v{}
> > >
> > > 18:22:29.969 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.970 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.970 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.971 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.972 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/examples/instances
> > > serverPath:/examples/instances finished:false header:: 7,12
> > replyHeader::
> > > 7,257698038097,-101  request:: '/examples/instances,T  response:: v{}
> > >
> > > 18:22:29.972 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.972 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.973 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.973 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > > serverPath:/storm/instances finished:false header:: 8,12  replyHeader::
> > > 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
> > >
> > > 18:22:29.973 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.974 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.975 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.975 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet::
> > > clientPath:/MySriTwillApplication/instances
> > > serverPath:/MySriTwillApplication/instances finished:false header::
> 9,12
> > > replyHeader:: 9,257698038097,0  request::
> > > '/MySriTwillApplication/instances,T  response::
> > >
> > >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> > >
> > > 18:22:29.976 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.976 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.976 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.977 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.977 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.977 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.978 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > > serverPath:/zookeeper/instances finished:false header:: 10,3
> > replyHeader::
> > > 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
> > >
> > > 18:22:29.978 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.989 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > > configuration: java.lang.SecurityException: Unable to locate a login
> > > configuration
> > >
> > > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils - Security
> is
> > > not enabled
> > >
> > >
> > >
> > > Thanks and regards,
> > >
> > > Srini
> > >
> >
>

Re: Debugging API using eclipse

Posted by Srinivas Reddy Kancharla <ge...@gmail.com>.
Hi Alvin,

Thanks for your reply. I didn't set specifically any property to run these.
As I mentioned, my application runs fine if I launch it from the command
line (terminal) but the same application is showing such messages if try to
launch it from eclipse.

Yes, My Twill application runs fine ... I have a setup of 3 ubuntu VMs and
so I wrote a twill application which is supposed to execute 3 runnables. I
could one of the one is taking care of application master and other nodes
are running those runnables (AbstractTwillRunnable) .

To understand more on this workflow, I was trying to debug it using eclipse
and I am stuck with such messages. Wondering why do we need to setup such
properties if it works fine from command line. Is there any issue of
mismatch of jar files in classpath?


Thanks and regards,
Srini




On Tue, Aug 26, 2014 at 1:01 PM, Alvin Wang <al...@continuuity.com> wrote:

> Hi Srini,
>
> Taking a look at the ZooKeeperSaslClient source code, it looks like these
> log messages only appear when the system property
> "java.security.auth.login.config" is set
> or javax.security.auth.login.Configuration.getConfiguration() is not null.
> Can you check if these are set?
>
> Also, does your Twill application run fine?
>
> Regards,
> Alvin
>
>
> On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
> getreddy@gmail.com> wrote:
>
> > Hi,
> >
> >
> > I have been running *successfully* a sample program through my *command
> > line *passing all required jar files to classpath, but when I am trying
> to
> > launch the same program from *eclipse*, I am getting below connection
> error
> > messages:
> >
> >
> > ==*18:22:29.900 [YarnTwillRunnerService
> > STARTING-SendThread(localhost:2181)] DEBUG
> o.a.z.client.ZooKeeperSaslClient
> > - Could not retrieve login configuration: java.lang.SecurityException:
> > Unable to locate a login configuration*
> >
> > *18:22:29.908 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
> > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > 0x1480e24ced00003, negotiated timeout = 10000*
> >
> > 18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> > INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> > localhost:2181
> >
> > 18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> > 0x1480e24ced00006 after 1ms
> >
> > 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> > handleConnectionFailure
> >
> > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1
> > time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > sleepTime=1000 MILLISECONDS)
> >
> > Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> > handleConnectionFailure
> >
> > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2
> > time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > sleepTime=1000 MILLISECONDS)
> >
> > Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> > handleConnectionFailure
> >
> > INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 3
> > time(s); retry policy is
> RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> > sleepTime=1000 MILLISECONDS)
> >
> > ===
> >
> > I am wondering if I am missing any settings to be set on eclipse to fix
> > this issue. Could you please let me know if I need to add anything else.
> >
> >
> > *final* TwillRunnerService *twillRunner* =  *new* YarnTwillRunnerService(
> >
> >          *new* YarnConfiguration(), "localhost:2181");
> >
> >         *twillRunner*.startAndWait();
> >
> >
> > During debugging in eclipse, below connection error messages comes as
> soon
> > as we hit startAndWait() API.
> >
> >
> > Below are the messages in details...
> >
> > Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy
> createRMProxy
> >
> > INFO: Connecting to ResourceManager at /0.0.0.0:8032
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> > environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52
> GMT
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:host.name=localhost
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.6.0_45
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> > Microsystems Inc.
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> > environment:java.home=/opt/jdk1.6.0_45/jre
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> >
> >
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> >
> >
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/tmp
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
> >
> > 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
> >
> > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> > environment:os.version=3.11.0-12-generic
> >
> > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:user.name=srini
> >
> > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client environment:user.home=/home/srini
> >
> > 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Client
> > environment:user.dir=/home/srini/workspace/HD4TwillProj
> >
> > 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> > org.apache.zookeeper.ZooKeeper - Initiating client connection,
> > connectString=localhost:2181 sessionTimeout=10000 watcher=ServiceDelegate
> > [STARTING]
> >
> > 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> > org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is
> false
> >
> > 18:22:29.890 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to
> server
> > localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
> > (Unable to locate a login configuration)
> >
> > 18:22:29.898 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > INFO  org.apache.zookeeper.ClientCnxn - Socket connection established to
> > localhost/127.0.0.1:2181, initiating session
> >
> > 18:22:29.900 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request
> sent
> > on localhost/127.0.0.1:2181
> >
> > *18:22:29.900 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration*
> >
> > *18:22:29.908 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)]
> > INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
> > server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> > 0x1480e24ced00003, negotiated timeout = 10000*
> >
> > 18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> > o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper: localhost:2181
> >
> > 18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.926 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.930 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.931 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.933 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > finished:false header:: 1,1  replyHeader:: 1,257698038097,-110  request::
> > '/,,v{s{31,s{'world,'anyone}}},0  response::
> >
> > 18:22:29.943 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.947 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.949 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.953 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> > finished:false header:: 2,12  replyHeader:: 2,257698038097,0  request::
> > '/,T  response::
> >
> >
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
> >
> > 18:22:29.955 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet::
> > clientPath:/MyReddyTwillApplication/instances
> > serverPath:/MyReddyTwillApplication/instances finished:false header::
> 3,12
> > replyHeader:: 3,257698038097,0  request::
> > '/MyReddyTwillApplication/instances,T  response::
> >
> >
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
> >
> > 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet::
> > clientPath:/MySriniTwillApplication/instances
> > serverPath:/MySriniTwillApplication/instances finished:false header::
> 4,12
> > replyHeader:: 4,257698038097,0  request::
> > '/MySriniTwillApplication/instances,T  response::
> >
> >
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
> >
> > 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > serverPath:/zookeeper/instances finished:false header:: 5,12
> replyHeader::
> > 5,257698038097,-101  request:: '/zookeeper/instances,T  response:: v{}
> >
> > 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/twillCurator/instances
> > serverPath:/twillCurator/instances finished:false header:: 6,12
> > replyHeader:: 6,257698038097,-101  request:: '/twillCurator/instances,T
> > response:: v{}
> >
> > 18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.971 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/examples/instances
> > serverPath:/examples/instances finished:false header:: 7,12
> replyHeader::
> > 7,257698038097,-101  request:: '/examples/instances,T  response:: v{}
> >
> > 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> > serverPath:/storm/instances finished:false header:: 8,12  replyHeader::
> > 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
> >
> > 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.974 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet::
> > clientPath:/MySriTwillApplication/instances
> > serverPath:/MySriTwillApplication/instances finished:false header:: 9,12
> > replyHeader:: 9,257698038097,0  request::
> > '/MySriTwillApplication/instances,T  response::
> >
> >
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
> >
> > 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> > sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> > serverPath:/zookeeper/instances finished:false header:: 10,3
> replyHeader::
> > 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
> >
> > 18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.989 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> > DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> > configuration: java.lang.SecurityException: Unable to locate a login
> > configuration
> >
> > 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils - Security is
> > not enabled
> >
> >
> >
> > Thanks and regards,
> >
> > Srini
> >
>

Re: Debugging API using eclipse

Posted by Alvin Wang <al...@continuuity.com>.
Hi Srini,

Taking a look at the ZooKeeperSaslClient source code, it looks like these
log messages only appear when the system property
"java.security.auth.login.config" is set
or javax.security.auth.login.Configuration.getConfiguration() is not null.
Can you check if these are set?

Also, does your Twill application run fine?

Regards,
Alvin


On Mon, Aug 25, 2014 at 6:37 PM, Srinivas Reddy Kancharla <
getreddy@gmail.com> wrote:

> Hi,
>
>
> I have been running *successfully* a sample program through my *command
> line *passing all required jar files to classpath, but when I am trying to
> launch the same program from *eclipse*, I am getting below connection error
> messages:
>
>
> ==*18:22:29.900 [YarnTwillRunnerService
> STARTING-SendThread(localhost:2181)] DEBUG o.a.z.client.ZooKeeperSaslClient
> - Could not retrieve login configuration: java.lang.SecurityException:
> Unable to locate a login configuration*
>
> *18:22:29.908 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
> server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> 0x1480e24ced00003, negotiated timeout = 10000*
>
> 18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread]
> INFO  o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper:
> localhost:2181
>
> 18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid:
> 0x1480e24ced00006 after 1ms
>
> 18:36:08.293 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> Aug 25, 2014 6:36:08 PM org.apache.hadoop.ipc.Client$Connection
> handleConnectionFailure
>
> INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 1
> time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)
>
> Aug 25, 2014 6:36:09 PM org.apache.hadoop.ipc.Client$Connection
> handleConnectionFailure
>
> INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 2
> time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)
>
> Aug 25, 2014 6:36:10 PM org.apache.hadoop.ipc.Client$Connection
> handleConnectionFailure
>
> INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 3
> time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)
>
> ===
>
> I am wondering if I am missing any settings to be set on eclipse to fix
> this issue. Could you please let me know if I need to add anything else.
>
>
> *final* TwillRunnerService *twillRunner* =  *new* YarnTwillRunnerService(
>
>          *new* YarnConfiguration(), "localhost:2181");
>
>         *twillRunner*.startAndWait();
>
>
> During debugging in eclipse, below connection error messages comes as soon
> as we hit startAndWait() API.
>
>
> Below are the messages in details...
>
> Aug 25, 2014 6:22:29 PM org.apache.hadoop.yarn.client.RMProxy createRMProxy
>
> INFO: Connecting to ResourceManager at /0.0.0.0:8032
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
> environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:host.name=localhost
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.6.0_45
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Sun
> Microsystems Inc.
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
> environment:java.home=/opt/jdk1.6.0_45/jre
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
>
> environment:java.class.path=/home/srini/workspace/HD4TwillProj/bin:/home/srini/twill/hd4twilljars/curator-client-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-framework-2.4.0.jar:/home/srini/twill/hd4twilljars/curator-recipes-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-common-2.4.0.jar:/home/srini/twill/hd4twilljars/twill-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-common-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-api-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-discovery-core-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-ext-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-yarn-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/twill-zookeeper-0.3.0-incubating-SNAPSHOT.jar:/home/srini/twill/hd4twilljars/hadoop-yarn-api-2.4.0.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.7.jar:/home/srini/twill/hd4twilljars/guava-11.0.2.jar:/home/srini/twill/hd4twilljars/guava-13.0.1.jar:/home/srini/twill/hd4twilljars/commons-logging-1.1.1.jar:/home/srini/twill/hd4twilljars/commons-lang-2.5.jar:/home/srini/twill/hd4twilljars/asm-all-4.0.jar:/home/srini/twill/hd4twilljars/commons-configuration-1.6.jar:/home/srini/twill/hd4twilljars/gson-2.2.4.jar:/home/srini/twill/hd4twilljars/hadoop-auth-2.4.0.jar:/home/srini/twill/hd4twilljars/hadoop-hdfs-2.4.0.jar:/home/srini/twill/hd4twilljars/jopt-simple-3.2.jar:/home/srini/twill/hd4twilljars/kafka_2.8.0-0.8.0.jar:/home/srini/twill/hd4twilljars/kafka_2.10-0.8.0.jar:/home/srini/twill/hd4twilljars/logback-classic-1.0.9.jar:/home/srini/twill/hd4twilljars/logback-core-1.0.9.jar:/home/srini/twill/hd4twilljars/metrics-core-2.2.0.jar:/home/srini/twill/hd4twilljars/scala-library-2.10.1.jar:/home/srini/twill/hd4twilljars/slf4j-api-1.7.5.jar:/home/srini/twill/hd4twilljars/zkclient-0.3.jar:/home/srini/hadoop-2.4.0/share/hadoop/common/lib/commons-collections-3.2.1.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-api-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-client-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-common-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-tests-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.4.0.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/zookeeper-3.4.5.jar:/home/srini/hadoop-2.4.0/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
>
> environment:java.library.path=/opt/jdk1.6.0_45/jre/lib/amd64/server:/opt/jdk1.6.0_45/jre/lib/amd64:/opt/jdk1.6.0_45/jre/../lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=/tmp
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA>
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:os.name=Linux
>
> 18:22:29.853 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64
>
> 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
> environment:os.version=3.11.0-12-generic
>
> 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:user.name=srini
>
> 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client environment:user.home=/home/srini
>
> 18:22:29.854 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Client
> environment:user.dir=/home/srini/workspace/HD4TwillProj
>
> 18:22:29.855 [YarnTwillRunnerService STARTING] INFO
> org.apache.zookeeper.ZooKeeper - Initiating client connection,
> connectString=localhost:2181 sessionTimeout=10000 watcher=ServiceDelegate
> [STARTING]
>
> 18:22:29.860 [YarnTwillRunnerService STARTING] DEBUG
> org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false
>
> 18:22:29.890 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server
> localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
> (Unable to locate a login configuration)
>
> 18:22:29.898 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> INFO  org.apache.zookeeper.ClientCnxn - Socket connection established to
> localhost/127.0.0.1:2181, initiating session
>
> 18:22:29.900 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request sent
> on localhost/127.0.0.1:2181
>
> *18:22:29.900 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration*
>
> *18:22:29.908 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on
> server localhost/127.0.0.1:2181 <http://127.0.0.1:2181>, sessionid =
> 0x1480e24ced00003, negotiated timeout = 10000*
>
> 18:22:29.909 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.909 [YarnTwillRunnerService STARTING-EventThread] INFO
> o.a.t.i.z.DefaultZKClientService - Connected to ZooKeeper: localhost:2181
>
> 18:22:29.910 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.926 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.927 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.930 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.931 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.933 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> finished:false header:: 1,1  replyHeader:: 1,257698038097,-110  request::
> '/,,v{s{31,s{'world,'anyone}}},0  response::
>
> 18:22:29.943 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.947 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.948 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.949 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.953 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/ serverPath:/
> finished:false header:: 2,12  replyHeader:: 2,257698038097,0  request::
> '/,T  response::
>
> v{'MyReddyTwillApplication,'MySriniTwillApplication,'zookeeper,'twillCurator,'examples,'storm,'MySriTwillApplication},s{0,0,0,0,0,21,0,0,0,7,176093659473}
>
> 18:22:29.955 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.961 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.962 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.963 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet::
> clientPath:/MyReddyTwillApplication/instances
> serverPath:/MyReddyTwillApplication/instances finished:false header:: 3,12
> replyHeader:: 3,257698038097,0  request::
> '/MyReddyTwillApplication/instances,T  response::
>
> v{},s{137438953667,137438953667,1400624750151,1400624750151,0,52,0,0,0,0,257698038062}
>
> 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.964 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet::
> clientPath:/MySriniTwillApplication/instances
> serverPath:/MySriniTwillApplication/instances finished:false header:: 4,12
> replyHeader:: 4,257698038097,0  request::
> '/MySriniTwillApplication/instances,T  response::
>
> v{},s{137438953636,137438953636,1400624405980,1400624405980,0,2,0,0,0,0,137438953656}
>
> 18:22:29.965 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.966 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> serverPath:/zookeeper/instances finished:false header:: 5,12  replyHeader::
> 5,257698038097,-101  request:: '/zookeeper/instances,T  response:: v{}
>
> 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.967 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.968 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/twillCurator/instances
> serverPath:/twillCurator/instances finished:false header:: 6,12
> replyHeader:: 6,257698038097,-101  request:: '/twillCurator/instances,T
> response:: v{}
>
> 18:22:29.969 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.970 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.971 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/examples/instances
> serverPath:/examples/instances finished:false header:: 7,12  replyHeader::
> 7,257698038097,-101  request:: '/examples/instances,T  response:: v{}
>
> 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.972 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/storm/instances
> serverPath:/storm/instances finished:false header:: 8,12  replyHeader::
> 8,257698038097,-101  request:: '/storm/instances,T  response:: v{}
>
> 18:22:29.973 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.974 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.975 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet::
> clientPath:/MySriTwillApplication/instances
> serverPath:/MySriTwillApplication/instances finished:false header:: 9,12
> replyHeader:: 9,257698038097,0  request::
> '/MySriTwillApplication/instances,T  response::
>
> v{},s{137438954529,137438954529,1400627887634,1400627887634,0,22,0,0,0,0,154618822953}
>
> 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.976 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.977 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG org.apache.zookeeper.ClientCnxn - Reading reply
> sessionid:0x1480e24ced00003, packet:: clientPath:/zookeeper/instances
> serverPath:/zookeeper/instances finished:false header:: 10,3  replyHeader::
> 10,257698038097,-101  request:: '/zookeeper/instances,T  response::
>
> 18:22:29.978 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.989 [YarnTwillRunnerService STARTING-SendThread(localhost:2181)]
> DEBUG o.a.z.client.ZooKeeperSaslClient - Could not retrieve login
> configuration: java.lang.SecurityException: Unable to locate a login
> configuration
>
> 18:22:29.989 [main] DEBUG o.a.twill.internal.yarn.YarnUtils - Security is
> not enabled
>
>
>
> Thanks and regards,
>
> Srini
>