[ https://issues.apache.org/jira/browse/HADOOP-6869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891429#action_12891429 ]
Konstantin Boudnik commented on HADOOP-6869: -------------------------------------------- In continuation of the comment above: since there's {{getFS()}} method which exposes filesystem API from a particular daemon then creating additional 4 wrappers around the standard API doesn't make much sense to me. These wrappers are too obvious and then will simply crowd Herriot API without adding much value. > [Herriot] Implement a functionality for creating either file or folder in > task attempt folder while job is running. > -------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-6869 > URL: https://issues.apache.org/jira/browse/HADOOP-6869 > Project: Hadoop Common > Issue Type: Task > Components: test > Reporter: Vinay Kumar Thota > Assignee: Vinay Kumar Thota > Attachments: 6869-ydist-security.patch, HADOOP-6869.patch > > > Functionality for creating either files or folders in task attempt folder > while job is running. The functionality covers the following methods. > 1. public void DaemonProtocol.createFile(String path, String fileName, > boolean local) throws IOException; > It uses to create a file with full permissions. > 2. public void DaemonProtocol.createFile(String path, String fileName, > FsPermission permission, boolean local) throws IOException; > It uses to create a file with given permissions. > 3. public void DaemonProtocol.createFolder(String path, String folderName, > boolean local) throws IOException; > It uses to create a file with full permissions. > 4. public void DaemonProtocol.createFolder(String path, String folderName, > FsPermission permission, boolean local) throws IOException; > It uses to create a folder with given permissions. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.