Thejas M Nair created HIVE-7719:
-----------------------------------

             Summary: use FileSystem.set* api instead of FsShell.run
                 Key: HIVE-7719
                 URL: https://issues.apache.org/jira/browse/HIVE-7719
             Project: Hive
          Issue Type: Bug
          Components: Logging, Security
            Reporter: Thejas M Nair


FsShell.run logs error in stderr and writes to log file at DEBUG level.
This means that in most cases the error won't be seen in the hive log file.
This is used in several places where file permissions are changed for 
supporting the hive.warehouse.subdir.inherit.perms=true behavior.

We should switch to using FileSystem.set* commands instead. But in some cases 
additional changes would be needed to recursively change the permissions.





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to