Best unofficial Apache Server developers community |
| |||||
| Aug 3, 2010 | |||||
|
Vishnu |
|
||||
| Tags: | |||||
Similar Threads
Updated: (CLK-636) Replace EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap with java.util.c
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Bob Schellink updated CLK-636:
Resolved: (CLK-636) Replace EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap with java.util.
[
https://issues.apache.org/jira/browse...nels:all-tabpanel
]
Bob Schellink resolved CLK-636.
Error: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get
I am trying to run the terasort example with a small input on a 4 node
cluster. I just did the minimal configuration (fs.default.name, master,
slaves etc.), but did not do anything specific to terasort. I am getting
the following java.lang.NullPointerException on running terasort
example:
10/07/16 11:48:29 INFO terasort.TeraSort: starting
10/07/16 11:48:29 INFO mapred.FileInputFormat: Total input paths to
process : 1
10/07/16 11:48:29 INFO util.NativeCodeLoader: Loaded the native-hadoop
library
10/07/16 11:48:29 INFO zlib.ZlibFactory: Successfully loaded &
initialized native-zlib library
10/07/16 11:48:29 INFO compress.CodecPool: Got brand-new compressor
Making 1 from 10 records
Step size is 10.0
10/07/16 11:48:30 INFO mapred.JobClient: Running job:
job_201006251254_0010
10/07/16 11:48:31 INFO mapred.JobClient: map 0% reduce 0%
10/07/16 11:48:38 INFO mapred.JobClient: map 50% reduce 0%
10/07/16 11:48:39 INFO mapred.JobClient: map 100% reduce 0%
10/07/16 11:48:43 INFO mapred.JobClient: Task Id :
attempt_201006251254_0010_r_000000_0, Status : FAILED
Error: java.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getM
apCompletionEvents(ReduceTask.java:2683)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(
ReduceTask.java:2605)
10/07/16 11:48:49 INFO mapred.JobClient: Task Id :
attempt_201006251254_0010_r_000000_1, Status : FAILED
Error: java.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getM
apCompletionEvents(ReduceTask.java:2683)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(
ReduceTask.java:2605)
10/07/16 11:48:57 INFO mapred.JobClient: Task Id :
attempt_201006251254_0010_r_000000_2, Status : FAILED
Error: java.lang.NullPointerException
at
java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getM
apCompletionEvents(ReduceTask.java:2683)
at
org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(
ReduceTask.java:2605)
Also, I got similar error from reduce jobs on running a streaming
map-reduce application. In this case also, the map tasks completed
successfully.
Any pointers are appreciated.
Thanks,
Ravi Chinni
java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap
I installed Java and Hadoop on a GoGrid cloud server using Red Hat Enterprise Linux Server release 5.1 (Tikanga). Hadoop installed fine and starts fine, however I get an error (java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap) while running the Hadoop wordcount example. My guess was that this was a localhost or IPv6 issue. * I have tested replacing 'localhost' with both the local IP, and server IP addresses (when out of options) in Hadoop conf * I have disabled IPv6 both in sysctl.conf and hadoop-env.sh (former followed by a server restart) Any thoughts? Thank you. The output is given below # bin/hadoop jar hadoop-0.20.2-examples.jar wordcount datasets tests/out7 10/07/27 05:44:59 INFO input.FileInputFormat: Total input paths to process : 1 10/07/27 05:44:59 INFO mapred.JobClient: Running job: job_201007270544_0001 10/07/27 05:45:00 INFO mapred.JobClient: map 0% reduce 0% 10/07/27 05:45:12 INFO mapred.JobClient: map 100% reduce 0% 10/07/27 05:45:17 INFO mapred.JobClient: Task Id : attempt_201007270544_0001_r_000000_0, Status : FAILED Error: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(Unknown Source) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents(ReduceTask.java:2683) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(ReduceTask.java:2605) 10/07/27 05:45:24 INFO mapred.JobClient: Task Id : attempt_201007270544_0001_r_000000_1, Status : FAILED Error: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(Unknown Source) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents(ReduceTask.java:2683) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(ReduceTask.java:2605) 10/07/27 05:45:30 INFO mapred.JobClient: Task Id : attempt_201007270544_0001_r_000000_2, Status : FAILED Error: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(Unknown Source) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.getMapCompletionEvents(ReduceTask.java:2683) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$GetMapEventsThread.run(ReduceTask.java:2605) 10/07/27 05:45:39 INFO mapred.JobClient: Job complete: job_201007270544_0001 10/07/27 05:45:39 INFO mapred.JobClient: Counters: 12 10/07/27 05:45:39 INFO mapred.JobClient: Job Counters 10/07/27 05:45:39 INFO mapred.JobClient: Launched reduce tasks=4 10/07/27 05:45:39 INFO mapred.JobClient: Launched map tasks=1 10/07/27 05:45:39 INFO mapred.JobClient: Data-local map tasks=1 10/07/27 05:45:39 INFO mapred.JobClient: Failed reduce tasks=1 10/07/27 05:45:39 INFO mapred.JobClient: FileSystemCounters 10/07/27 05:45:39 INFO mapred.JobClient: HDFS_BYTES_READ=15319 10/07/27 05:45:39 INFO mapred.JobClient: FILE_BYTES_WRITTEN=12847 10/07/27 05:45:39 INFO mapred.JobClient: Map-Reduce Framework 10/07/27 05:45:39 INFO mapred.JobClient: Combine output records=934 10/07/27 05:45:39 INFO mapred.JobClient: Map input records=149 10/07/27 05:45:39 INFO mapred.JobClient: Spilled Records=934 10/07/27 05:45:39 INFO mapred.JobClient: Map output bytes=25346 10/07/27 05:45:39 INFO mapred.JobClient: Combine input records=2541 10/07/27 05:45:39 INFO mapred.JobClient: Map output records=2541
How can I set concurrent policy for a provider?
I setup a provider service in activeMQ and want to offer 1000 requests at the same time. How can I set the thread policy for this provider?
java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map;
I have a piece of code that retrieves data from oracle database XML type. It works on tomcat installation on ubuntu. But fails on CentOS. Any ideas? java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) gdb.UnmarshallerAPI.unmarshalAdvisors(UnmarshallerAPI.java:80) gdb.ReportBeanStudent.studentSearchByNameWithDetails(ReportBeanStudent.java:581) gdb.ProcessInput.listInfoAboutStudentsinDetail(ProcessInput.java:688) gdb.ProcessInput.doPost(ProcessInput.java:116) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so) javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so) Thanks,vm
Created: (CAMEL-2958) java.util.ConcurrentModificationException in Method org.apache.camel.util.Case
java.util.ConcurrentModificationException in Method org.apache.camel.util.CaseInsensitiveMap.putAll()
svn commit: r952000 - /tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java
Author: markt Date: Sun Jun 6 21:50:11 2010 New Revision: 952000 URL: http://svn.apache.org/viewvc?rev=952000&view=rev Log: Make syncs consistent Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleBase.java URL: http://svn.apache.org/viewvc/tomcat/t...000&view=diff
svn commit: r981451 - /tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java
Author: markt Date: Mon Aug 2 10:58:23 2010 New Revision: 981451 URL: http://svn.apache.org/viewvc?rev=981451&view=rev Log: Javadoc fixes Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java URL: http://svn.apache.org/viewvc/tomcat/t...451&view=diff
svn commit: r981487 - in /tomcat/trunk/java/org/apache/catalina: startup/ContextConfig.java util/Lif
Author: rjung Date: Mon Aug 2 12:44:45 2010 New Revision: 981487 URL: http://svn.apache.org/viewvc?rev=981487&view=rev Log: Javadocs fix: @Link -> @link Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java Modified: tomcat/trunk/java/org/apache/catalina/startup/ContextConfig.java URL: http://svn.apache.org/viewvc/tomcat/t...487&view=diff
svn commit: r950929 - /tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java
Author: markt Date: Thu Jun 3 10:02:30 2010 New Revision: 950929 URL: http://svn.apache.org/viewvc?rev=950929&view=rev Log: Re-order so it is easier to check all objects are re-cycled Modified: tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java Modified: tomcat/trunk/java/org/apache/tomcat/util/http/mapper/MappingData.java URL: http://svn.apache.org/viewvc/tomcat/t...929&view=diff
svn commit: r981501 - in /tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile: StackMap.java Sta
Author: rjung Date: Mon Aug 2 13:08:37 2010 New Revision: 981501 URL: http://svn.apache.org/viewvc?rev=981501&view=rev Log: Replace UTF section sign in Javadoc by HTML entity. Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMap.java tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapEntry.java tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTable.java tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMap.java URL: http://svn.apache.org/viewvc/tomcat/t...501&view=diff
svn commit: r960348 - in /tomcat/trunk: java/org/apache/tomcat/util/net/JIoEndpoint.java test/org/ap
Author: markt Date: Sun Jul 4 15:44:45 2010 New Revision: 960348 URL: http://svn.apache.org/viewvc?rev=960348&view=rev Log: Revert r958362, r960083, r958406, r960069. r958362 broke the TCK tests and the other commits were sufficiently tightly coupled to it that it was easier to revert all of them than try to unpick them. Removed: tomcat/trunk/test/org/apache/catalina/core/TestAsyncListener.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...348&view=diff
svn commit: r958362 - in /tomcat/trunk: java/org/apache/tomcat/util/net/JIoEndpoint.java test/org/ap
Author: pero Date: Sun Jun 27 11:02:10 2010 New Revision: 958362 URL: http://svn.apache.org/viewvc?rev=958362&view=rev Log: Start JioEndpoint timeout thread, to handle timeout a AsyncListener. Added: tomcat/trunk/test/org/apache/catalina/core/TestAsyncListener.java (with props) Modified: tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/tomcat/util/net/JIoEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...362&view=diff
svn commit: r950904 - /tomcat/trunk/java/org/apache/tomcat/util/http/FastHttpDateFormat.java
Author: markt Date: Thu Jun 3 07:50:51 2010 New Revision: 950904 URL: http://svn.apache.org/viewvc?rev=950904&view=rev Log: Fix an Eclipse nag Modified: tomcat/trunk/java/org/apache/tomcat/util/http/FastHttpDateFormat.java Modified: tomcat/trunk/java/org/apache/tomcat/util/http/FastHttpDateFormat.java URL: http://svn.apache.org/viewvc/tomcat/t...904&view=diff
Re: svn commit: r958362 - in /tomcat/trunk: java/org/apache/tomcat/util/net/JIoEndpoint.java test/or
I am highly interessed why does my fix is wrong :-) Is my fix really wrong, you can revert my checkin. Today I present the new Tomcat 7 release at Java User Forum Stuttgart (Germany). Many thanks, Peter Am 01.07.2010 um 08:20 schrieb jean-frederic clere: On 06/30/2010 09:15 PM, Peter Roßbach wrote: > Hi Jean Frederic! > > Why does my change break the TCK? Is the current 12/09 servlet spec > not > correct? How must the async timeout functionalty work? > > Can you comment my other findings, please? I will have a look today to the stuff. Cheers Jean-Frederic
svn commit: r966596 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Author: markt Date: Thu Jul 22 11:51:00 2010 New Revision: 966596 URL: http://svn.apache.org/viewvc?rev=966596&view=rev Log: Poll time and wait are both in milliseconds Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...596&view=diff
svn commit: r979852 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Author: markt Date: Tue Jul 27 20:27:16 2010 New Revision: 979852 URL: http://svn.apache.org/viewvc?rev=979852&view=rev Log: Only need to wait a single pollTime, not one pollTime for each poller. Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...852&view=diff
svn commit: r979872 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Author: markt Date: Tue Jul 27 21:05:16 2010 New Revision: 979872 URL: http://svn.apache.org/viewvc?rev=979872&view=rev Log: Code clean-up Remove deps on o.a.catalina Fix a couple of Eclipse nags Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...872&view=diff
svn commit: r981061 - /tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
Author: markt Date: Sat Jul 31 14:02:29 2010 New Revision: 981061 URL: http://svn.apache.org/viewvc?rev=981061&view=rev Log: Revert r966596 - pollTime is in microseconds, wait is in milliseconds Add an additional wait that prevents a JVM crash on shutdown detected in TestAsyncContextImpl tests Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/t...061&view=diff
Shared library and exception handling on FreeBSD
Aug 3, 2010 Best hosting provider Aug 2, 2010 Best hosting provider Aug 2, 2010 Free Forum Hosting - Leading Provider No-Ad Special Jun 23, 2010 | |||||
(82 lines) Aug 5, 2010 15:46