Bug 1189956

Summary: ZooKeeper client (zkCli.sh) fails to start
Product: [Fedora] Fedora Reporter: Christopher Tubbs <ctubbsii>
Component: zookeeperAssignee: Timothy St. Clair <tstclair>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 21CC: djwinzell, dmitry, ethan, java-sig-commits, jeff, KevinFarshaw, scott.holistic, s, tstclair
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-16 23:01:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
stack trace none

Description Christopher Tubbs 2015-02-06 00:24:27 UTC
Created attachment 988644 [details]
stack trace

Description of problem:
zkCli.sh fails to start, due to classpath issues

Version-Release number of selected component (if applicable):
zookeeper-3.4.6-2.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. yum install zookeeper
2. zkCli.sh

Actual results:
A ClassNotFoundException occurs regarding a log4j LogManager class.

Expected results:
Connect to specified zookeeper service or error message about service not running.

Additional info:
May be related to #1181487

Comment 1 Scott 2015-04-03 13:09:15 UTC
The slf4j/logj4 packages have changed, i.e. split into separate packages, etc, in fc21, and I think it has broken the zookeeper package as built.

Comment 2 Doug Winzell 2015-05-14 14:21:44 UTC
I have confirmed this on Fedora 21.  Even pulled down the apache zookeeper binary tarball with same result.

Comment 3 Christopher Tubbs 2015-06-26 20:25:24 UTC
I'm going to try to revisit this this weekend. I think my previous patch didn't work, because I omitted some dependencies. I'll make another pass.

Comment 4 Doug Winzell 2015-06-27 00:06:58 UTC
Can't find my notes but last week I found a patch for some of the environment scripts that seemed to work for me.  Also added myid which the rpm didn't create.  Will try and dig through my notes for that patch.

Comment 5 KevinFarshaw 2015-09-09 11:36:00 UTC
related 1261458

Comment 6 Christopher Tubbs 2015-10-16 23:01:32 UTC

*** This bug has been marked as a duplicate of bug 1181487 ***