|
|
@@ -40,13 +40,6 @@ def find_file_recursive(desired_glob, root):
|
|
|
return f
|
|
|
|
|
|
|
|
|
-def coerce_umask(umask):
|
|
|
- if len(umask) < 4:
|
|
|
- umask = "1" + umask
|
|
|
-
|
|
|
- return int(umask, 8)
|
|
|
-
|
|
|
-
|
|
|
UPLOAD_CHUNK_SIZE = Config(
|
|
|
key="upload_chunk_size",
|
|
|
help="Size, in bytes, of the 'chunks' Django should store into memory and feed into the handler. Default is 64MB.",
|
|
|
@@ -76,8 +69,6 @@ HDFS_CLUSTERS = UnspecifiedConfigSection(
|
|
|
default=False, type=coerce_bool),
|
|
|
TEMP_DIR=Config("temp_dir", help="HDFS directory for temporary files",
|
|
|
default='/tmp', type=str),
|
|
|
- UMASK=Config("umask", help="Default umask for file and directory creation, specified in an octal value",
|
|
|
- default='022', type=coerce_umask),
|
|
|
HADOOP_CONF_DIR = Config(
|
|
|
key="hadoop_conf_dir",
|
|
|
default=os.environ.get("HADOOP_CONF_DIR", "/etc/hadoop/conf"),
|