Return-Path: X-Original-To: apmail-flume-user-archive@www.apache.org Delivered-To: apmail-flume-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 60159D9F8 for ; Fri, 30 Nov 2012 07:17:49 +0000 (UTC) Received: (qmail 82230 invoked by uid 500); 30 Nov 2012 07:17:48 -0000 Delivered-To: apmail-flume-user-archive@flume.apache.org Received: (qmail 82126 invoked by uid 500); 30 Nov 2012 07:17:47 -0000 Mailing-List: contact user-help@flume.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flume.apache.org Delivered-To: mailing list user@flume.apache.org Received: (qmail 82096 invoked by uid 99); 30 Nov 2012 07:17:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 07:17:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wget.null@gmail.com designates 209.85.215.179 as permitted sender) Received: from [209.85.215.179] (HELO mail-ea0-f179.google.com) (209.85.215.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Nov 2012 07:17:40 +0000 Received: by mail-ea0-f179.google.com with SMTP id i12so63949eaa.38 for ; Thu, 29 Nov 2012 23:17:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=JwnE5o7/n7i/MizMe3DITdTgQvPkZOiXQ2C/PP/3Yfo=; b=WB3a3XwpcSYScjr4fMBJDHcw7bFicVwOkl0tDhQIcB7Fdry8TYdmrBbvj/kbkce3vX ziscgDCiOGrwivVkbzQjxO1KwIBo63zA3F7mqdwkf1MVGRQBeY9PZ81W+IfavZ028LG9 NpEFKnXkE+NUU8MCi8y75gAqCDIQjGzOIw9Y5gPm8o5NrnQTLhwORohcMb4nVWZiBeX2 OLvbI6XdiHgtEkPtvUAhgTDxPYJE1V9A2sImGLb4KlSUT5qIhd99BWkoK71i10jxRtaW kbSPfSuf2ZAFHQ+FOFE1VL5F1pwwzIMIpuHKegxJ+v3tPkuOtfXqoje3iwcVwaIZpXOm A3hg== Received: by 10.14.178.196 with SMTP id f44mr1495564eem.14.1354259839066; Thu, 29 Nov 2012 23:17:19 -0800 (PST) Received: from [192.168.200.51] (HSI-KBW-078-042-203-071.hsi3.kabel-badenwuerttemberg.de. [78.42.203.71]) by mx.google.com with ESMTPS id e1sm8745671eem.3.2012.11.29.23.17.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 23:17:18 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: error writing to collectorSink on mac os x From: Alexander Alten-Lorenz In-Reply-To: <4179D3AE-2789-4D0F-9E3C-5AF5B5CF5140@gmail.com> Date: Fri, 30 Nov 2012 08:17:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0DBB48FE-FEF6-45D0-AE99-898E64CC3D01@gmail.com> References: <4179D3AE-2789-4D0F-9E3C-5AF5B5CF5140@gmail.com> To: user@flume.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org Hi, Can you connect to your HDFS instance? Attach the config file for = further debug. Btw, per homebrew installed HDFS / Flume / whatever depends on the = recipes homebrew uses. Check this first please. Best - Alex On Nov 30, 2012, at 6:50 AM, Abhi Dubey wrote: >> Hi, >>=20 >> I am running hadoop in pseudo-distributed mode on mac os x 10.8.2. I = installed flume (via homebrew) and I can write to console and local file = system using text. Hadoop was also installed via homebrew. >>=20 >> But if I use collectorSink and either a file target file:/// or = hdfs://, I get an error. The error is same for both types of targets. >>=20 >>=20 >> 2012-11-29 20:22:47,182 [logicalNode new-host-2.home-21] INFO = debug.InsistentAppendDecorator: append attempt 6 failed, backoff = (60000ms): failure to login >> 2012-11-29 20:23:47,181 [pool-8-thread-1] INFO = hdfs.EscapedCustomDfsSink: Opening = file:///Users/abhi/flume/testfile20121129-202317290-0800.13542493972903100= 00.00000037 >> 2012-11-29 20:23:47,183 [logicalNode new-host-2.home-21] INFO = debug.StubbornAppendSink: append failed on event 'new-host-2.home [INFO = Thu Nov 29 20:21:44 PST 2012] #' with error: failure to login >> 2012-11-29 20:23:47,183 [logicalNode new-host-2.home-21] INFO = rolling.RollSink: closing RollSink = 'escapedCustomDfs("file:///Users/abhi/flume","testfile%{rolltag}" )' >> 2012-11-29 20:23:47,183 [logicalNode new-host-2.home-21] INFO = rolling.RollSink: opening RollSink = 'escapedCustomDfs("file:///Users/abhi/flume","testfile%{rolltag}" )' >> 2012-11-29 20:23:47,184 [logicalNode new-host-2.home-21] INFO = debug.InsistentOpenDecorator: Opened MaskDecorator on try 0 >> 2012-11-29 20:23:47,185 [pool-9-thread-1] INFO = hdfs.EscapedCustomDfsSink: Opening = file:///Users/abhi/flume/testfile20121129-202347184-0800.13542494271841780= 00.00000021 >> 2012-11-29 20:23:47,192 [logicalNode new-host-2.home-21] INFO = debug.InsistentAppendDecorator: append attempt 7 failed, backoff = (60000ms): failure to login >>=20 >> I am not sure what is going on. The permissions to the directory is = 777. Can anyone help with this error? >>=20 >>=20 >> Thanks, >>=20 >> Abhi >=20 -- Alexander Alten-Lorenz http://mapredit.blogspot.com German Hadoop LinkedIn Group: http://goo.gl/N8pCF