[
https://issues.apache.org/jira/browse/SQOOP-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857519#comment-13857519
]
Sean Mackrory commented on SQOOP-1264:
--------------------------------------
+1 (non-committer). This makes it safer in an Apache Bigtop context to run this
script as the "sqoop2" user, since they may not have permission to cd into the
directories of the user invoking the command.
> Sqoop2: Remove unnecessary cd command calls from sqoop.sh
> ---------------------------------------------------------
>
> Key: SQOOP-1264
> URL: https://issues.apache.org/jira/browse/SQOOP-1264
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.3
> Reporter: Jarek Jarcec Cecho
> Assignee: Jarek Jarcec Cecho
> Priority: Minor
> Fix For: 1.99.4
>
> Attachments: SQOOP-1264.patch
>
>
> It seems that we are unnecessary changing directory inside the {{sqoop.sh}}
> script, so that we can work with relative paths. It seems to me that this is
> some sort of heritage from older versions of the script, so I would propose
> to remove the {{cd}} command and work with absolute paths only.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)