hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iain wright <iainw...@gmail.com>
Subject Re: confirm subscribe to announce@apache.org
Date Mon, 17 Jul 2017 18:00:00 GMT
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 <donald.nelson@uniscon.de>
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.A
> ctiveStandbyElector$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.ConnectStringParser.<init>(Conne
> ctStringParser.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(Ac
> tiveStandbyElector.java:706)
>     at org.apache.hadoop.ha.ActiveStandbyElector.connectToZooKeeper
> (ActiveStandbyElector.java:685)
>     at org.apache.hadoop.ha.ActiveStandbyElector.createConnection(A
> ctiveStandbyElector.java:844)
>     at org.apache.hadoop.ha.ActiveStandbyElector.<init>(ActiveStand
> byElector.java:271)
>     at org.apache.hadoop.ha.ActiveStandbyElector.<init>(ActiveStand
> byElector.java:214)
>     at org.apache.hadoop.ha.ZKFailoverController.initZK(ZKFailoverC
> ontroller.java:354)
>     at org.apache.hadoop.ha.ZKFailoverController.doRun(ZKFailoverCo
> ntroller.java:195)
>     at org.apache.hadoop.ha.ZKFailoverController.access$000(
> ZKFailoverController.java:61)
>     at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverCo
> ntroller.java:175)
>     at org.apache.hadoop.ha.ZKFailoverController$1.run(ZKFailoverCo
> ntroller.java:171)
>     at org.apache.hadoop.security.SecurityUtil.doAsLoginUserOrFatal
> (SecurityUtil.java:455)
>     at org.apache.hadoop.ha.ZKFailoverController.run(ZKFailoverCont
> roller.java:171)
>     at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DF
> SZKFailoverController.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, announce-help@apache.org wrote:
>
>> Hi! This is the ezmlm program. I'm managing the
>> announce@apache.org mailing list.
>>
>> To confirm that you would like
>>
>>     donald.nelson@uniscon.de
>>
>> added to the announce mailing list, please send
>> a short reply to this address:
>>
>>     announce-sc.1500291382.enmadeoohcaimoamdnld-donald.nelson=un
>> iscon.de@apache.org
>>
>> 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
>>
>> prior to subscribing and posting messages to announce@apache.org.
>> 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
>> <announce-request@apache.org> 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:
>>     <announce-subscribe@apache.org>
>>
>> To remove your address from the list, send a message to:
>>     <announce-unsubscribe@apache.org>
>>
>> Send mail to the following for info and FAQ for this list:
>>     <announce-info@apache.org>
>>     <announce-faq@apache.org>
>>
>> Similar addresses exist for the digest list:
>>     <announce-digest-subscribe@apache.org>
>>     <announce-digest-unsubscribe@apache.org>
>>
>> To get messages 123 through 145 (a maximum of 100 per request), mail:
>>     <announce-get.123_145@apache.org>
>>
>> To get an index with subject and author for messages 123-456 , mail:
>>     <announce-index.123_456@apache.org>
>>
>> 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:
>>     <announce-thread.12345@apache.org>
>>
>> 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 "john@host.domain", just add a hyphen and your
>> address (with '=' instead of '@') after the command word:
>> <announce-subscribe-john=host.domain@apache.org>
>>
>> To stop subscription for this address, mail:
>> <announce-unsubscribe-john=host.domain@apache.org>
>>
>> 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
>> announce-owner@apache.org. Please be patient, my owner is a
>> lot slower than I am ;-)
>>
>> --- Enclosed is a copy of the request I received.
>>
>> Return-Path: <donald.nelson@uniscon.de>
>> Received: (qmail 78704 invoked by uid 99); 17 Jul 2017 11:36:22 -0000
>> Received: from pnap-us-west-generic-nat.apache.org (HELO
>> spamd3-us-west.apache.org) (209.188.14.142)
>>      by 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 (ASF Mail Server at
>> spamd3-us-west.apache.org) with ESMTP id C0DCE1805A3
>>         for <announce-subscribe@apache.org>; Mon, 17 Jul 2017 11:36:21
>> +0000 (UTC)
>> X-Virus-Scanned: Debian amavisd-new at 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 ([10.40.0.8])
>>         by localhost (spamd3-us-west.apache.org [10.40.0.10])
>> (amavisd-new, port 10024)
>>         with ESMTP id kuCfwnNc16tZ for <announce-subscribe@apache.org>;
>>         Mon, 17 Jul 2017 11:36:18 +0000 (UTC)
>> Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73
>> ])
>>         by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org)
>> with ESMTPS id AA2505FC3D
>>         for <announce-subscribe@apache.org>; Mon, 17 Jul 2017 11:36:17
>> +0000 (UTC)
>> Received: from [192.168.178.101] ([82.135.29.34]) by
>> mrelayeu.kundenserver.de
>>   (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id
>>   0MSJ5v-1d5L7I2NwJ-00TXFH for <announce-subscribe@apache.org>; Mon, 17
>> Jul
>>   2017 13:36:11 +0200
>> To: announce-subscribe@apache.org
>> From: Donald Nelson <donald.nelson@uniscon.de>
>> Subject: subscribe
>> Message-ID: <3439a702-ec29-dadf-1c23-70bf4ecfe29f@uniscon.de>
>> 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+/1pFRiKutWjIRKSuXuPz2LL9OGOLKLZvv7AIX3sNJN76
>> oaUTFHglJ8jX7
>>   cBVr0ZFlSvOMJcACaMN9t/VTN7ZXDv7mzDS06xNmRN7JVVSZWnp0skggWCJ5
>> 7CgbWcNb7ImcH
>>   swDrhyE3ic2ICr2Df4x5gjinjyVsnZyoFk7Pw+G9Bm44O0W8/PoHcGzsGLpw
>> WheHFI598rYTm
>>   U6Vk+sEtM6zzmQL1OgFk1zZM2vZRl8EIa9U7GclGtLxaimwjV8ku4ekP+iYF
>> sUOsqbqFiHbRj
>>   wAtvKmmyG4PFzVz03Nl5nBZFdVhetbOefsfd0NZKTaXwiMcwJKHLE5k6FlUN
>> WyiA8Mchjfpmn
>>   kdCnAmfMHzSM2StfsSL8bOIPTTUHZczYYEvG1UjhlTacWv8MjFU37IOnNuC3
>> LqcHb3tk35RYR
>>   WYk4h8ILQxQAyDzUx68lfzEPoR10bALlqX/PDax3S1iXTqGavpgVDj9nzYeU
>> IcP6K0ImdJBJY
>>   UZczvLJHXOzNgF77R+UZ3lnnrH/pMFsUlzRO3B/dt5dsd7tdQ2jrkZ3CXYpL
>> GcSG7kpnBs336
>>   YxrpD5IR6ycG6GaNqqdsx2M0ZpUb0wbdF8tejuKhjyeYsSKaiDA4PsyfQhi6
>> z0V5VhgyproPB
>>   BWqHurokuhNQwNMsh/rraehjdroVeW6fssOcFTQcEK1sMpdYTDXe6Kyxnyf0
>> FWiOV6myL0Jk1
>>   q8RuKYuy3W354BwVi0ec56WT4xmYQKlLuK4IUgs4McLv+B/Fl9gaoBAdigc=
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: user-help@hadoop.apache.org
>
>

Mime
View raw message