[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gfarm-discuss:09380] Re: question about gfrun



Hi Yikuo,

When you would like to access Gfarm file system by existing
applications, you need to use GfarmFS-FUSE or syscall hook
library.  See 

http://datafarm.apgrid.org/software/gfarmfs-fuse.en.html
http://datafarm.apgrid.org/software/syscall-hook.en.html

Regarding the problem B, it seems authentication to gfmd fails.
Would you make sure your shared secret key or gsi setting on the
host where gfmd runs?

Thanks,
Osamu

On Thu, 24 May 2007 18:53:06 +0800
"Yikuo Chan" <yikuo.chan@xxxxxxxxx> wrote:

> Hello :
> 
> Because we need convert a lot of wav file to mp3 format at the same time so
> I  think maybe gfrun can help me on
> this challenge  .
> 
> but unfortunately I meet below problem when test it :
> 
> A.should I modify program before use gfrun to execute it ? some document say
> program can execute by gfrun without modify is that true ? my program look
> like didn't understand what is gfarm uri  , below is my log  :
> 
> [root@FWD-test root]# gfrun  gfarm:lame -b 16 --resample 22.05gfarm:AS_20070302-
> 154921.wav gfarm:AS_20070302-154921.mp3
> Could not find "gfarm:AS_20070302-154921.wav".
> [root@FWD-test root]# gfrun gfarm:lame --help
> LAME 32bits version 3.97 (http://www.mp3dev.org/)
> 
> usage: gfarm:/root/lame [options] <infile> [outfile]
> 
>     <infile> and/or <outfile> can be "-", which means stdin/stdout.
> 
> RECOMMENDED:
>     lame -V2 input.wav output.mp3
> 
> OPTIONS:
>     -b bitrate      set the bitrate, default 128 kbps
>     -h              higher quality, but a little slower.  Recommended.
>     -f              fast mode (lower quality)
>     -V n            quality setting for VBR.  default n=4
>                     0=high quality,bigger files. 9=smaller files
>     --preset type   type must be "medium", "standard", "extreme", "insane",
>                     or a value for an average desired bitrate and depending
>                     on the value specified, appropriate quality settings
> will
>                     be used.
>                     "--preset help" gives more info on these
> 
>     --longhelp      full list of options
> 
> [root@FWD-test root]# gfls -l gfarm:AS_20070302-154921.wav
> -rw-r--r-- root     *           1915884 May 23 23:58 gfarm:AS_20070302-
> 154921.wav
> [root@FWD-test root]#
>   0 bash  1 bash  2 bash  3 bash  4 bash  5 bash  6 bash  7 bash  8 bash  9
> bash
> 
> 
> 
> B.Authentication problem : on same platform I have no problem to use  gfarm
> system by root , but
>    when I use non-root user  system show "authentication error" , am I miss
> some thing ?
> 
> [kk1@asterisk1 kk1]$ gfhost | gfrun -H - hostname
> gfrun: job manager: authentication error
> [kk1@asterisk1 kk1]$ gfps
> gfps: authentication error
> [kk1@asterisk1 kk1]$ ls -l .gf*
> -rw-r--r--    1 kk1      kk1           355 May 24 13:49 .gfarmrc
> -rw-rw-r--    1 kk1      kk1            74 May 10 20:15 .gfarm_shared_key
> [kk1@asterisk1 kk1]$
> [kk1@asterisk1 kk1]$ gfreg  sample.txt gfarm:sample.txt-on-gfarm
> [kk1@asterisk1 kk1]$ gfls -l gfarm:sample.txt-on-gfarm
> -rw-rw-r-- kk1      *              2780 May 24 18:52 gfarm:
> sample.txt-on-gfarm
> [kk1@asterisk1 kk1]$
> 
> Thanks ..
> 
> Yikuo Chan