Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5746

"hive.files.umask.value" is not work

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      hive 0.12.0,hadoop 2.0.3

    • Release Note:
      Hide
      it resolved by writing:
              <property>
                      <name>fs.permissions.umask-mode</name>
                      <value>077</value>
              </property>
      in hive-site.xml
      Show
      it resolved by writing:         <property>                 <name>fs.permissions.umask-mode</name>                 <value>077</value>         </property> in hive-site.xml

      Description

      my "hive-site.xml" contents:
      <property>
      <name>hive.warehouse.subdir.inherit.perms</name>
      <value>false</value>
      </property>
      <property>
      <name>hive.files.umask.value</name>
      <value>0077</value>
      </property>

      but the folder that hive create has permisson 755.

      PS: hadoop "core-site.xml" has :
      <property>
      <name>fs.permissions.umask-mode</name>
      <value>077</value>
      </property>

      and when i create folder using "hdfs dfs -mkdir XXX",the permission of folder is right (700).

      so is it a bug ? or i missed something

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              omicronAK seekerak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: