accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navindran....@polarisFT.com
Subject Re: Apach Accumulo Issue
Date Wed, 17 Jul 2013 03:56:56 GMT
Hi,

I have HDFS and Zookeeper running fine. While Initializing I get the below 
error,

16 08:32:32,569 [hdfs.DFSClient] DEBUG: 
LeaseChecker@DFSClient[clientName=DFSClient_36687922, ugi=training]: 
java.lang.Throwable: for testing
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.toString(DFSClient.java:1181)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.run(DFSClient.java:1170)
        at java.lang.Thread.run(Thread.java:662)
 is interrupted.
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.run(DFSClient.java:1167)
        at java.lang.Thread.run(Thread.java:662)

But instance id is getting created.

Mointor page is not opening, I am getting page not found error.

Neither I get these monitor*debug.log, master*debug.log, and 
tserver*debug.log

Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, NextLevel 5th Floor, West Wing, 
#34, IT HIGHWAY, Navalur-Chennai

"Delivering Retail Banking and DATA Services - Thought to Experience"
Theme 2013 - 14 : "Year of Converging Thought Leadership"





From:   John Vines <vines@apache.org>
To:     "user@accumulo.apache.org" <user@accumulo.apache.org>
Date:   07/16/2013 09:12 PM
Subject:        Re: Apach Accumulo Issue



You're providing a lot of partial information all over the place which is 
making this difficult to debug. Lets start from the beginning.

1. Do you have zookeeper running? (please validate by telnetting the 
server and sending "ruok". You should receive "imok" before it closes the 
channel)
2. Do you have hdfs running? (please validate by attempting to write a 
file to hdfs via hadoop -put and hadoop -cat).
3. Run initialize and please share all of the output you get through the 
process.
4. If the initialize does go well, please attempt to start accumulo. If it 
does not success, please check the monitor page on port 50095 and see if 
it's reporting any recent events. If the monitor is not running, check the 
monitor*debug.log, master*debug.log, and tserver*debug.log and look for 
any ERRORs being reported and/or stack traces showing up and share those.

John


On Tue, Jul 16, 2013 at 11:33 AM, <navindran.sgk@polarisft.com> wrote:
Hi,
 
I get the following error when initializing accumulo,
 
16 08:32:32,569 [hdfs.DFSClient] DEBUG: 
LeaseChecker@DFSClient[clientName=DFSClient_36687922, ugi=training]: 
java.lang.Throwable: for testing
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.toString(DFSClient.java:1181)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.run(DFSClient.java:1170)
        at java.lang.Thread.run(Thread.java:662)
 is interrupted.
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.hadoop.hdfs.DFSClient$LeaseChecker.run(DFSClient.java:1167)
        at java.lang.Thread.run(Thread.java:662)
 
Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, Next-Level 5th Floor, West Wing
34, IT Highway
PolarisFT-Navallur-Chennai


-----John Vines <vines@apache.org> wrote: ----- 
To: "user@accumulo.apache.org" <user@accumulo.apache.org>
From: John Vines <vines@apache.org>
Date: 07/15/2013 09:30PM

Subject: Re: Apach Accumulo Issue

It looks like you initialized Accumulo as a different user than what 
you're trying ot run it as. Either delete /accumulo out of hdfs and reinit 
as the user you're running it as, or recursively chown /accumulo to the 
user you're attempting to use.


On Mon, Jul 15, 2013 at 11:15 AM, <navindran.sgk@polarisft.com> wrote:
Hi,
 
In 
master_localhost.err and tserver_localhost.err,
log4j:WARN No appenders could be found for logger 
(org.apache.accumulo.start.classloader.AccumuloClassLoader).
log4j:WARN Please initialize the log4j system properly.
 
monitor_localhost.err
log4j:WARN No appenders could be found for logger 
(org.apache.accumulo.start.classloader.AccumuloClassLoader).
log4j:WARN Please initialize the log4j system properly.
Thread "monitor" died null
java.lang.reflect.InvocationTargetException 

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.accumulo.start.Main$1.run(Main.java:101)
 at java.lang.Thread.run(Thread.java:662)
Caused by: java.security.AccessControlException: access denied 
(javax.security.auth.AuthPermission getSubject)
 at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
 at 
java.security.AccessController.checkPermission(AccessController.java:546)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
 at javax.security.auth.Subject.getSubject(Subject.java:268)
 at 
org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:471)
 at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1668)
 at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1661)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1529)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111)
 at 
org.apache.accumulo.core.file.FileUtil.getFileSystem(FileUtil.java:550)
 at org.apache.accumulo.server.monitor.Monitor.main(Monitor.java:453)
 ... 6 more
 
Pls let me know whats the fix.
 
Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, Next-Level 5th Floor, West Wing
34, IT Highway
PolarisFT-Navallur-Chennai


-----John Vines <vines@apache.org> wrote: ----- 
To: "user@accumulo.apache.org" <user@accumulo.apache.org>
From: John Vines <vines@apache.org>
Date: 07/13/2013 11:24PM 

Subject: Re: Apach Accumulo Issue

Please check all of the .err files. If you're overexerting the memory 
available, the processes will die quickly and messages will be emitted 
there.


On Sat, Jul 13, 2013 at 11:55 AM, <navindran.sgk@polarisft.com> wrote:
Hi Charles,
 
I set the root logger in the log4j.properties under accumulo/conf/ from 
INFO to DEBUG. Then bounced Accumulo.
Only tracer and gc is getting started.
 
tracer_localhost.localdomain.debug.log
08 06:48:03,669 [impl.ServerClient] WARN : There are no tablet servers: 
check that zookeeper and accumulo are running.
08 06:48:03,670 [impl.ServerClient] DEBUG: ClientService request failed 
null, retrying ... 
org.apache.thrift.transport.TTransportException: Failed to connect to a 
server
 at 
org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:437)
 at 
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:152)
 at 
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:128)
 at 
org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:123)
 at 
org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:105)
 at 
org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:71)
 at 
org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:64)
 at 
org.apache.accumulo.server.client.HdfsZooInstance.getConnector(HdfsZooInstance.java:154)
 at 
org.apache.accumulo.server.client.HdfsZooInstance.getConnector(HdfsZooInstance.java:149)
 at 
org.apache.accumulo.server.trace.TraceServer.<init>(TraceServer.java:185)
 at 
org.apache.accumulo.server.trace.TraceServer.main(TraceServer.java:260)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.apache.accumulo.start.Main$1.run(Main.java:101)
 at java.lang.Thread.run(Thread.java:662)
 
 
note: The below folder is getting created in HDFS
drwxr-xr-x   - training supergroup          0 2013-07-13 08:21 
/user/accumulo/instance_id
drwxr-xr-x   - training supergroup          0 2013-07-13 08:21 
/user/accumulo/tables
drwxr-xr-x   - training supergroup          0 2013-07-13 08:21 
/user/accumulo/version
in /user/accumulo/tables
hdfs://localhost/user/accumulo/tables/!0/default_tablet <dir>
hdfs://localhost/user/accumulo/tables/!0/root_tablet    <dir>
hdfs://localhost/user/accumulo/tables/!0/table_info     <dir>
 
Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, Next-Level 5th Floor, West Wing
34, IT Highway
PolarisFT-Navallur-Chennai


-----"Ott, Charles H." <CHARLES.H.OTT@saic.com> wrote: ----- 
To: <user@accumulo.apache.org>
From: "Ott, Charles H." <CHARLES.H.OTT@saic.com>
Date: 07/11/2013 01:10AM
Subject: RE: Apach Accumulo Issue 


I set the root logger in the log4j.properties under accumulo/conf/ from 
INFO to DEBUG.  Then bounced Accumulo.  Then my debug logs showed up.
 
From: user-return-2744-CHARLES.H.OTT=saic.com@accumulo.apache.org [mailto:
user-return-2744-CHARLES.H.OTT=saic.com@accumulo.apache.org] On Behalf Of 
navindran.sgk@polarisFT.com
Sent: Wednesday, July 10, 2013 11:35 AM
To: user@accumulo.apache.org
Subject: Re: Apach Accumulo Issue
 
Hi Josh,
 
I am not able to browse using the address http://localhost:50095. 
 
I am neither getting any tserver*.debug.log and master*.debug.log 
 
Version Details:
CDH              : 3
Accumulo       : 1.5
 
Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, Next-Level 4th Floor, East Wing
PolarisFT-Navallur-Chennai


-----Josh Elser <josh.elser@gmail.com> wrote: ----- 
To: user@accumulo.apache.org
From: Josh Elser <josh.elser@gmail.com>
Date: 07/09/2013 04:12PM
Subject: Re: Apach Accumulo Issue
Hi Navindran,
Have you checked the monitor for any errors? You can view it by opening 
http://localhost:50095 in your browser. Depending on your setup, you may 
need to use the hostname or external IP for your VM. 
Alternatively, you could also check the contents of tserver*.debug.log and 
master*.debug.log in ACCUMULO_HOME/logs  for a reason that they didn't 
start. 
For future troubleshooting, it would also be great if you can include the 
version of CDH and the version of Apache Accumulo you're running. 
Thanks!
On Jul 9, 2013 4:06 AM, <navindran.sgk@polarisft.com> wrote:
Hi,
 
I have setup Apache Accumulo in VMWare for Ubuntu OS and Hadoop Cloudera 
Distribution, I am able to initialize Accumulo by using command,
accumulo init
 
Started Accumulo using start-all.
It said master, tserver, mointor, gc and tracer started but tserver and 
master didnt start.
 
Could pls let me know where I am going wrong.
 
Thanks and Regards,
Navindran Gowrikumar
 
BSC-1, Next-Level 4th Floor, East Wing
PolarisFT-Navallur-Chennai
 

This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only. If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited. Visit us at http://www.polarisFT.com 

 

This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only. If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited. Visit us at http://www.polarisFT.com 


This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only. If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited. Visit us at http://www.polarisFT.com 



This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only. If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited. Visit us at http://www.polarisFT.com 



This e-Mail may contain proprietary and confidential information and is 
sent for the intended recipient(s) only. If by an addressing or 
transmission error this mail has been misdirected to you, you are 
requested to delete this mail immediately. You are also hereby notified 
that any use, any form of reproduction, dissemination, copying, 
disclosure, modification, distribution and/or publication of this e-mail 
message, contents or its attachment other than by its intended recipient/s 
is strictly prohibited. Visit us at http://www.polarisFT.com 





This e-Mail may contain proprietary and confidential information and is sent for the intended
recipient(s) only.  If by an addressing or transmission error this mail has been misdirected
to you, you are requested to delete this mail immediately. You are also hereby notified that
any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment other than by its intended
recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com

Mime
View raw message