Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 E2C06D011 for ; Fri, 9 Nov 2012 19:42:43 +0000 (UTC) Received: (qmail 25798 invoked by uid 500); 9 Nov 2012 19:42:39 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 25459 invoked by uid 500); 9 Nov 2012 19:42:39 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 25451 invoked by uid 99); 9 Nov 2012 19:42:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 19:42:38 +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 harsh@cloudera.com designates 209.85.223.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2012 19:42:34 +0000 Received: by mail-ie0-f176.google.com with SMTP id k11so7338188iea.35 for ; Fri, 09 Nov 2012 11:42:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=aKJ3Rsmn7wY8kHxNOKSXd5JMOcdnCKwn4trRUqNVm0A=; b=X73K/U5rA8b6kY3ORUJNqMb9UlTvclAOk076eStd73ANLE0VwUYgugUGK9y9/cRRE5 5l5AJodqOiRrSVVnFFcUWjeTcKq+xp35wIe3T6ShCNvuMMIIpPtUjV4KhvaTufVMRNCb yMT9ueNsUUinGe7V9ggItjiXUM2VrgMbO1wUjZMf0CUYWvhJkcQpXgh7TU2TyZXHQifh hFsJhNA/c+TNmBCkUnepCSB2EiZJFq31/lfV0eaXF38xDq+Z/1hAUob1r/vB46ZH3T7v LJ6VbexDV09kAtC7jN+8KUs6H0BRqMpLhBVlaXByplt9Nsjz4ZxwbLhDOmxm3fhmeS0f jl0A== Received: by 10.50.41.165 with SMTP id g5mr2275796igl.66.1352490134254; Fri, 09 Nov 2012 11:42:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.27.8 with HTTP; Fri, 9 Nov 2012 11:41:52 -0800 (PST) In-Reply-To: References: <841531D0-736B-47C2-85C2-455DFA8A27CE@hortonworks.com> From: Harsh J Date: Sat, 10 Nov 2012 01:11:52 +0530 Message-ID: Subject: Re: Sticky Bit Problem (CDH4.1) To: user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlGVki5/A6h1/UjJTPkIrK8F8B4FNixCFTjCEysiqLWY7X/OLbIlPGgzjDT0pGZuVSXC1+e X-Virus-Checked: Checked by ClamAV on apache.org Thanks for following up Brian. I'll try to reproduce this out with some more version hints from your post just in case we aren't missing anything bad. Also, in future, if your problem feels CDH-specific, please do mail the cdh-user@cloudera.org lists instead of the Apache ones (Groups: https://groups.google.com/a/cloudera.org/forum/?fromgroups=3D#!forum/cdh-us= er). On Fri, Nov 9, 2012 at 10:57 PM, Brian Derickson w= rote: > Very possible it's a mixed version thing, though I'm not sure where in th= e > mess we created it would be. :) > > As far as I can tell, we were never using Java version 7. > > Most of these complications arose when we attempted to upgrade to CDH 4.1 > via Puppet. Somewhere along the line things were installed on hosts where > they shouldn't have been. It's also possible there was a mix of versions > installed. (CDH4.0 and CDH4.1) > > We also had some problems with Avro around the same time... Since version > 1.7.1 is supposed to be used with CDH4, I was trying to remove the 1.5.4 = jar > that comes with the distribution and put 1.7.1 jars in place instead. Thi= s > particular task wasn't a priority until I forgot to specify a 1.7.1 jar w= hen > running a job and it started using the 1.5.4 jar. > > I discovered during this work that putting the avro-tools jar in > /usr/lib/hadoop/lib causes the jobtracker to stop working. It fails > immediately after launch with this error: "java.lang.NoSuchMethodError: > org.apache.hadoop.ipc.RPC.getServer". I can reproduce this and provide a > more detailed stack trace or whatever if needed. There may have been some > other fallout from this that I'm not aware of. > > I think that's it. Like I said, it was a bit of a mess for awhile but all > seems well now. :) > > > > > > On Thu, Nov 8, 2012 at 11:26 PM, Harsh J wrote: >> >> Glad to know it is resolved for you. Highly odd error - I haven't been >> able to reproduce with JDK 7u3 either, so am unsure of what caused the >> parser to fail. Probably mixed versions of jars by any chance? >> >> On Thu, Nov 8, 2012 at 10:45 PM, Brian Derickson >> wrote: >> > This is resolved, now. We were having some problems yesterday with the >> > Puppet infrastructure we use to manage our cluster that resulted in >> > daemons >> > being installed on hosts they shouldn't be on (datanode/tasktracker >> > running >> > on master nodes, for example) that I wasn't aware of when I made my >> > original >> > post. Once we figured that out, this sticky bit problem went away. >> > >> > I wish I could be more specific just so anyone that finds this thread = in >> > the >> > archives could have something useful... >> > >> > Thanks for your time! >> > >> > >> > >> > On Wed, Nov 7, 2012 at 2:44 PM, Kartashov, Andy >> > wrote: >> >> >> >> Have you tried hadoop fs -chmod a+rwx /tmp >> >> >> >> >> >> >> >> >> >> >> >> From: Arun C Murthy [mailto:acm@hortonworks.com] >> >> Sent: Wednesday, November 07, 2012 3:11 PM >> >> To: user@hadoop.apache.org >> >> Subject: Re: Sticky Bit Problem (CDH4.1) >> >> >> >> >> >> >> >> Pls ask Cloudera lists... >> >> >> >> >> >> >> >> On Nov 7, 2012, at 9:57 AM, Brian Derickson wrote: >> >> >> >> >> >> >> >> Hey all, >> >> >> >> When setting up the namenode, some of the commands that we run are: >> >> hadoop fs -mkdir /tmp >> >> hadoop fs -chmod -R 1777 /tmp >> >> >> >> This has worked for previous CDH releases of Hadoop. >> >> >> >> We recently upgraded our test cluster to CDH 4.1 and the chmod no >> >> longer >> >> works. >> >> >> >> sudo -u hdfs hadoop fs -chmod -R 1777 /tmp >> >> chmod: chmod : mode '1777' does not match the expected pattern. >> >> >> >> sudo -u hdfs hadoop fs -chmod -R +t /tmp >> >> chmod: chmod : mode '+t' does not match the expected pattern. >> >> >> >> This disagrees with the docs here: >> >> >> >> https://ccp.cloudera.com/display/CDH4DOC/Deploying+MapReduce+v1+%28MR= v1%29+on+a+Cluster#DeployingMapReducev1%28MRv1%29onaCluster-Step7 >> >> >> >> Has anyone else encountered this? Let me know if you need more >> >> information, and thanks for your time. >> >> >> >> >> >> >> >> -- >> >> >> >> Arun C. Murthy >> >> >> >> Hortonworks Inc. >> >> http://hortonworks.com/ >> >> >> >> >> >> >> >> NOTICE: This e-mail message and any attachments are confidential, >> >> subject >> >> to copyright and may be privileged. Any unauthorized use, copying or >> >> disclosure is prohibited. If you are not the intended recipient, plea= se >> >> delete and contact the sender immediately. Please consider the >> >> environment >> >> before printing this e-mail. AVIS : le pr=E9sent courriel et toute pi= =E8ce >> >> jointe qui l'accompagne sont confidentiels, prot=E9g=E9s par le droit >> >> d'auteur >> >> et peuvent =EAtre couverts par le secret professionnel. Toute >> >> utilisation, >> >> copie ou divulgation non autoris=E9e est interdite. Si vous n'=EAtes = pas le >> >> destinataire pr=E9vu de ce courriel, supprimez-le et contactez >> >> imm=E9diatement >> >> l'exp=E9diteur. Veuillez penser =E0 l'environnement avant d'imprimer = le >> >> pr=E9sent >> >> courriel >> > >> > >> >> >> >> -- >> Harsh J > > --=20 Harsh J