Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 12 Oct 2011 at 12:40

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

No branches or pull requests

1 participant