Unable to start DSE Engine

263 views
Skip to first unread message

Jörg

unread,
Mar 29, 2013, 11:48:33 AM3/29/13
to dedupfilesystem-...@googlegroups.com
Hi Sam,

Everything is going well but the DSE engine has the same error every time.

I dont know what I did wrong, I hope you can help me.


Config:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<chunk-server version="0.9.6">
<network hostname="0.0.0.0" port="2222" use-udp="false"/>
<locations chunk-store="/opt/ddb/dse/chunkstore/chunks" hash-db-store="/opt/ddb/dse/chunkstore/hdb"/>
<chunk-store allocation-size="107374182400" chunk-gc-schedule="0 0 0/4 * * ?" chunk-store-dirty-timeout="1000" chunk-store-read-cache="5" encrypt="false" encryption-key="h44dlctMqB8MEY2CQ97PRHf-sX7b3-mdGdT" eviction-age="6" page-size="4096" pre-allocate="false" read-ahead-pages="1"/>
</chunk-server>


 Error:
root@sdfstest:/etc/sdfs# startDSEService.sh /etc/sdfs/hashserver-cfg.xml
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/cache/CacheLoader
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:188)
        at org.opendedup.sdfs.servers.HashChunkService.<init>(HashChunkService.java:49)
        at org.opendedup.sdfs.servers.HCServiceProxy.<clinit>(HCServiceProxy.java:54)
        at org.opendedup.sdfs.network.NetworkHCServer.init(NetworkHCServer.java:69)
        at org.opendedup.sdfs.network.NetworkHCServer.main(NetworkHCServer.java:62)
Caused by: java.lang.ClassNotFoundException: com.google.common.cache.CacheLoader
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 6 more
#### Shutting down StorageHub ####
#### Shutting Down Network Service ####
#### Shutting down HashStore ####


Thanks for help



Sam Silverberg

unread,
Mar 29, 2013, 11:54:09 AM3/29/13
to dedupfilesystem-...@googlegroups.com
Jorge,

The issue is its not finding guava-14.0.1.jar edit the startDSEService.sh file and append the path to guava-14.0.1.jar at the end of the classpath (in the libs folder for sdfs). I will fix in the next release.





--
You received this message because you are subscribed to the Google Groups "dedupfilesystem-sdfs-user-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedupfilesystem-sdfs-u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jörg

unread,
Mar 29, 2013, 11:58:20 AM3/29/13
to dedupfilesystem-...@googlegroups.com
ok

thanks for help
To unsubscribe from this group and stop receiving emails from it, send an email to dedupfilesystem-sdfs-user-discuss+unsubscribe@googlegroups.com.

Алексей Силк

unread,
Aug 10, 2013, 9:41:54 AM8/10/13
to dedupfilesystem-...@googlegroups.com
root@od01:/usr/share/sdfs# ./mkfs.sdfs  --volume-name=volume_s3 --volume-capacity=1GB --aws-enabled=true --cloud-access-key=AKIAJQMAWUA --cloud-bucket-name=rootiks-test1 --cloud-secret-key=YNEnJZdSnHWuYfgK4uOxRvDMFoi
Attempting to create SDFS volume ...
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/cache/CacheLoader
        at org.opendedup.sdfs.VolumeConfigWriter.parseCmdLine(VolumeConfigWriter.java:277)
        at org.opendedup.sdfs.VolumeConfigWriter.main(VolumeConfigWriter.java:959)
Caused by: java.lang.ClassNotFoundException: com.google.common.cache.CacheLoader
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 2 more
root@od01:/usr/share/sdfs#

same problem here. ubuntu 12.04. have downloaded guava and installed it to lib catalog + added path
also installed libguava-java

same error ... 

any suggestions?



пятница, 29 марта 2013 г., 19:48:33 UTC+4 пользователь Jörg написал:

Koset Surakomol

unread,
Aug 10, 2013, 9:51:37 AM8/10/13
to dedupfilesystem-...@googlegroups.com
This might be the same or similar issue I just posted yesterday as well.

Koset




--
You received this message because you are subscribed to the Google Groups "dedupfilesystem-sdfs-user-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedupfilesystem-sdfs-u...@googlegroups.com.

Алексей Силк

unread,
Aug 10, 2013, 9:53:40 AM8/10/13
to dedupfilesystem-...@googlegroups.com
Yepp ... No answers there ...


пятница, 29 марта 2013 г., 19:48:33 UTC+4 пользователь Jörg написал:
Hi Sam,

Sam Silverberg

unread,
Aug 10, 2013, 4:35:38 PM8/10/13
to dedupfilesystem-...@googlegroups.com

make sure guava-14.0.1.jar in is /usr/share/sdfs/lib/

Alexey Silk

unread,
Aug 10, 2013, 10:31:35 PM8/10/13
to dedupfilesystem-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First you need to download guava-14.0.1.jar to /usr/share/sdfs/lib/
and install liblog4j1.2-java.

Nextput new path :/usr/share/sdfs/lib/guava-14.0.1.jar: into scripts
like ./mount.sdfs or startDSEservice




11.08.2013 0:35, Sam Silverberg пишет:
>>> chunk-store="/opt/ddb/dse/**chunkstore/chunks"
>>> hash-db-store="/opt/ddb/dse/**chunkstore/hdb"/> <chunk-store
>>> allocation-size="107374182400" chunk-gc-schedule="0 0 0/4 * *
>>> ?" chunk-store-dirty-timeout="**1000"
>>> chunk-store-read-cache="5" encrypt="false"
>>> encryption-key="**h44dlctMqB8MEY2CQ97PRHf-sX7b3-**mdGdT"
>>> eviction-age="6" page-size="4096" pre-allocate="false"
>>> read-ahead-pages="1"/> </chunk-server>
>>>
>>>
>>> Error: root@sdfstest:/etc/sdfs# startDSEService.sh
>>> /etc/sdfs/hashserver-cfg.xml Exception in thread "main"
>>> java.lang.**NoClassDefFoundError:
>>> com/google/common/cache/**CacheLoader at
>>> java.lang.Class.forName0(**Native Method) at
>>> java.lang.Class.forName(Class.**java:188) at
>>> org.opendedup.sdfs.servers.**HashChunkService.<init>(**
>>> HashChunkService.java:49) at
>>> org.opendedup.sdfs.servers.**HCServiceProxy.<clinit>(**
>>> HCServiceProxy.java:54) at
>>> org.opendedup.sdfs.network.**NetworkHCServer.init(**
>>> NetworkHCServer.java:69) at
>>> org.opendedup.sdfs.network.**NetworkHCServer.main(**
>>> NetworkHCServer.java:62) Caused by:
>>> java.lang.**ClassNotFoundException: com.google.common.cache.**
>>> CacheLoader at
>>> java.net.URLClassLoader$1.run(**URLClassLoader.java:366) at
>>> java.net.URLClassLoader$1.run(**URLClassLoader.java:355) at
>>> java.security.**AccessController.doPrivileged(**Native Method)
>>> at
>>> java.net.URLClassLoader.**findClass(URLClassLoader.java:**354)
>>> at java.lang.ClassLoader.**loadClass(ClassLoader.java:**423)
>>> at sun.misc.Launcher$**AppClassLoader.loadClass(**
>>> Launcher.java:308) at
>>> java.lang.ClassLoader.**loadClass(ClassLoader.java:**356) ...
>>> 6 more #### Shutting down StorageHub #### #### Shutting Down
>>> Network Service #### #### Shutting down HashStore ####
>>>
>>>
>>> Thanks for help
>>>
>>>
>>>
>>> --
>> You received this message because you are subscribed to the
>> Google Groups "dedupfilesystem-sdfs-user-discuss" group. To
>> unsubscribe from this group and stop receiving emails from it,
>> send an email to
>> dedupfilesystem-sdfs-u...@googlegroups.com.
>> For more options, visit
>> https://groups.google.com/groups/opt_out.
>>
>>
>>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIG94IACgkQimV6um2VJLtpJwCdEDlBqRQh2jF85nm73TToZNec
QEMAnAkVWY4Duw7WaAaSpSMzB9voGJRq
=hk+F
-----END PGP SIGNATURE-----
0x6D9524BB.asc
Reply all
Reply to author
Forward
0 new messages