Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-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 22B72F2DF for ; Thu, 9 May 2013 17:34:39 +0000 (UTC) Received: (qmail 95753 invoked by uid 500); 9 May 2013 17:34:38 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 95713 invoked by uid 500); 9 May 2013 17:34:38 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 95704 invoked by uid 99); 9 May 2013 17:34:38 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 17:34:38 +0000 Received: from localhost (HELO mail-la0-f48.google.com) (127.0.0.1) (smtp-auth username ctubbsii, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 17:34:38 +0000 Received: by mail-la0-f48.google.com with SMTP id eg20so3059118lab.7 for ; Thu, 09 May 2013 10:34:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=DXz5rgrO1GLK3gTfj/GnzWDOoQF7y5Byarv4NBf0Rpg=; b=WWIorMy2IJoPKjaYJ4+cQwt8x1MMv/mmZcYgOQWgoRWyFpS/XregdLoWe0zlDK6MPx i386gc61DFkLNkeALSg2dlCrhGMivXk54WkNPZW1oizmCcdd+52SECOn9oaP0y1qkiaG 1ZfyLs0tZiUKBiqIDLM4oRLerb34lFOYvMX5UxHhFCIF51HGNIC5k0Byn61PMbo7vLPO 2cr9oyejuhWC5y/8m06pcS+wyieoLvnoDwELwKKI1irh0bri/UcSiS6qgBuReCX5Qp7k 9lcWwfFUPXJBSaf26B6uRbt+bWBuIdCAgF6l1Knb42L6/xqD74W/Xn1CVfRHmeobq4W0 DHBw== MIME-Version: 1.0 X-Received: by 10.112.201.196 with SMTP id kc4mr5919328lbc.24.1368120876764; Thu, 09 May 2013 10:34:36 -0700 (PDT) Received: by 10.114.185.135 with HTTP; Thu, 9 May 2013 10:34:36 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 May 2013 13:34:36 -0400 Message-ID: Subject: Re: Accumulo and Bigtop Hadoop From: Christopher To: user@accumulo.apache.org Content-Type: text/plain; charset=ISO-8859-1 This is precisely why these classpaths are configurable. My personal goal is that, in the future (1.6.0 and later), the RPMs/DEBs that we provide will better support BigTop packages out of the box without the need to edit the configuration. (Also see John's response about hadoop 2 support.) -- Christopher L Tubbs II http://gravatar.com/ctubbsii On Thu, May 9, 2013 at 1:22 PM, Roshan Punnoose wrote: > I have a feeling this has already been asked, but I could not find the > answer on google. > > Bigtop is installing hadoop 2.0.2-alpha into /usr/lib/hadoop, > /usr/lib/hadoop-hdfs, /usr/lib/hadoop-yarn, etc. However, Accumulo is setup > to have the "general.classpaths" of accumulo-site to point > /usr/lib/hadoop/(share)/(hdfs|yarn)/*.jar. > > As a quick workaround I had to edit the accumulo-env.sh and > accumulo-site.sh: > > accumulo-env.sh > ###for bigtop > export HADOOP_COMMON_DIR="./" > export HADOOP_COMMON_LIB_JARS_DIR="lib" > export HADOOP_COMMON_LIB_NATIVE_DIR="lib/native" > export HDFS_DIR="./" > export HDFS_LIB_JARS_DIR="lib" > export YARN_DIR="./" > export YARN_LIB_JARS_DIR="lib" > export MAPRED_DIR="./" > export MAPRED_LIB_JARS_DIR="lib" > > export HADOOP_LIBEXEC_DIR=${HADOOP_LIBEXEC_DIR:-"/usr/lib/hadoop/libexec"} > export HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-"/etc/hadoop/conf"} > export HADOOP_COMMON_HOME=${HADOOP_COMMON_HOME:-"/usr/lib/hadoop"} > export HADOOP_HDFS_HOME=${HADOOP_HDFS_HOME:-"/usr/lib/hadoop-hdfs"} > export HADOOP_MAPRED_HOME=${HADOOP_MAPRED_HOME:-"/usr/lib/hadoop-mapreduce"} > export HADOOP_YARN_HOME=${HADOOP_YARN_HOME:-"/usr/lib/hadoop-yarn"} > ###for bigtop > > accumulo-site.sh (added to the general.classpaths) > $HADOOP_MAPRED_HOME/.*.jar, > $HADOOP_MAPRED_HOME/$MAPRED_LIB_JARS_DIR/.*.jar, > $HADOOP_YARN_HOME/.*.jar, > $HADOOP_YARN_HOME/$YARN_LIB_JARS_DIR/.*.jar, > $HADOOP_HDFS_HOME/[^.].*.jar, > $HADOOP_HDFS_HOME/$HDFS_LIB_JARS_DIR/.*.jar, > > This above is working. Has anyone ran into this and found a better solution? > > Thanks! > > Roshan