Thanks, you are right. Solved.

2010/3/25 zhuweimin <xim-...@tsm.kddilabs.jp>:
> Hi
>
>>
>> How to specify not default (64 Mb) block size for fuse_dfs !?
>>
> Because hdfs-site.xml not in CLASSHPATH in the file of fuse_dfs_wrapper.sh.
> So you need to edit the fuse_dfs_wrapper.sh and add one line
>
> export CLASSPATH=<the directory of your hdfs-site.xml>
>
> before this part
>
> for f in ls $HADOOP_HOME/lib/*.jar $HADOOP_HOME/*.jar ; do
>  export CLASSPATH=$CLASSPATH:$f
> done
>
> I wish it can resolve your question.
>
>
>> -----Original Message-----
>> From: fenix.ser...@gmail.com [mailto:fenix.ser...@gmail.com]
>> Sent: Wednesday, March 24, 2010 10:22 PM
>> To: hdfs-user@hadoop.apache.org
>> Subject: fuse_dfs_wrapper && fuse_dfs block size
>>
>> Hello
>>
>> How to specify not default (64 Mb) block size for fuse_dfs !?
>>
>> In hdfs-site.xml 32MB:
>>
>>   <property>
>>                 <name>dfs.block.size</name>
>>                 <value>33554432</value>
>>   </property>
>>
>> via command line hadoop dfs -copyFromLocal ...... - all newly created
>> blocks - 32Mb,
>>
>> but fuse_dfs after mounting creates blocks with default 64Mb size !
>>
>> Best regards,
>> Sergey R.
>
>
>

Reply via email to