Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

WebHdfsFileSystem source version 2.7.1 mismtach ?? #76

Open
amitabak opened this issue Jul 30, 2017 · 0 comments
Open

WebHdfsFileSystem source version 2.7.1 mismtach ?? #76

amitabak opened this issue Jul 30, 2017 · 0 comments

Comments

@amitabak
Copy link

I'm getting the following in the 2.7.1 version
java.lang.NullPointerException: while trying to invoke the method org.apache.hadoop.fs.FileSystem$Statistics.incrementWriteOps(int) of a null object loaded from field org.apache.hadoop.hdfs.web.WebHdfsFileSystem.statistics of an object loaded from local variable 'this'
at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.mkdirs(WebHdfsFileSystem.java:1046)

The point is that line 1046 according to http://grepcode.com/file/repo1.maven.org/maven2/org.apache.hadoop/hadoop-hdfs/2.7.1/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java?av=f

is "final HttpOpParam.Op op = PutOpParam.Op.REMOVEDEFAULTACL;"
This line can't throw the NPE

I'm using the following container "docker pull sequenceiq/hadoop-docker:2.7.1"

Can anyone shed a light on this source mismatch ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant