Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACDAA17AC6 for ; Mon, 18 May 2015 19:07:15 +0000 (UTC) Received: (qmail 75476 invoked by uid 500); 18 May 2015 19:07:15 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 75399 invoked by uid 500); 18 May 2015 19:07:15 -0000 Mailing-List: contact user-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.apache.org Delivered-To: mailing list user@curator.apache.org Received: (qmail 75389 invoked by uid 99); 18 May 2015 19:07:15 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 May 2015 19:07:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 95563C5A54 for ; Mon, 18 May 2015 19:07:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.98 X-Spam-Level: *** X-Spam-Status: No, score=3.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oliCD3dSBS_a for ; Mon, 18 May 2015 19:07:13 +0000 (UTC) Received: from mail16.uhc.com (sp-internet-ext-ply.uhc.com [198.203.175.175]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id DC87C24C67 for ; Mon, 18 May 2015 19:07:11 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.13,454,1427778000"; d="scan'208,217";a="1866024075" Received: from irmelr24.uhc.com (HELO mail16.uhc.com) ([10.177.104.170]) by mail18.uhc.com with ESMTP; 18 May 2015 14:07:03 -0500 X-IronPort-AV: E=Sophos;i="5.13,454,1427778000"; d="scan'208,217";a="1866024065" X-CONF-FOOTER: True Received: from apsep0947.ms.ds.uhc.com ([10.179.216.42]) by mail16.uhc.com with ESMTP; 18 May 2015 14:07:03 -0500 Received: from apswp0428.ms.ds.uhc.com ([fe80::7cb7:a560:d0b0:bc2d]) by APSEP0947.ms.ds.uhc.com ([fe80::4923:b25a:771b:43c4%10]) with mapi id 14.03.0195.001; Mon, 18 May 2015 14:07:03 -0500 From: "Lavoie, John L" To: "user@curator.apache.org" Subject: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode Thread-Topic: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode Thread-Index: AdCRm+ViCh8nNKrLTBqhP9WFeTrMdA== Date: Mon, 18 May 2015 19:07:02 +0000 Message-ID: <0C075FF7C527504E8058F4102A4BAFC52FD839B2@APSWP0428.ms.ds.uhc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.175.224.122] Content-Type: multipart/alternative; boundary="_000_0C075FF7C527504E8058F4102A4BAFC52FD839B2APSWP0428msdsuh_" MIME-Version: 1.0 X-IP-VFilter-R: R --_000_0C075FF7C527504E8058F4102A4BAFC52FD839B2APSWP0428msdsuh_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Our cluster was upgraded to MapR 4.0.1 (from 3.0.1) over the weekend and ou= r app is throwing unexpected exceptions related to ZooKeeper. To eliminate= our own code as the culprit, I am using the Curator PathChildrenCache exam= ple to debug, since our own code is using the PathChildrenCache. There are just a few customizations from the vanilla example code, namely: private static String PATH =3D "/optum/myapp/jobstatus"; private static String connectionString =3D "" And, System.err.println(e); was added to the catch() statement in the setVa= lue method. When running the example we see: $ java -jar zk-test-0.0.1-SNAPSHOT.jar cache.Example An example of using PathChildrenCache. This example is driven by entering c= ommands at the prompt: set : Adds or updates a node with the given name remove : Deletes the node with the given name list: List the nodes/values in the cache quit: Quit the example > list * empty * > set asdf asdf org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =3D N= oNode for /cache.Example/asdf > list * empty * Any ideas? Is this a general ZK issue? Other applications on the cluster a= ppear to be running happily. A more complete stack trace of the error is: [2015-05-18 13:30:53,587] [[analytic-platform-service-2.1.0-SNAPSHOT.150514= 1956].ProcessRequest.async1.04] ERROR KeeperException [com.uhg.optum.acc.sd= k.util.CacheManager] org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =3D N= oNode for /optum/acc/jobstatus/1483e1fe-14e3-4203-b139-41dc4a3b4ad3 at org.apache.zookeeper.KeeperException.create(KeeperException.java= :111) at org.apache.zookeeper.KeeperException.create(KeeperException.java= :51) at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1266) at org.apache.curator.framework.imps.SetDataBuilderImpl$4.call(SetD= ataBuilderImpl.java:260) at org.apache.curator.framework.imps.SetDataBuilderImpl$4.call(SetD= ataBuilderImpl.java:256) at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107) at org.apache.curator.framework.imps.SetDataBuilderImpl.pathInForeg= round(SetDataBuilderImpl.java:252) at org.apache.curator.framework.imps.SetDataBuilderImpl.forPath(Set= DataBuilderImpl.java:239) at org.apache.curator.framework.imps.SetDataBuilderImpl.forPath(Set= DataBuilderImpl.java:39) at com.uhg.optum.acc.sdk.util.CacheManager.set(CacheManager.java:14= 0) Thanks, John Lavoie This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --_000_0C075FF7C527504E8058F4102A4BAFC52FD839B2APSWP0428msdsuh_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

Our cluster was upgraded to MapR 4.0.1 (from 3.0.1) = over the weekend and our app is throwing unexpected exceptions related to Z= ooKeeper.  To eliminate our own code as the culprit, I am using the Cu= rator PathChildrenCache example to debug, since our own code is using the PathChildrenCache.


There are just a few customizations from the vanilla example code, namely:<= o:p>

private static String PATH =3D = "/optum/myapp/jobstatus";

private static String connectionString =3D = "<myconnectionstring>”

And, Sy= stem.err.println(e); was added to the catch() statement in the setValue method.

 

When running the example we see:

$ java -jar zk-test-0.0.1-= SNAPSHOT.jar cache.Example

An example of using PathCh= ildrenCache. This example is driven by entering commands at the prompt:

 

set <name> <value= >: Adds or updates a node with the given name

remove <name>: Delet= es the node with the given name

list: List the nodes/value= s in the cache

quit: Quit the example

 

> list

* empty *

> set asdf asdf

org.apache.zookeeper.Keepe= rException$NoNodeException: KeeperErrorCode =3D NoNode for /cache.Example/a= sdf

> list

* empty *

 

Any ideas? Is this a= general ZK issue?  Other applications on the cluster appear to be run= ning happily.

 

A more complete stac= k trace of the error is:

[2015-05-18 13:30:53,587] = [[analytic-platform-service-2.1.0-SNAPSHOT.1505141956].ProcessRequest.async= 1.04] ERROR KeeperException [com.uhg.optum.acc.sdk.util.CacheManager]<= /o:p>

org.apache.zookeeper.Keepe= rException$NoNodeException: KeeperErrorCode =3D NoNode for /optum/acc/jobst= atus/1483e1fe-14e3-4203-b139-41dc4a3b4ad3

    &n= bsp;   at org.apache.zookeeper.KeeperException.create(KeeperExcep= tion.java:111)

    &n= bsp;   at org.apache.zookeeper.KeeperException.create(KeeperExcep= tion.java:51)

    &n= bsp;   at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1= 266)

    &n= bsp;   at org.apache.curator.framework.imps.SetDataBuilderImpl$4.= call(SetDataBuilderImpl.java:260)

    &n= bsp;   at org.apache.curator.framework.imps.SetDataBuilderImpl$4.= call(SetDataBuilderImpl.java:256)

    &n= bsp;   at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.ja= va:107)

    &n= bsp;   at org.apache.curator.framework.imps.SetDataBuilderImpl.pa= thInForeground(SetDataBuilderImpl.java:252)

    &n= bsp;   at org.apache.curator.framework.imps.SetDataBuilderImpl.fo= rPath(SetDataBuilderImpl.java:239)

    &n= bsp;   at org.apache.curator.framework.imps.SetDataBuilderImpl.fo= rPath(SetDataBuilderImpl.java:39)

    &n= bsp;   at com.uhg.optum.acc.sdk.util.CacheManager.set(CacheManage= r.java:140)

 

 

Thanks,

John Lavoie

 


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended<= br> recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

<= /body> --_000_0C075FF7C527504E8058F4102A4BAFC52FD839B2APSWP0428msdsuh_--