Hi Iain,
You are absolutely correct!!!! Yesterday and I checked my hdfs-site.xml
carefully and saw the trailing space. After I corrected it, the format
command worked. Thanks for your response.
Sincerely,
Donald Nelson
On 07/17/2017 08:00 PM, iain wright wrote:
What is the value for ha.zookeeper.quorum in your cfgs?
The error msg looks like there might be a trailing whitespace or other
character after 2181 preventing from converting str to int
--
Iain Wright
This email message is confidential, intended only for the recipient(s)
named above and may contain information that is privileged, exempt
from disclosure under applicable law. If you are not the intended
recipient, do not disclose or disseminate the message to anyone except
the intended recipient. If you have received this message in error, or
are not the named recipient(s), please immediately notify the sender
by return email, and delete all copies of this message.
On Mon, Jul 17, 2017 at 4:42 AM, Donald Nelson
<[email protected] <mailto:[email protected]>> wrote:
Hello everyone,
I am having a problem with Apache Hadoop 2.8 HA. I am able to to
manual failover but I can't format my ZKnode and receive the
following errors
sessionTimeout=5000
watcher=org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef@22ff4249
17/07/17 13:40:52 FATAL ha.ZKFailoverController: The failover
controller encounters runtime error: java.lang.RuntimeException:
java.lang.NumberFormatException: For input string: "2181 "
17/07/17 13:40:52 FATAL tools.DFSZKFailoverController: Got a fatal
error, exiting now
java.lang.NumberFormatException: For input string: "2181 "
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.apache.zookeeper.client.Co
<http://org.apache.zookeeper.client.Co>nnectStringParser.<init>(ConnectStringParser.java:72)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
at
org.apache.hadoop.ha.ActiveStandbyElector.createZooKeeper(ActiveStandbyElector.java:706)
at
org.apache.hadoop.ha.ActiveStandbyElector.connectToZooKeeper(ActiveStandbyElector.java:685)
at
org.apache.hadoop.ha.ActiveStandbyElector.createConnection(ActiveStandbyElector.java:844)
at
org.apache.hadoop.ha.ActiveStandbyElector.<init>(ActiveStandbyElector.java:271)
at
org.apache.hadoop.ha.ActiveStandbyElector.<init>(ActiveStandbyElector.java:214)
at
org.apache.hadoop.ha.ZKFailoverController.initZK(ZKFailoverController.java:354)
at
org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverController.java:195)
at
org.apache.hadoop.ha.ZKFailoverController.access$000(ZKFailoverController.java:61)
at
org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:175)
at
org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverController.java:171)
at
org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal(SecurityUtil.java:455)
at
org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverController.java:171)
at
org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:193)
17/07/17 13:40:52 INFO tools.DFSZKFailoverController: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down DFSZKFailoverController a
I have one leader and two followers using zookeepers running on
port 2181. Any help would be appreciated.
Regards,
Donald Nelson
On 07/17/2017 01:36 PM, [email protected]
<mailto:[email protected]> wrote:
Hi! This is the ezmlm program. I'm managing the
[email protected] <mailto:[email protected]> mailing list.
To confirm that you would like
[email protected] <mailto:[email protected]>
added to the announce mailing list, please send
a short reply to this address:
announce-sc.1500291382.enmadeoohcaimoamdnld-donald.nelson=uniscon...@apache.org
<mailto:[email protected]>
Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.
This confirmation serves two purposes. First, it verifies that
I am able
to get mail through to you. Second, it protects you in case
someone
forges a subscription request in your name.
Please note that ALL Apache dev- and user- mailing lists are
publicly
archived. Do familiarize yourself with Apache's public
archive policy at
http://www.apache.org/foundation/public-archives.html
<http://www.apache.org/foundation/public-archives.html>
prior to subscribing and posting messages to
[email protected] <mailto:[email protected]>.
If you're not sure whether or not the policy applies to this
mailing list,
assume it does unless the list name contains the word
"private" in it.
Some mail programs are broken and cannot handle long
addresses. If you
cannot reply to this request, instead send a message to
<[email protected]
<mailto:[email protected]>> and put the
entire address listed above into the "Subject:" line.
--- Administrative commands for the announce list ---
I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:
To subscribe to the list, send a message to:
<[email protected]
<mailto:[email protected]>>
To remove your address from the list, send a message to:
<[email protected]
<mailto:[email protected]>>
Send mail to the following for info and FAQ for this list:
<[email protected] <mailto:[email protected]>>
<[email protected] <mailto:[email protected]>>
Similar addresses exist for the digest list:
<[email protected]
<mailto:[email protected]>>
<[email protected]
<mailto:[email protected]>>
To get messages 123 through 145 (a maximum of 100 per
request), mail:
<[email protected]
<mailto:[email protected]>>
To get an index with subject and author for messages 123-456 ,
mail:
<[email protected]
<mailto:[email protected]>>
They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.
To receive all messages with the same subject as message 12345,
send a short message to:
<[email protected]
<mailto:[email protected]>>
The messages should contain one line or word of text to avoid
being
treated as sp@m, but I will ignore their content.
Only the ADDRESS you send to is important.
You can start a subscription for an alternate address,
for example "[email protected]", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<[email protected]
<mailto:[email protected]>>
To stop subscription for this address, mail:
<[email protected]
<mailto:[email protected]>>
In both cases, I'll send a confirmation message to that
address. When
you receive it, simply reply to it to complete your subscription.
If despite following these instructions, you do not get the
desired results, please contact my owner at
[email protected] <mailto:[email protected]>.
Please be patient, my owner is a
lot slower than I am ;-)
--- Enclosed is a copy of the request I received.
Return-Path: <[email protected]
<mailto:[email protected]>>
Received: (qmail 78704 invoked by uid 99); 17 Jul 2017
11:36:22 -0000
Received: from pnap-us-west-generic-nat.apache.org
<http://pnap-us-west-generic-nat.apache.org> (HELO
spamd3-us-west.apache.org <http://spamd3-us-west.apache.org>)
(209.188.14.142)
by apache.org <http://apache.org> (qpsmtpd/0.29) with
ESMTP; Mon, 17 Jul 2017 11:36:22 +0000
Received: from localhost (localhost [127.0.0.1])
by spamd3-us-west.apache.org
<http://spamd3-us-west.apache.org> (ASF Mail Server at
spamd3-us-west.apache.org <http://spamd3-us-west.apache.org>)
with ESMTP id C0DCE1805A3
for <[email protected]
<mailto:[email protected]>>; Mon, 17 Jul 2017
11:36:21 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at
spamd3-us-west.apache.org <http://spamd3-us-west.apache.org>
X-Spam-Flag: NO
X-Spam-Score: -1.328
X-Spam-Level:
X-Spam-Status: No, score=-1.328 tagged_above=-999 required=6.31
tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8,
RCVD_IN_SORBS_SPAM=0.5, SPF_SOFTFAIL=0.972]
autolearn=disabled
Received: from mx1-lw-eu.apache.org
<http://mx1-lw-eu.apache.org> ([10.40.0.8])
by localhost (spamd3-us-west.apache.org
<http://spamd3-us-west.apache.org> [10.40.0.10]) (amavisd-new,
port 10024)
with ESMTP id kuCfwnNc16tZ for
<[email protected]
<mailto:[email protected]>>;
Mon, 17 Jul 2017 11:36:18 +0000 (UTC)
Received: from mout.kundenserver.de
<http://mout.kundenserver.de> (mout.kundenserver.de
<http://mout.kundenserver.de> [217.72.192.73
<tel:%5B217.72.192.73>])
by mx1-lw-eu.apache.org <http://mx1-lw-eu.apache.org>
(ASF Mail Server at mx1-lw-eu.apache.org
<http://mx1-lw-eu.apache.org>) with ESMTPS id AA2505FC3D
for <[email protected]
<mailto:[email protected]>>; Mon, 17 Jul 2017
11:36:17 +0000 (UTC)
Received: from [192.168.178.101] ([82.135.29.34]) by
mrelayeu.kundenserver.de <http://mrelayeu.kundenserver.de>
(mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id
0MSJ5v-1d5L7I2NwJ-00TXFH for <[email protected]
<mailto:[email protected]>>; Mon, 17 Jul
2017 13:36:11 +0200
To: [email protected]
<mailto:[email protected]>
From: Donald Nelson <[email protected]
<mailto:[email protected]>>
Subject: subscribe
Message-ID: <[email protected]
<mailto:[email protected]>>
Date: Mon, 17 Jul 2017 13:36:11 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
Gecko/20100101
Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID:
V03:K0:yOgnVs8Ja3AfPvkLhpUhwwJcH8PoWQls+z+muI9pPkNTdRZXkZx
bBFH7dnBylhg7Lk1FRBdRvsH0mzOMerKHZ6VxVcan6U4AU2Kokpccg99TKP03VSJs/yX21/
0dK9oG1K5pNLagRgcjNgWPtEvwFEnSnfwqt75dy786Sx++b33Lgl7QekUJOr1clDuujEp5u
N5XqpffC2D+bplC243iSA==
X-UI-Out-Filterresults:
notjunk:1;V01:K0:cVYmvl59enQ=:wneOIajG9be0BPS8cSTOks
K0iEYMr8tULYsWy+/1pFRiKutWjIRKSuXuPz2LL9OGOLKLZvv7AIX3sNJN76oaUTFHglJ8jX7
cBVr0ZFlSvOMJcACaMN9t/VTN7ZXDv7mzDS06xNmRN7JVVSZWnp0skggWCJ57CgbWcNb7ImcH
swDrhyE3ic2ICr2Df4x5gjinjyVsnZyoFk7Pw+G9Bm44O0W8/PoHcGzsGLpwWheHFI598rYTm
U6Vk+sEtM6zzmQL1OgFk1zZM2vZRl8EIa9U7GclGtLxaimwjV8ku4ekP+iYFsUOsqbqFiHbRj
wAtvKmmyG4PFzVz03Nl5nBZFdVhetbOefsfd0NZKTaXwiMcwJKHLE5k6FlUNWyiA8Mchjfpmn
kdCnAmfMHzSM2StfsSL8bOIPTTUHZczYYEvG1UjhlTacWv8MjFU37IOnNuC3LqcHb3tk35RYR
WYk4h8ILQxQAyDzUx68lfzEPoR10bALlqX/PDax3S1iXTqGavpgVDj9nzYeUIcP6K0ImdJBJY
UZczvLJHXOzNgF77R+UZ3lnnrH/pMFsUlzRO3B/dt5dsd7tdQ2jrkZ3CXYpLGcSG7kpnBs336
YxrpD5IR6ycG6GaNqqdsx2M0ZpUb0wbdF8tejuKhjyeYsSKaiDA4PsyfQhi6z0V5VhgyproPB
BWqHurokuhNQwNMsh/rraehjdroVeW6fssOcFTQcEK1sMpdYTDXe6Kyxnyf0FWiOV6myL0Jk1
q8RuKYuy3W354BwVi0ec56WT4xmYQKlLuK4IUgs4McLv+B/Fl9gaoBAdigc=
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>