ramonlopesb / opendedup

Automatically exported from code.google.com/p/opendedup
0 stars 0 forks source link

[fuse.SDFS.SDFSFileSystem]: java.lang.NullPointerException #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deployed Opendedup appliance 1.1.1
2. Create and mount sdfs volume (from console)
3. Share it as nfs (from console)
4. Mount the NFS share from ESX 4.0
5. Started a process which performs many writes/reads to the vmdk (mostly reads 
though).

What is the expected output? What do you see instead?
Not expecting and NullPointerException to appear. Can this cause data 
corruption or it is benign?

What version of the product are you using? On what operating system?
Opendedup appliance 1.1.1 beta

Please provide any additional information below.
This is the output from the console:
root@sdfsnas:/# sdfscli --volume-info
log4j:WARN No appenders could be found for logger 
(org.apache.commons.httpclient.HttpClient).
log4j:WARN Please initialize the log4j system properly.
Volume Capacity : 100 GB
Volume Current Size : 80 GB
Volume Max Percentage Full : Unlimited
Volume Duplicate Data Written : 203.1 MB
Volume Unique Data Written: 6.1 GB
Volume Data Read : 642.2 MB
Volume Virtual Dedup Rate (Dup/Total Bytes Written) : 3.13%
Volume Real Dedup Rate (DSE Size/Total Bytes Written) : -29.14%
Volume Actual Storage Savings (Unique Blocks Stored/Current Size) : 89.78%

root@sdfsnas:~# mount.sdfs --v sdfs_vol1 -m /media/sdfs
Running SDFS Version 1.1.1
reading config file = /etc/sdfs/sdfs_vol1-volume-cfg.xml

15:09:54.710     main  INFO [fuse.FuseMount]: Mounted filesystem
16:01:20.788 Thread-123 ERROR [fuse.SDFS.SDFSFileSystem]: 
java.lang.NullPointerException
java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source)
        at com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.containsKey(ConcurrentLinkedHashMap.java:723)
        at org.opendedup.sdfs.filestore.DedupFileStore.fileOpen(DedupFileStore.java:181)
        at fuse.SDFS.SDFSCmds.getAttr(SDFSCmds.java:108)
        at fuse.SDFS.SDFSFileSystem.getxattr(SDFSFileSystem.java:899)
        at fuse.Filesystem3ToFuseFSAdapter.getxattr(Filesystem3ToFuseFSAdapter.java:429)
16:01:24.147 Thread-76 ERROR [fuse.SDFS.SDFSFileSystem]: 
java.lang.NullPointerException
java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.containsKey(Unknown Source)
        at com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.containsKey(ConcurrentLinkedHashMap.java:723)
        at org.opendedup.sdfs.filestore.DedupFileStore.fileOpen(DedupFileStore.java:181)
        at fuse.SDFS.SDFSCmds.getAttr(SDFSCmds.java:108)
        at fuse.SDFS.SDFSFileSystem.getxattr(SDFSFileSystem.java:899)
        at fuse.Filesystem3ToFuseFSAdapter.getxattr(Filesystem3ToFuseFSAdapter.java:429)

Original issue reported on code.google.com by noam.hel...@gmail.com on 12 Oct 2011 at 12:40