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

Switch to Plain View
Accumulo >> mail # user >> master fails to start


+
Chris Retford 2013-05-20, 20:14
+
Christopher 2013-05-20, 20:20
+
John Vines 2013-05-20, 20:26
+
Chris Retford 2013-05-20, 20:28
Copy link to this message
-
Re: master fails to start
Looks like you might be running with a Java Security Policy in place.
On Mon, May 20, 2013 at 4:28 PM, Chris Retford <[EMAIL PROTECTED]>wrote:

> Accumulo 1.4.3. Hadoop is CDH3u6 (0.20.2). I can manually list files in
> Hadoop. Accumulo was able to run the init script. All accumulo directories
> in HDFS are world readable and executable.
>
>
> On Mon, May 20, 2013 at 2:20 PM, Christopher <[EMAIL PROTECTED]> wrote:
>
>> What version of Accumulo are you running?
>> Can you manually query HDFS as the same user Accumulo is running as?
>>
>> --
>> Christopher L Tubbs II
>> http://gravatar.com/ctubbsii
>>
>>
>> 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)
>>
>
>
+
Adam Fuchs 2013-05-21, 18:45
+
Chris Retford 2013-05-21, 18:51