Hi,

I'm trying to create a MapFile.Reader in my MapReduce Driver. In order
to get the FileSystem, I call conf.getFs(), but that gives me the
following NullPointerException:

Exception in thread "main" java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobClient.getFs(JobClient.java:216)
        at org.andrewhitchcock.netflix.NetflixDriver.main(NetflixDriver.java:47)
        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:585)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:137)

I imagine I'm doing something wrong, but I can't figure out how to solve this.

Thanks,
Andrew

Reply via email to