The invention discloses a
big data environment oriented
metadata organization method, which comprises the following steps: a
client-side receives a file creation request from a user, and sends the file creation request to an index
server; and the index
server, according to an absolute path of a to-be-created file in the file creation request, obtains a global ID (Identification) and a distribution code
list of a parent
directory of the corresponding file, obtains a key value right key according to the global ID of the parent
directory and a filename of the to-be-created file, saves file index information of the to-be-created file according to the key, and obtains a distribution code which is used for storing
metadata, wherein if the distribution code is newly added or more than one distribution code exists in the distribution code
list of the parent
directory, a
bloom filter and the global ID of the file are used for updating a
bitmap of the distribution codes. According to the method and the
system disclosed by the invention, the technical problem that the existing method, in order to guarantee the
locality of reference of the
metadata, has unbalanced load in large directory metadata centralized storage can be solved.