Neena,Thank you very much for your insightful reply.After doing all steps you specified, i was unable to run. on run of the program i got the following errorpls do revert me with the solution"Creating NetBeans logger with level FINEFailed to add NetBeans loggerjava.lang.NoClassDefFoundError: org/openide/windows/OutputWriterat com.karmasphere.studio.common.netbeans.logging.NetbeansLogListener.<init>(NetbeansLogListener.java:54)at com.karmasphere.studio.common.netbeans.logging.NetbeansLogListener$Factory.newLogListeners(NetbeansLogListener.java:41)at com.karmasphere.studio.common.logging.LogListenerList.<init>(LogListenerList.java:28)at com.karmasphere.studio.common.logging.LogListenerList.getInstance(LogListenerList.java:20)at com.karmasphere.studio.common.logging.CommonsLoggingAdapter.<init>(CommonsLoggingAdapter.java:180)at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)at java.lang.reflect.Constructor.newInstance(Constructor.java:513)at java.lang.Class.newInstance0(Class.java:355)at java.lang.Class.newInstance(Class.java:308)at org.apache.commons.logging.LogFactory.createFactory(LogFactory.java:1160)at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:1065)at java.security.AccessController.doPrivileged(Native Method)at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:1062)at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:569)at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:704)at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:129)at WordCount$Reduce.main(WordCount.java:46)Caused by: java.lang.ClassNotFoundException: org.openide.windows.OutputWriterat java.net.URLClassLoader$1.run(URLClassLoader.java:202)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(URLClassLoader.java:190)at java.lang.ClassLoader.loadClass(ClassLoader.java:307)at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)at java.lang.ClassLoader.loadClass(ClassLoader.java:248)... 19 more0BUILD SUCCESSFUL (total time: 1 second)"rgdsAjitha
Neena,1)Information about Netbeans taken from Help->About"NetBeans IDE and NetBeans Platform are based on software from netbeans.org, which has been dual licensed under the Common Development and Distribution License (CDDL) and the GNU General Public License version 2 with Classpath exception. For more information, please visit www.netbeans.org."
Product Version: NetBeans IDE 6.9.1 (Build 201007282301)
Java: 1.6.0_21; Java HotSpot(TM) Client VM 17.0-b17
System: Windows Vista version 6.0 running on x86; Cp1252; en_IN (nb)
Userdir: C:\Users\ajitha\.netbeans\6.9
2) Information about Karmasphere Studio (Click Help->About Karmasphere Studio).
- Karmasphere Libraries from Vaidya 1.4.0.0 (rev 18647)
- Karmasphere Studio for Cascading 1.4.0.0 (rev 18647)
- Karmasphere Studio Common 1.4.0.0 (rev 18647)
- Karmasphere Studio Common Netbeans UI 1.4.0.0 (rev 18647)
- Karmasphere Client for Hadoop 1.4.0.0 (rev 18647)
- Karmasphere Studio for Hadoop MapReduce Model 1.4.0.0 (rev 18647)
- Karmasphere Studio for Hadoop MapReduce NetBeans UI 1.4.0.0 (rev 18647)
- Karmasphere Studio for Hadoop Model 1.4.0.0 (rev 18647)
- Karmasphere Studio for Hadoop NetBeans UI 1.4.0.0 (rev 18647)
- Karmasphere Studio for Hadoop Samples 1.4.0.0 (rev 18647)
3) Information about Karmasphere Studio Debug from the Output window (Press Ctrl + 4).
Welcome to Karmasphere Studio.
A message (even a warning or stack trace) in this window does not necessarily mean that anything broke; but if anything DID break, this window will help Karmasphere to work out what broke, and why.
FINE com.karmasphere.studio.common.persist.PersistentObjectRegistry <init>: Loaded PersistenceManager implementation com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loading decorators for HadoopLocalCluster
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loaded 0 decorators for HadoopLocalCluster
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loading decorators for HadoopLocalFilesystem
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: New decorator BrowseDecorator(HadoopLocalFilesystem) usingcom.karmasphere.studio.hadoop.netbeans.decorator.NetbeansFilesystemBrowseDecorator@69e732(com.karmasphere.studio.hadoop.filesystem.HadoopFilesystem)
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loaded 1 decorators for HadoopLocalFilesystem
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@27493784 owner=In-Process Thread property=defaultFilesystem setId=00000000-0000-0000-377a-9971000102e5
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@5440609 owner=In-Process Thread property=defaultFilesystem setId=00000000-0000-0000-377a-9971000102e5
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@26657129 owner=In-Process Thread property=defaultFilesystem setId=00000000-0000-0000-377a-9971000102e5
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager getRootFolder: Configuration root is MultiFileObject@c21095[com-karmasphere-studio-hadoop-target]
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager load: Loading MultiFileObject@c21095[com-karmasphere-studio-hadoop-target]
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager load: Loading MultiFileObject@19b4e60[com-karmasphere-studio-hadoop-target/HadoopJarJob_1d3577be-e59f-40f5-a854-7b09c17c448c.xml]
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loading decorators for HadoopJarJob
FINE com.karmasphere.studio.common.decorator.DecoratorMap <init>: Loaded 0 decorators for HadoopJarJob
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@31417891 owner=Job#7 property=defaultCluster setId=00000000-0000-0000-ffff-fffff0356687
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager load: Loading MultiFileObject@7b2d93[com-karmasphere-studio-hadoop-target/HadoopJarJob_6c09553a-8794-41cd-b87b-44a60c7b9aae.xml]
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@17172710 owner=Job#8 property=defaultCluster setId=00000000-0000-0000-ffff-fffff0356687
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager load: Loading MultiFileObject@4e1c6e[com-karmasphere-studio-hadoop-target/HadoopJarJob_7c57c5dc-f877-4cd6-bff5-198e1d861259.xml]
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@13093729 owner=Job#9 property=defaultCluster setId=00000000-0000-0000-ffff-fffff0356687
FINE com.karmasphere.studio.common.netbeans.persist.NetbeansPersistenceManager load: Loading MultiFileObject@1d30fe7[com-karmasphere-studio-hadoop-target/HadoopJarJob_a3028f78-a2d3-444b-9a66-2409143206bf.xml]
FINE com.karmasphere.studio.common.persist.PersistentObjectReference setId: PersistentObjectReference@9799866 owner=Job#10 property=defaultCluster setId=00000000-0000-0000-ffff-fffff0356687
4) Information about the Hadoop Customized Job Run from the Output window (Press Ctrl + 4).
i)Hadoop deployment wordcount.java
Using cluster In-Process Thread (0.20.2)
Using filesystem Local Filesystem C:\
Preparing to execute job WordCount Execution #1
Invoking job.
Building configuration resources...OK.
Creating temporary directory...OK.
Storing configuration resources...OK.
Writing to C:\Users\ajitha\AppData\Local\Temp\karmasphere-assembler-221166692061880059.dir\hadoop-job-182282884406729917.jar...
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-cli-2.0-SNAPSHOT.jar
Adding standard JAR library lib/commons-codec-1.4.jar
Adding standard JAR library lib/commons-httpclient-3.1.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-logging-1.1.1.jar
Adding standard JAR library lib/commons-net-1.4.1.jar
Adding standard JAR library lib/oro-2.0.8.jar
Adding standard JAR library lib/log4j-1.2.15.jar
Adding standard JAR library lib/xmlenc-0.52.jar
Adding standard JAR library lib/jets3t-0.7.1.jar
Adding standard JAR library lib/hadoop-0.20.2-core.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\hadoop-0.20.2-streaming.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\hadoop-0.20-karmasphere-extras.jar
Aggregating configuration file META-INF/services/com.karmasphere.studio.hadoop.client.mapred.JobSubmitterFactory
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\jsr305.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-beanutils-core-1.8.2.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-lang-2.4.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-io-1.4.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\commons-vfs-1.0.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\collections-generic-4.01.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\karmasphere-client-apache.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\karmasphere-client-amazon.jar
Aggregating configuration file META-INF/vfs-providers.xml
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\aws-java-sdk-1.0.003-ioe.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\jsch-0.1.42-patched.jar
Merging JAR library C:\Users\ajitha\.netbeans\6.9\modules\ext\karmasphere-client.jar
Aggregating configuration file META-INF/vfs-providers.xml
File D:\WordCount\dist\WordCount.jar from class path does not exist.
Adding aggregated configuration file META-INF/services/com.karmasphere.studio.hadoop.client.mapred.JobSubmitterFactory
Adding aggregated configuration file META-INF/vfs-providers.xml
Writing done. File size is 7M
Adding Hadoop configuration root file:/C:/Users/ajitha/AppData/Local/Temp/karmasphere-assembler-221166692061880059.dir/config-root/ to roots.
Adding CompositeJar file jar:file:/C:/Users/ajitha/AppData/Local/Temp/karmasphere-assembler-221166692061880059.dir/hadoop-job-182282884406729917.jar!/ to roots.
Failed to obtain a FileObject for residual ClassPath entry jar:file:/D:/WordCount/dist/WordCount.jar!/
Adding Hadoop configuration root file:/C:/Users/ajitha/AppData/Local/Temp/karmasphere-assembler-221166692061880059.dir/config-root/ to roots.
Adding CompositeJar file jar:file:/C:/Users/ajitha/AppData/Local/Temp/karmasphere-assembler-221166692061880059.dir/hadoop-job-182282884406729917.jar!/ to roots.
Failed to obtain a FileObject for residual ClassPath entry jar:file:/D:/WordCount/dist/WordCount.jar!/
Job submission successful.
Invoking job submission callbacks on unknown jobid on cluster In-Process Thread (0.20.2)
ii)Hadoop deployment wordcount.java(run)
java.lang.NoClassDefFoundError: WordCount/java
Caused by: java.lang.ClassNotFoundException: WordCount.java
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: WordCount.java. Program will exit.
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)
rgds
Ajitha