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 2F439D4B6 for ; Tue, 21 May 2013 18:46:00 +0000 (UTC) Received: (qmail 97925 invoked by uid 500); 21 May 2013 18:46:00 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 97626 invoked by uid 500); 21 May 2013 18:46:00 -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 97600 invoked by uid 99); 21 May 2013 18:45:59 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 18:45:59 +0000 Received: from localhost (HELO mail-wi0-f169.google.com) (127.0.0.1) (smtp-auth username afuchs, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 18:45:58 +0000 Received: by mail-wi0-f169.google.com with SMTP id hn14so3478972wib.0 for ; Tue, 21 May 2013 11:45:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=MSvpx52K6IV7WgYQsuMaLIB/bwYafhxE3PYiTmvOKTU=; b=p2E04guLF3ne/uQt/CknJwZbBBkpoKz7c9oVsiwrtMzEhO0fftuo5oSGTMAxzdPIWl UfV3uj5jm/HNm+9EiPiFyIbPV9Odv/QbekuKmT3DjUbv+QhtR28esXYBQD/pSdQbzvLc 5myzvQ76rhaX7qbmwanFrIKPXcb1utzzRmMtAgD7SOMK0qVUotFW9l/Sw1ga1VWQskYi 20Jtd2SQ6yEY00nIMBCL5JG9+J6csOEY95cUV0Js2uOSKx25pXOhb5xPUuqMxDNTw5do npkpfYGR3p6/QJCjS7vtJ6mkrk0/LBjzxJZhk0MsQx1zuxqgv0ABhr3L9KLrRD1K987D CJXw== MIME-Version: 1.0 X-Received: by 10.181.13.74 with SMTP id ew10mr7715832wid.9.1369161957409; Tue, 21 May 2013 11:45:57 -0700 (PDT) Received: by 10.217.95.138 with HTTP; Tue, 21 May 2013 11:45:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 14:45:57 -0400 Message-ID: Subject: Re: master fails to start From: Adam Fuchs To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=f46d043c7dde1c8ec904dd3edc72 --f46d043c7dde1c8ec904dd3edc72 Content-Type: text/plain; charset=ISO-8859-1 Chris, Did you copy the conf/accumulo.policy.example to conf/accumulo.policy? If so, you may need to make some changes to account for changes to hadoop security. I suspect the problem is that the codebase "file:${hadoop.home.dir}/lib/*" reference doesn't include your CDH3 libraries. You could modify that codebase to include the hadoop libs, or you could disable the security policy by removing the conf/accumulo.policy file. Adam On Mon, May 20, 2013 at 4:14 PM, Chris Retford wrote: > I searched the archive before posting and didn't find anything. I have a > new system with 12 nodes (3 ZK), and a single user in the hadoop group. The > master fails to start. It looks to me like it is unable to read > /accumulo/instance_id in HDFS, but I can't think why that would be. Thanks > in advance for any advice on how to run this down. Here are the contents of > master.err log: > > Thread "master" died null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.accumulo.start.Main$1.run(Main.java:89) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.lang.ExceptionInInitializerError > at > org.apache.hadoop.security.UserGroupInformation.(UserGroupInformation.java:469) > at > org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:1757) > at > org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:1750) > at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1618) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:255) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:124) > at > org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:554) > at > org.apache.accumulo.core.client.ZooKeeperInstance.getInstanceIDFromHdfs(ZooKeeperInstance.java:258) > at > org.apache.accumulo.server.conf.ZooConfiguration.getInstance(ZooConfiguration.java:65) > at > org.apache.accumulo.server.conf.ServerConfiguration.getZooConfiguration(ServerConfiguration.java:49) > at > org.apache.accumulo.server.conf.ServerConfiguration.getSystemConfiguration(ServerConfiguration.java:58) > at > org.apache.accumulo.server.client.HdfsZooInstance.(HdfsZooInstance.java:62) > at > org.apache.accumulo.server.client.HdfsZooInstance.getInstance(HdfsZooInstance.java:70) > at org.apache.accumulo.server.Accumulo.init(Accumulo.java:132) > at org.apache.accumulo.server.master.Master.(Master.java:534) > at org.apache.accumulo.server.master.Master.main(Master.java:2190) > ... 6 more > Caused by: java.security.AccessControlException: access denied > ("java.lang.RuntimePermission" "getenv.HADOOP_JAAS_DEBUG") > at > java.security.AccessControlContext.checkPermission(AccessControlContext.java:366) > at > java.security.AccessController.checkPermission(AccessController.java:560) > at > java.lang.SecurityManager.checkPermission(SecurityManager.java:549) > at java.lang.System.getenv(System.java:883) > at > org.apache.hadoop.security.UserGroupInformation$HadoopConfiguration.(UserGroupInformation.java:392) > --f46d043c7dde1c8ec904dd3edc72 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Chris,

Did you copy the conf/accu= mulo.policy.example to conf/accumulo.policy? If so, you may need to make so= me changes to account for changes to hadoop security. I suspect the problem= is that the=A0codebase "file:${hadoop.home.dir}/lib/*" reference= doesn't include your CDH3 libraries. You could modify that codebase to= include the hadoop libs, or you could disable the security policy by remov= ing the conf/accumulo.policy file.

Adam



On Mon, May 20, 201= 3 at 4:14 PM, Chris Retford <chris.retford@gmail.com> = wrote:
I searched the archive before posting and = didn't find anything. I have a new system with 12 nodes (3 ZK), and a s= ingle user in the hadoop group. The master fails to start. It looks to me l= ike it is unable to read /accumulo/instance_id in HDFS, but I can't thi= nk why that would be. Thanks in advance for any advice on how to run this d= own. Here are the contents of master.err log:

Thread "master" died null
java.lang.refle= ct.InvocationTargetException
=A0 =A0 =A0 =A0 at sun.reflect.Nativ= eMethodAccessorImpl.invoke0(Native Method)
=A0 =A0 =A0 =A0 at sun= .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<= /div>
=A0 =A0 =A0 =A0 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Del= egatingMethodAccessorImpl.java:43)
=A0 =A0 =A0 =A0 at java.lang.r= eflect.Method.invoke(Method.java:601)
=A0 =A0 =A0 =A0 at org.apac= he.accumulo.start.Main$1.run(Main.java:89)
=A0 =A0 =A0 =A0 at java.lang.Thread.run(Thread.java:722)
Cau= sed by: java.lang.ExceptionInInitializerError
=A0 =A0 =A0 =A0 at = org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInf= ormation.java:469)
=A0 =A0 =A0 =A0 at org.apache.hadoop.fs.FileSystem$Cache$Key.<init&= gt;(FileSystem.java:1757)
=A0 =A0 =A0 =A0 at org.apache.hadoop.fs= .FileSystem$Cache$Key.<init>(FileSystem.java:1750)
=A0 =A0 = =A0 =A0 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1618)<= /div>
=A0 =A0 =A0 =A0 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java= :255)
=A0 =A0 =A0 =A0 at org.apache.hadoop.fs.FileSystem.get(File= System.java:124)
=A0 =A0 =A0 =A0 at org.apache.accumulo.core.file= .FileUtil.getFileSystem(FileUtil.java:554)
=A0 =A0 =A0 =A0 at org.apache.accumulo.core.client.ZooKeeperInstance.g= etInstanceIDFromHdfs(ZooKeeperInstance.java:258)
=A0 =A0 =A0 =A0 = at org.apache.accumulo.server.conf.ZooConfiguration.getInstance(ZooConfigur= ation.java:65)
=A0 =A0 =A0 =A0 at org.apache.accumulo.server.conf.ServerConfiguration= .getZooConfiguration(ServerConfiguration.java:49)
=A0 =A0 =A0 =A0= at org.apache.accumulo.server.conf.ServerConfiguration.getSystemConfigurat= ion(ServerConfiguration.java:58)
=A0 =A0 =A0 =A0 at org.apache.accumulo.server.client.HdfsZooInstance.&= lt;init>(HdfsZooInstance.java:62)
=A0 =A0 =A0 =A0 at org.apach= e.accumulo.server.client.HdfsZooInstance.getInstance(HdfsZooInstance.java:7= 0)
=A0 =A0 =A0 =A0 at org.apache.accumulo.server.Accumulo.init(Accumulo.java:1= 32)
=A0 =A0 =A0 =A0 at org.apache.accumulo.server.master.Master.&= lt;init>(Master.java:534)
=A0 =A0 =A0 =A0 at org.apache.accumu= lo.server.master.Master.main(Master.java:2190)
=A0 =A0 =A0 =A0 ... 6 more
Caused by: java.security.AccessCo= ntrolException: access denied ("java.lang.RuntimePermission" &quo= t;getenv.HADOOP_JAAS_DEBUG")
=A0 =A0 =A0 =A0 at java.securit= y.AccessControlContext.checkPermission(AccessControlContext.java:366)
=A0 =A0 =A0 =A0 at java.security.AccessController.checkPermission(Acce= ssController.java:560)
=A0 =A0 =A0 =A0 at java.lang.SecurityManag= er.checkPermission(SecurityManager.java:549)
=A0 =A0 =A0 =A0 at j= ava.lang.System.getenv(System.java:883)
=A0 =A0 =A0 =A0 at org.apache.hadoop.security.UserGroupInformation$Had= oopConfiguration.<clinit>(UserGroupInformation.java:392)
<= /div>

--f46d043c7dde1c8ec904dd3edc72--