FAQ
Hi,

Wondering if anyone has bumped into this and already solved it...

The default fs.permissions.umask-mode is 022 but we have a need to make
this less restrictive so that groups can write by default...

However putting 002 (or 0002 or 00002 in case of needing a leading zero)
results ing SCM having 02 in the generated hive-site.xml that then gets
used by the namenode...

This then causes the namenode not to start due to an invalid number...

Any ideas?

James

Search Discussions

  • bc Wong at Nov 6, 2012 at 4:33 pm

    On Tue, Nov 6, 2012 at 7:39 AM, James Hogarth wrote:

    Hi,

    Wondering if anyone has bumped into this and already solved it...

    The default fs.permissions.umask-mode is 022 but we have a need to make
    this less restrictive so that groups can write by default...

    However putting 002 (or 0002 or 00002 in case of needing a leading zero)
    results ing SCM having 02 in the generated hive-site.xml that then gets
    used by the namenode...

    This then causes the namenode not to start due to an invalid number...
    That's a bug that we're fixing in the next update. For now, you can leave
    the configuration at 022, and use the HDFS Client Safety Valve to put in:

    <property>
    <name>fs.permissions.umask-mode</name>
    <value>002</value>
    </property>

    Cheers,
    bc
  • James Hogarth at Nov 6, 2012 at 4:41 pm

    That's a bug that we're fixing in the next update. For now, you can leave
    the configuration at 022, and use the HDFS Client Safety Valve to put in:

    <property>
    <name>fs.permissions.umask-mode</name>
    <value>002</value>
    </property>

    Awesome - thanks for the fast response...

    I'll do as suggested until the next release then.

    Cheers,

    James

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedNov 6, '12 at 3:47p
activeNov 6, '12 at 4:41p
posts3
users2
websitecloudera.com
irc#hadoop

2 users in discussion

James Hogarth: 2 posts bc Wong: 1 post

People

Translate

site design / logo © 2022 Grokbase