Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 69410 invoked from network); 26 Aug 2010 11:05:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Aug 2010 11:05:47 -0000 Received: (qmail 42570 invoked by uid 500); 26 Aug 2010 11:05:46 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 42164 invoked by uid 500); 26 Aug 2010 11:05:43 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 42156 invoked by uid 99); 26 Aug 2010 11:05:41 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 11:05:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shujamughal@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-ww0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 11:05:20 +0000 Received: by wwa36 with SMTP id 36so832530wwa.20 for ; Thu, 26 Aug 2010 04:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=67SR/wxJO3ok+jIoaMDdI7BjwUSVsYy4m1UnYmS5G8o=; b=X0FDssd6ULNaK86srQOE28C+m8wFMt+rxUEo9OrWnQCGJauVMu3MfZAiBA/SrYAXVN WX8XqCgUirkBdjdcVG3Xuiw0q4Cdao91n6Ht6Fkzn0lDunHz7NTOAEBmg8esDNEANPvD orCodIRGy80Rqra4H++l11F4+LujTAoWN2NzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BNQv7vLWuMeni5IoU8KbQmNERB28ubmohMcvmH2cOhkEIDqVwelTGebVGMfrYPiGLP ft13WOAS19TWI4OWhXEO8N9ZFYfaXERrBjs12DAt9kfojR2elwa+WFPr+mj+atke4qEK Q+fHOASqLpGQblWMzD9sFQH4HPdr+GEM5IyL8= MIME-Version: 1.0 Received: by 10.216.90.8 with SMTP id d8mr6751821wef.89.1282820698242; Thu, 26 Aug 2010 04:04:58 -0700 (PDT) Received: by 10.216.12.14 with HTTP; Thu, 26 Aug 2010 04:04:58 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Aug 2010 16:04:58 +0500 Message-ID: Subject: Re: install: cannot change owner and permissions of `/usr/lib/hbase/pids': No such file or directory From: Shuja Rehman To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=0016e6d778be078282048eb7f893 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d778be078282048eb7f893 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Todd, I have installed the hadoop and hbase and when i try to run the services from this command, it shows this output root@digitalvision:~# for service in /etc/init.d/hadoop-*; do sudo $service start; done Starting Hadoop datanode daemon: starting datanode, logging to /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-datanode-digitalvision.out ERROR. Starting Hadoop jobtracker daemon: starting jobtracker, logging to /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-jobtracker-digitalvision.out ERROR. Starting Hadoop namenode daemon: starting namenode, logging to /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-namenode-digitalvision.out ERROR. Starting Hadoop secondarynamenode daemon: starting secondarynamenode, logging to /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-secondarynamenode-digitalvisio= n.out ERROR. Starting Hadoop tasktracker daemon: starting tasktracker, logging to /usr/lib/hadoop-0.20/bin/../logs/hadoop-root-tasktracker-digitalvision.out ERROR. Starting Hadoop HBase master daemon: mkdir: cannot create directory `/var/run/hbase': Permission denied starting master, logging to /usr/lib/hbase/bin/../logs/hbase-hbase-master-digitalvision.out /usr/lib/hbase/bin/hbase-daemon.sh: line 129: /var/run/hbase/hbase-hbase-master.pid: No such file or directory ERROR. Starting Hadoop HBase regionserver daemon: mkdir: cannot create directory `/var/run/hbase': Permission denied starting regionserver, logging to /usr/lib/hbase/bin/../logs/hbase-hbase-regionserver-digitalvision.out /usr/lib/hbase/bin/hbase-daemon.sh: line 129: /var/run/hbase/hbase-hbase-regionserver.pid: No such file or directory ERROR. Starting Hadoop HBase thrift daemon: mkdir: cannot create directory `/var/run/hbase': Permission denied starting thrift, logging to /usr/lib/hbase/bin/../logs/hbase-hbase-thrift-digitalvision.out /usr/lib/hbase/bin/hbase-daemon.sh: line 129: /var/run/hbase/hbase-hbase-thrift.pid: No such file or directory ERROR. JMX enabled by default Using config: /etc/zookeeper/zoo.cfg Starting zookeeper ... STARTED and if i check the services with sudo jps, it shows the process. This is happening whenever i install these and restart the computer. root@digitalvision:~# sudo jps 2322 Main 2490 JobTracker 2662 SecondaryNameNode 2576 NameNode 3001 ThriftServer 2834 HMaster 3087 Jps 2755 TaskTracker 2415 DataNode Any clue???? On Thu, Aug 26, 2010 at 9:50 AM, Todd Lipcon wrote: > On Mon, Aug 23, 2010 at 1:25 PM, Shuja Rehman > wrote: > > > Hi > > I have added the following line to hadoop-env.sh to work with hbase. > > > > export HADOOP_CLASSPATH=3D/usr/lib/hbase-0.89.20100621+17.jar:/usr/lib/= conf > > > > > You really shouldn't have to do this. In 0.89 you can use the following A= PI > for your MR jobs to be sure that the HBase jar gets shipped along for the > ride: > > > http://hbase.apache.org/docs/r0.89.20100621/apidocs/org/apache/hadoop/hba= se/mapreduce/TableMapReduceUtil.html#addDependencyJars(org.apache.hadoop.ma= preduce.Job) > > Unfortunately we don't have an equivalent for the old API yet, and we > haven't done a good job of documenting this. Anyone up for an easy patch? > :) > > > > When i restart the service for hadoop then it shows me following error > > messages > > > > Which service in particular are you restarting? This is probably a > packaging > bug. > > -Todd > > > > > > > ERROR. > > install: cannot change owner and permissions of `/usr/lib/hbase/pids': = No > > such file or directory > > install: cannot change owner and permissions of `/usr/lib/hbase/pids': = No > > such file or directory > > install: cannot change owner and permissions of `/usr/lib/hbase/pids': = No > > such file or directory > > > > > > Can anybody guide about the solution? > > > > Thanks > > -- > > Regards > > Shuja-ur-Rehman Baig > > http://pk.linkedin.com/in/shujamughal > > Cell: +92 3214207445 > > > > > > -- > Todd Lipcon > Software Engineer, Cloudera > --=20 Regards Shuja-ur-Rehman Baig http://pk.linkedin.com/in/shujamughal Cell: +92 3214207445 --0016e6d778be078282048eb7f893--