[ 
https://issues.apache.org/jira/browse/BIGTOP-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670134#comment-13670134
 ] 

Bruno Mahé commented on BIGTOP-846:
-----------------------------------

For now to fix that jira, can we make the creation of that user optional? Or 
better, make it passed as a parameter? The latest patch does not seem give such 
option.
I don't always want to create a user directory for the user running that 
script. The user running that script may also not always be the one using 
Apache Hadoop (for instance when a vm gets created). So being able to pass the 
user as a parameter would be very nice (ie, creating home dir for various users 
when creating the vm).
 
Also, I am not sure we want to make that directory writable to the group or the 
world by default. 
                
> The helper script introduced in BIGTOP-547 doesn't create /user/$USER 
> directories on HDFS
> -----------------------------------------------------------------------------------------
>
>                 Key: BIGTOP-846
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-846
>             Project: Bigtop
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Mark Grover
>            Assignee: Anatoli Fomenko
>            Priority: Blocker
>             Fix For: 0.6.0
>
>         Attachments: 
> 0001-BIGTOP-846.-The-helper-script-introduced-in-BIGTOP-5.patch, 
> 0001-BIGTOP-846.-The-helper-script-introduced-in-BIGTOP-5.patch, 
> 0001-BIGTOP-846.-The-helper-script-introduced-in-BIGTOP-5.patch
>
>
> For BIGTOP-547, I had done my testing where I running the MR job as root. 
> However, the helper script creates home directory for hard-coded set of users 
> (root, jenkins, etc.) but not for other users. In particular, it doesn't 
> create a directory for the user who is running the command.
> It should do that too (safely, in case the user is root).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to