sequenceiq / hadoop-docker

Hadoop docker image
https://registry.hub.docker.com/u/sequenceiq/hadoop-docker/
Apache License 2.0
1.21k stars 560 forks source link

WebHdfsFileSystem source version 2.7.1 mismtach ?? #76

Open amitabak opened 6 years ago

amitabak commented 6 years ago

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 ?