sandeepkru / kosmosfs

Automatically exported from code.google.com/p/kosmosfs
Apache License 2.0
0 stars 0 forks source link

kfs-0.5 setup problem #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

operation system: centos 6.2 64-bit

kfs version: kfs-0.5 

[root@gifer scripts]# python kfssetup.py -f machines.cfg  -b ../build -w 
../webui -s
kfssetup.py:28: DeprecationWarning: The popen2 module is deprecated.  Use the 
subprocess module.
  import socket,threading,popen2
kfssetup.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
  import md5
cp: 略过目录"./scripts"
gtar: 从成员名中删除开头的“/”
[localhost]: chunkserver exists...skipping
gtar: 从成员名中删除开头的“/”
[localhost]: metaserver exists...skipping
gtar: 从成员名中删除开头的“/”
[localhost]: chunkserver exists...skipping
gtar: 从成员名中删除开头的“/”
[localhost]: chunkserver exists...skipping

[root@gifer tools]#  ./kfsping -c -s localhost -p 20000
Meta-server:  0
Total-space: 0 (MB)
Used-space: 0 (MB)

is setup success?

if no what should i do ?

thank you!

Original issue reported on code.google.com by zhongdc8...@gmail.com on 21 May 2012 at 8:38

GoogleCodeExporter commented 8 years ago
[root@gifer scripts]# python kfssetup.py -f machines.cfg  -b ../build -w 
../webui
kfssetup.py:28: DeprecationWarning: The popen2 module is deprecated.  Use the 
subprocess module.
  import socket,threading,popen2
kfssetup.py:29: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
  import md5
cp: 略过目录"./scripts"
gtar: 从成员名中删除开头的“/”
gtar: 从成员名中删除开头的“/”
Done with 4 workers
[root@gifer scripts]#

我试着启动KFS服务: 
[root@gifer scripts]#  python kfslaunch.py -f machines.cfg --start
kfslaunch.py:31: DeprecationWarning: The popen2 module is deprecated.  Use the 
subprocess module.
  import os,os.path,sys,getopt,popen2
[192.168.181.219]: Starting metaserver...
[192.168.181.219]: Starting cleaner...

Original comment by zhongdc8...@gmail.com on 21 May 2012 at 11:13

GoogleCodeExporter commented 8 years ago
machines.cfg:

# KFS Machine configuration file
[metaserver]
node: 192.168.181.219
clusterkey: test-cluster
rundir: /home/gifer/kfsRun/meta
baseport: 20000
[chunkserver1]
node: 192.168.181.218
rundir: /kfs/run
chunkDir: /kfs/chunk
baseport: 30000
space: 500 M
[chunkserver2]
node: 192.168.181.220
rundir: /kfs/run
chunkDir: /kfs/chunk
baseport: 30000
space: 500 M
[chunkserver3]
node: 192.168.181.128
rundir: /kfs/run
chunkDir: /kfs/chunk
baseport: 30000
space: 500 M

Original comment by zhongdc8...@gmail.com on 21 May 2012 at 11:14