[Gluster-users] Some question of DHT Translator?

Kirby Zhou kirbyzhou at sohu-rd.com
Tue Feb 3 12:47:35 UTC 2009


Plz! Could plz take some minutes to resolve my 'NO_CONTENT_TYPE' problem?
What is NO_CONTENT_TYPE?

I tried to build 2.0rc1 on a RHEL-5.2 box, and take the glusterfs.spec to
build a rpm with a little modification.

[@65.64 glusterfs-2.0.0rc1]# diff -u ../../SPECS/glusterfs-2.spec
glusterfs.spec
--- ../../SPECS/glusterfs-2.spec        2009-02-01 14:11:17.000000000 +0800
+++ glusterfs.spec      2009-02-01 14:11:43.000000000 +0800
@@ -1,7 +1,7 @@
 # if you make changes, the it is advised to increment this number, and
provide 
 # a descriptive suffix to identify who owns or what the change represents
 # e.g. release_version 2.MSW
-%define release_version 1%{dist}
+%define release_version 1
 
 # if you wish to compile an rpm without ibverbs support, compile like
this...
 # rpmbuild -ta glusterfs-2.0.0rc1.tar.gz --without ibverbs
@@ -56,8 +56,8 @@
 # Module needs to be fixed. 
 %if %with_modglfs
 %if %with_apxs_default
-BuildRequires: httpd-devel >= 1.3
-Requires: httpd >= 1.3
+BuildRequires: apache-devel >= 1.3
+Requires: apache >= 1.3
 %endif
 %endif
 BuildRequires: libtool
@@ -66,7 +66,6 @@
 BuildRequires: make
 URL:
ftp://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/glusterfs-2.0.0rc1.tar.
gz
 Source: %name-%version.tar.gz
-NoSource: 0
 
 %description
 GlusterFS is a clustered file-system capable of scaling to several


[@65.64 noos.noarch]# yum list | fgrep httpd | fgrep installed
This system is not registered with RHN.
RHN support will be disabled.
httpd.x86_64                             2.2.3-11.el5_2.4       installed
httpd-devel.i386                         2.2.3-11.el5_2.4       installed
httpd-devel.x86_64                       2.2.3-11.el5_2.4       installed
system-config-httpd.noarch               5:1.3.3.3-1.el5        installed

[@65.64 BUILD]# fgrep -r NO_CONTENT_TYPE /usr/include/
/usr/include/openssl/pkcs7.h:#define PKCS7_R_MIME_NO_CONTENT_TYPE
132
/usr/include/openssl/pkcs7.h:#define PKCS7_R_NO_CONTENT_TYPE
135

-----Original Message-----
From: krishna.zresearch at gmail.com [mailto:krishna.zresearch at gmail.com] On
Behalf Of Krishna Srinivas
Sent: Tuesday, February 03, 2009 8:34 PM
To: Kirby Zhou
Cc: gluster-users at gluster.org
Subject: Re: [Gluster-users] Some question of DHT Translator?

On Tue, Feb 3, 2009 at 5:51 PM, Kirby Zhou <kirbyzhou at sohu-rd.com> wrote:
> Does DHT Translator all files under the same directory will be store on
the
> same node?
>
> It sounds terrible.

It is terrible that way but thats not the way DHT works.

http://www.gluster.org/docs/index.php/Understanding_DHT_Translator
gives little info. You can just experiment and see that DHT
distributes files across nodes even under the same directory.

Krishna






More information about the Gluster-users mailing list