About startDSEService for 2.0 RC1

69 views
Skip to first unread message

Bury Huang

unread,
Mar 23, 2014, 1:24:30 AM3/23/14
to dedupfilesystem-...@googlegroups.com
Hi Sam,
Has anyone tried startDSEService.sh?
On my Ubuntu 13.10, it runs fine, but I cannot find port 2222 "LISTENING" in "netstat -na", and the "sdfscli --cluster-dse-info" returned connection refused failure. 
Can I know any clue to debug further? Thanks.

/etc/sdfs/sn1-dse-cfg.xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<chunk-server version="2.0RC1">
<network hostname="192.168.3.108" port="2222" use-ssl="false"/>
<locations chunk-store="/opt/sdfs/dse/sn1/chunkstore/chunks" hash-db-store="/opt/sdfs/dse/sn1/chunkstore/hdb"/>
<chunk-store allocation-size="2147483648" chunk-store="/opt/sdfs/dse/sn1/chunkstore/chunks" chunkstore-class="org.opendedup.sdfs.filestore.FileChunkStore" cluster-config="/etc/sdfs/jgroups.cfg.xml" cluster-id="sdfs-cluster" cluster-member-id="1" cluster-node-location="pdx" cluster-node-rack="rack1" compress="false" dse-password="d2dfc2fd93c967619add528d86b75db4f0d6e488093f2c8ff736449ddb80e08d" dse-password-salt="mI1eLh" enabled="true" encrypt="false" encryption-key="N+pBs1-M5JJD9EAPT8" hash-db-store="/opt/sdfs/dse/sn1/chunkstore/hdb" hash-type="murmur3_128" hashdb-class="org.opendedup.collections.FileBasedCSMap" io-threads="0" max-repl-batch-sz="128" page-size="4096"/>
</chunk-server>


Output of startDSEService.sh:
espbadmin@espb003:~$ sudo startDSEService.sh -c /etc/sdfs/sn1-dse-cfg.xml
[sudo] password for espbadmin:
Loading Hashes |))))))))))))))))))))))))))))))))))))))))))))))))))| 100%

Loaded entries 0
log4j:WARN No appenders could be found for logger (org.jgroups.stack.Configurator).
log4j:WARN Please initialize the log4j system properly.

-------------------------------------------------------------------
GMS: address=espb003-63003, cluster=sdfs-cluster, physical address=fe80:0:0:0:20c:29ff:fef3:c466%2:38019
-------------------------------------------------------------------


sdfscli --cluster-dse-info:
espbadmin@espb003:~$ sdfscli --cluster-dse-info
0 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
5 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
13 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
13 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
15 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
15 [main] INFO org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
java.io.IOException: java.net.ConnectException: Connection refused
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.getResponse(MgmtServerConnection.java:39)
        at org.opendedup.sdfs.mgmt.cli.ProcessClusterDSEInfo.runCmd(ProcessClusterDSEInfo.java:21)
        at org.opendedup.sdfs.mgmt.cli.SDFSCmdline.parseCmdLine(SDFSCmdline.java:51)
        at org.opendedup.sdfs.mgmt.cli.SDFSCmdline.main(SDFSCmdline.java:440)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
        at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:451)
        at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)
        at org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSocketFactory.createSocket(EasySSLProtocolSocketFactory.java:188)
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.connectAndGet(MgmtServerConnection.java:65)
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.connectAndGet(MgmtServerConnection.java:45)
        at org.opendedup.sdfs.mgmt.cli.MgmtServerConnection.getResponse(MgmtServerConnection.java:35)
        ... 3 more

Sam Silverberg

unread,
Mar 23, 2014, 1:27:23 AM3/23/14
to dedupfilesystem-...@googlegroups.com
Bury,

You need to mount a volume to the cluster. There is no port open on 2222 with sdfs 2.0 

After you mount the volume you will be able to run sdfscli
--
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/d/optout.

Bury Huang

unread,
Mar 23, 2014, 1:49:52 AM3/23/14
to dedupfilesystem-...@googlegroups.com
oh...got it. thanks a lot!
Reply all
Reply to author
Forward
0 new messages