Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo, mail # user - master fails to start


Copy link to this message
-
Re: master fails to start
Chris Retford 2013-05-21, 18:51
Adam,

Thanks, I blew away accumulo.policy and it started. I'll look into
configuring it correctly .
On Tue, May 21, 2013 at 12:45 PM, Adam Fuchs <[EMAIL PROTECTED]> wrote:

> 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 <[EMAIL PROTECTED]>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.<clinit>(UserGroupInformation.java:469)
>>         at
>> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1757)
>>         at
>> org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(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.<init>(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.<init>(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.<clinit>(UserGroupInformation.java:392)
>>
>
>