NullPointerException when trying to run sample or shell
5 views
Skip to first unread message
Joe Mihm
unread,
Aug 26, 2013, 4:55:43 PM8/26/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nectar-u...@googlegroups.com
Hi guys,
I am pretty new to hadoop and stumbled across Nectar and am having some trouble trying to run the sample and the shell.
> java -cp Nectar-analytics-0.0.1-SNAPSHOT.jar:covariance.jar com.test.Covariance Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) at java.util.concurrent.FutureTask.get(FutureTask.java:111) at com.test.Covariance.main(Covariance.java:27) Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:78) at java.io.BufferedReader.<init>(BufferedReader.java:94) at java.io.BufferedReader.<init>(BufferedReader.java:109) at com.zinnia.nectar.regression.language.primitive.impl.CommandExecutor.call(CommandExecutor.java:83) at com.zinnia.nectar.regression.language.primitive.impl.CommandExecutor.call(CommandExecutor.java:32) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)
I have access to a hadoop cluster via ssh that I have added and downloaded Nectar, set HADOOP_HOME, and created an input folder with book.csv.
Note: Nectar-analytics-0.0.1-SNAPSHOT.jar is not in HADOOP_HOME but in currently in the same folder as covariance.jar. I didn't think this would be a problem yet.